kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Withers, Robert" <Robert.With...@dish.com>
Subject RE: LeaderNotAvailableException: reventing the running of kafka-console-producer.bat
Date Fri, 05 Apr 2013 15:50:00 GMT
Yes, it happens on every message.  I ran the zookeeper, server, console-producer against --broker-list
localhost:9092 --topic test, then shut everything down and restarted the zookeeper and server
and ran the console-consumer --zookeeper localhost:2181 --topic test and both the server console
and consumer console reported WARNs of LeaderNotAvailableException.

Since they were WARNs, would that mean that a message got produced and then consumed?

Thanks,
Rob



-----Original Message-----
From: Jun Rao [mailto:junrao@gmail.com] 
Sent: Thursday, April 04, 2013 10:03 PM
To: users@kafka.apache.org
Subject: Re: LeaderNotAvailableException: reventing the running of kafka-console-producer.bat

This can happen on the first message in a new topic. Do you see the exception on posting every
message? Also, run kafka-console-consumer to see if you can see the message.

Thanks,

Jun


On Thu, Apr 4, 2013 at 1:37 PM, Withers, Robert <Robert.Withers@dish.com>wrote:

> I am brand new to exploration into kafka, for work.  Any help is much 
> appreciated.
>
> A co-worker built and updated a package for us to use on windows.  I have
> no idea what version it is.  We cannot update through our firewall.  :(   I
> am able to start the zookeeper and a kafka server, but when I run the 
> kafka-console-producer.bat file and enter a "hello world" input to 
> post to the broker, the broker throws the LeaderNotAvailableException.
>
> Thanks for any assistance.
> Rob
>
>

Mime
View raw message