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:04:19 GMT
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, 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.

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