kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: LeaderNotAvailableException: reventing the running of kafka-console-producer.bat
Date Fri, 05 Apr 2013 16:01:53 GMT
If this happens on every message, it indicates a problem. Could you wipe
out all ZK and Kafka data and try it again? If it still doesn't work, could
you try the latest revision in the 0.8 branch?

Thanks,

Jun


On Fri, Apr 5, 2013 at 8:50 AM, Withers, Robert <Robert.Withers@dish.com>wrote:

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message