kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Rosenberg <...@squareup.com>
Subject Re: HL publishing, retries and potential race condition
Date Sun, 16 Nov 2014 17:17:30 GMT
This has apparently been fixed in 0.8.2:
https://issues.apache.org/jira/browse/KAFKA-899

On Mon, Oct 6, 2014 at 3:02 PM, Jun Rao <junrao@gmail.com> wrote:

> Yes, transient error like LeaderNotAvailableException can happen. If you
> configure enough retries, then you shouldn't see the exception in the
> normal case.
>
> Thanks,
>
> Jun
>
> On Mon, Oct 6, 2014 at 5:35 AM, Stevo Slavić <sslavic@gmail.com> wrote:
>
> > Hello Apache Kafka community,
> >
> > When trying to publish (using high level sync producer) a message on a
> > non-existing topic (with implicit topic creation enabled), with
> > message.send.max.retries set to 1, sending will fail with
> > FailedToSendMessageException (and LeaderNotAvailableException swallowed).
> >
> > Am I doing something wrong, are my expectations wrong that this should
> work
> > without exception thrown, or is this a known Kafka (with ZooKeeper as
> > storage) issue?
> >
> > I'm using Kafka 0.8.1.1.
> >
> > Kind regards,
> > Stevo Slavic.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message