Created
March 12, 2020 09:57
-
-
Save mduhan/9f2d4d3b7951e12d370d761427a214dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start string producer with below command | |
kafka-console-producer.bat \ --broker-list broker-host:9091 --topic test --property "parse.key=true" --property "key.separator=:" | |
It will start producer and we can type message as below (key:value) | |
1:{ "PROGRAM_NAME": "NDTV", "ORIGINATOR": "JADE_FEVER", "channel": "CTV Drama+","weekday": "Monday", "DATE": "9/28/2018", "START_TIME": "17:30:00"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment