Thanks Ewen for the reply.
tested as
curl -X POST -H "Content-Type: application/vnd.kafka.json.v1+json" \
--data '{ "records": [{"value": {"id": 1,"name": "A green
door","price": 12.50,"tags": ["home", "green"]}}]}'
"
http://localhost:8082/topics/logstash_logs_test"
It is working well.
Got reply as
{"offsets":[{"partition":0,"offset":49,"error_code":null,"error":null}],"key_schema_id":null,"value_schema_id":null}[2016-06-14
19:15:35,980] INFO 127.0.0.1 - - [14/Jun/2016:19:15:35 +0000] "POST
/topics/logstash_logs_test HTTP/1.1" 200 116 8
(io.confluent.rest-utils.requests:77)