Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

send json file to kafka topic

bin/kafka-console-producer.sh --broker-list localhost:9092 --topic user-timeline < samplerecords.json
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #json #file #kafka #topic
ADD COMMENT
Topic
Name
5+5 =