Sign inSign up

smurugadass1309/kafka-tools

By smurugadass1309

•Updated almost 5 years ago

This tool is to connect any kafka using the host and port

Image
0

147

smurugadass1309/kafka-tools repository overview

Please use the below after you deploy this image on your local to connect kafka

for producer :

curl -X POST
http://localhost:3000/kafka/producer⁠ \ -H 'cache-control: no-cache' \ -H 'content-type: application/json'
-d '{"host":":", "topic":"test-kafka-topic", "key":{"test":"wytd"}, "value":{"test":"wytd"}, "headers":{"test":"wytd"} }'

for Topic List:

curl -X POST
http://localhost:3000/kafka/topiclist⁠
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-d '{"host":":" }'

for Consumer:

curl -X POST
http://localhost:3000/kafka/consumer⁠
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-d '{"host":":", "topic":"test-kafka-topic" }'

if any query please send it here [email protected]⁠

Please use the below after you deploy this image on your local to connect kafka

for producer :

curl -X POST
http://localhost:3000/kafka/producer⁠
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-d '{"host":":", "topic":"test-kafka-topic", "key":{"test":"wytd"}, "value":{"test":"wytd"}, "headers":{"test":"wytd"} }'

for Topic List:

curl -X POST
http://localhost:3000/kafka/topiclist⁠
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-d '{"host":":" }'

for Consumer:

curl -X POST
http://localhost:3000/kafka/consumer⁠
-H 'cache-control: no-cache'
-H 'content-type: application/json'
-d '{"host":":", "topic":"test-kafka-topic" }'

if any query please send it here [email protected]⁠

Tag summary

Content type

Image

Digest

Size

431.6 MB

Last updated

almost 5 years ago

docker pull smurugadass1309/kafka-tools:1.1