Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> console producer question


Copy link to this message
-
Re: console producer question
Hey Ian,

this is where a tool like kafkacat comes in handy, it will use a random
partitioner by default (without the need for defining a key):

  tail -f /my/log | kafkacat -b mybroker -t mytopic

See
https://github.com/edenhill/kafkacat

2014-04-10 6:13 GMT+07:00 Ian Friedman <[EMAIL PROTECTED]>: