You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Fátima Galera (Jira)" <ji...@apache.org> on 2021/09/03 15:38:00 UTC

[jira] [Created] (KAFKA-13271) Error while fetching metadata with correlation id 219783 : LEADER_NOT_AVAILABLE

Fátima Galera created KAFKA-13271:
-------------------------------------

             Summary: Error while fetching metadata with correlation id 219783 : LEADER_NOT_AVAILABLE
                 Key: KAFKA-13271
                 URL: https://issues.apache.org/jira/browse/KAFKA-13271
             Project: Kafka
          Issue Type: Bug
          Components: producer 
    Affects Versions: 2.2.2
         Environment: Production environment
            Reporter: Fátima Galera
             Fix For: 2.2.3


Hi dear kafka support

 

We are getting below error after a new connector creation

 

[2021-09-02 19:15:23,878] WARN [Producer clientId=producer-178] Error while fetching metadata with correlation id 219783 : \{ tkr_prd2.tkr.glrep_file2=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
[2021-09-02 19:15:23,982] WARN [Producer clientId=producer-178] Error while fetching metadata with correlation id 219784 : \{ tkr_prd2.tkr.glrep_file2=LEADER_NOT_AVAILABLE} (org.apache.kafka.clients.NetworkClient)
[2021-09-02 19:15:24,095] ERROR WorkerSourceTask\{id=tkr_prd2-0} failed to send record to tkr_prd2.tkr.glrep_file2: {} (org.a pache.kafka.connect.runtime.WorkerSourceTask)
[2021-09-02 19:15:24,149] ERROR WorkerSourceTask\{id=tkr_prd2-0} failed to send record to tkr_prd2.tkr.glrep_file2: {} (org.a pache.kafka.connect.runtime.WorkerSourceTask)

 

We are not able to get the offset of this topic. We already changed from 

 {{listeners=PLAINTEXT://hostname:9092 to }}{{listeners=PLAINTEXT://localhost:9092}}{{}} 

in /etc/kafka/server.properties file and restarted kafka services. But if we use this new value kafka connector service is not able to start because it is not able to find the services with the IP of the host. Could you please let us know what can we do? We already created the connector several times using different names

 

https://stackoverflow.com/questions/35788697/leader-not-available-kafka-in-console-producer

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)