Kafka, mail # user - Re: Getting my Kafka code example working out of the box - 2013-11-08, 01:51
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Re: Getting my Kafka code example working out of the box
It might be you are starting a consumer after the messages are produced and
since your consumer is starting for the first time when it registers with
ZK you won't see messages since the default is to start at the largest
offset.

so, try starting ZK, the broker and your consumer and then start up the
producer and send messages (or set auto.offset.reset to smallest
http://kafka.apache.org/documentation.html#consumerconfigs) that "might" be
the issue.

On a related note, I have a client that I have been working with on this
exact same type of scenario and the solution I am providing is based on
vagrant and puppet so with a single command then can enter the VM all ready
to go and up and running and they are good to go with their development.
 Once that is done and good to go I should be able to open source and
contribute it back into the project (if folks want) as a Vagrantfile for
Kafka so folks can "vagrant up" and get going (let me know).
On Thu, Nov 7, 2013 at 8:35 PM, S L <[EMAIL PROTECTED]> wrote:
 
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