Post HTTP requests to locally running Kafka setup up using Confluent Platform QuickStart

850 views
Skip to first unread message

Michael Richardson

unread,
Jun 16, 2016, 11:48:14 AM6/16/16
to Confluent Platform
Hi, 

I'm just starting out with Kakfa and Confluent Platform. I have followed the Confluent Platform Quickstart. I have worked out how to post my large avro schema to the registry using http://localhost:8081/subjects/my-topic/versions 

I am failing to setup the kafka-avro-console-producer and I think this may be due to the size of my avro schema (over 6000 characters). The avro is valid as I've tested it. 

The error from kafka-avro-console-producer is: 
        Invalid command line properties: schema.registry.url=http://localhost:8081 value.schema={  \"type\": \"record\",  \"name\": \"MyTest\"....

Is there a way that I can post test AVRO JSON requests to the locally running kafka instance using HTTP requests (through postman) without having to use kafka-avro-console-producer? 

Thanks, 

Michael 

Michael Richardson

unread,
Jun 17, 2016, 5:43:52 AM6/17/16
to Confluent Platform
Reply all
Reply to author
Forward
0 new messages