Skip to content
Charlie edited this page May 4, 2020 · 7 revisions

Useful Commands

Produce Messages with Keys

./kafka-console-producer.sh --broker-list localhost:9092 \
  --topic my_topic \
  --property "parse.key=true" --property "key.separator=:" < input.txt
Clone this wiki locally