[ https://issues.apache.org/jira/browse/KAFKA-7329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17229373#comment-17229373 ]
Tomislav Rajakovic commented on KAFKA-7329: ------------------------------------------- Is there any reason why is this? Running kafka 2.6.0 (i docker/k8s), and still seeing endless logs when querying non-existing topic with java kafka drivers 2.6.0. > Continuous warning message of LEADER_NOT_AVAILABLE > -------------------------------------------------- > > Key: KAFKA-7329 > URL: https://issues.apache.org/jira/browse/KAFKA-7329 > Project: Kafka > Issue Type: Bug > Components: consumer, producer > Affects Versions: 2.0.0 > Environment: macOS - High Sierra; Java 1.8 > Reporter: Vasudevan Seshadri > Priority: Major > > I am running kafka version kafka_2.11-2.0.0. I have followed the instruction > mentioned in quick start and was able to run zookeeper and server (broker > with id=0) without any issues. Note: I have NOT changed any config file > entries. Everything is same as downloaded by zip file > I also have created two topics as "test" and "topic_test" > Issue: Whenever I run producer or consumer and try to publish or consume on > any of the above topics, following error is thrown continuously/non-stop: > [2018-08-22 22:36:34,380] WARN [Producer clientId=console-producer] Error > while fetching metadata with correlation id 1 : > \{topic_test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient) > [2018-08-22 22:36:34,474] WARN [Producer clientId=console-producer] Error > while fetching metadata with correlation id 2 : > \{topic_test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient) > [2018-08-22 22:36:34,579] WARN [Producer clientId=console-producer] Error > while fetching metadata with correlation id 3 : > \{topic_test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient) > [2018-08-22 22:36:34,685] WARN [Producer clientId=console-producer] Error > while fetching metadata with correlation id 4 : > \{topic_test=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient) > Am I missing any settings? -- This message was sent by Atlassian Jira (v8.3.4#803005)