kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Re: New async producer NetworkClient endlessly trying to fetch metadata for deleted topics
Date Fri, 01 Apr 2016 16:32:34 GMT
Thanks for sharing Ismael!

On Fri, Apr 1, 2016 at 6:24 PM, Ismael Juma <ismael@juma.me.uk> wrote:

> See:
>
> https://github.com/apache/kafka/pull/645
> https://github.com/apache/kafka/pull/735
>
> Ismael
>
> On Fri, Apr 1, 2016 at 5:04 PM, Stevo Slavić <sslavic@gmail.com> wrote:
>
> > Correction, it's much more often logging these warnings - every 100ms.
> > Current workaround is to regularly deploy fresh instance of app using
> > KafkaProducer, or recreate KafkaProducer instances, so that cache of
> > topics/partitions in it gets invalidated, cleared from deleted topics.
> >
> > On Fri, Apr 1, 2016 at 5:52 PM, Stevo Slavić <sslavic@gmail.com> wrote:
> >
> > > Hello Apache Kafka community,
> > >
> > > With kafka-clients 0.9.0.1, async producer doesn't seem to handle
> deleted
> > > topics well.
> > >
> > > If I create a topic, publish few messages to it, and delete it,
> > > KafkaProducer instance and underlying NetworkClient which was used to
> > > publish to that topic, will endlessly every 10 seconds log warnings
> that
> > it
> > > cannot fetch metadata for partitions of deleted topics.
> > >
> > > I searched in JIRA but couldn't find related ticket. Is this a known
> > issue?
> > >
> > > Kind regards,
> > > Stevo Slavic.
> > >
> >
>

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