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ć <ssla...@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. >