Vasudevan Seshadri created KAFKA-7329:
-----------------------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to