Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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]>:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB