Re: simple producer (kafka 0.7.2) exception

2013-04-08 Thread Jun Rao
Yes, Kafka broker writes data to disk. There is a time-based and size-based retention policy that determine how long the data are kept. Thanks, Jun On Mon, Apr 8, 2013 at 3:23 AM, Oleg Ruchovets wrote: > Yes , I resolve this by changing a configuration path in zookeeper > properties dataDir=/

Re: simple producer (kafka 0.7.2) exception

2013-04-08 Thread Oleg Ruchovets
Yes , I resolve this by changing a configuration path in zookeeper properties dataDir=/tmp/zookeeper. I made scala code debug and got that I have cuple of topics from previous executions. One of the topic cause the exception. By the way : do I understand correct that kafka serialize the data on

Re: simple producer (kafka 0.7.2) exception

2013-04-07 Thread Swapnil Ghike
Was a kafka broker running when your producer got this exception? Thanks, Swapnil On 4/7/13 3:15 AM, "Oleg Ruchovets" wrote: >try to execute kafka 0.7.2 and got such exception: > > >log4j:WARN No appenders could be found for logger >(org.I0Itec.zkclient.ZkConnection). >log4j:WARN Please initial

simple producer (kafka 0.7.2) exception

2013-04-07 Thread Oleg Ruchovets
try to execute kafka 0.7.2 and got such exception: log4j:WARN No appenders could be found for logger (org.I0Itec.zkclient.ZkConnection). log4j:WARN Please initialize the log4j system properly. Exception in thread "main" java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.