Sathish Yanamala created KAFKA-7507:
---------------------------------------

             Summary: Kafka Topics Error : "NotLeaderForPartitionException: 
This server is not the leader for that topic-partition"
                 Key: KAFKA-7507
                 URL: https://issues.apache.org/jira/browse/KAFKA-7507
             Project: Kafka
          Issue Type: Bug
            Reporter: Sathish Yanamala


Hello Team,

We are facing below Error on existing application , We have this error first 
time in our application.

Please suggest , Is there any configuration changes required on below issue, I 
just reviewed some of JIRA story’s related to below.

We running our Environment with 5 Brokers and each topic we are following as 
replication -3 and partitions – 6 forall our topics and we have Zookeeper 
Environment .  

 

 +*Error Log :*+

2018-10-15 03:42:16,596 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
__consumer_offsets-41 to broker 
1:{color:#d04437}org.apache.kafka.common.errors.NotLeaderForPartitionException: 
This server is not the leader for that topic-partition{color}.

2018-10-15 03:42:16,606 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CSL_SUR_DL_LXNX-3 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,608 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
CSL_SUR_DL_SOC_EAS-4 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,609 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
__consumer_offsets-26 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,613 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
EDL_Datashare_Genesys_Request-3 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,613 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CSL_TRANSMIT_Data-3 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,613 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CHR_ResOrch_03-0 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,616 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
CSL_SUR_LXNX_REQUEST-4 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,616 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
EDL_Datashare_JCP_GPAs-4 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,617 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CHR_ResOrch_03-5 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,619 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CHR_ResOrch-0 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,621 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
__consumer_offsets-21 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,623 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CHR_ResOrch_05-3 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,624 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
CHR_DataCompOrch-5 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,626 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CSL_MLMI_Error-1 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,627 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CSL_SUR_EXP_FPD_REQUEST-4 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,632 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
__consumer_offsets-11 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,635 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
dapply_payfoneGetAuth-1 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,635 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CSL_LX_NX_DATA-3 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,639 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CHR_ResOrch_01-2 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,640 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CSL_Genasys_Request-2 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,642 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
dapply_payfoneGetAuthUrl-4 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,643 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
__consumer_offsets-6 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,649 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CHR_ResOrch_04-1 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,650 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CHR_ResOrch-4 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,651 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CHR_DataCompOrch-0 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,652 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
__consumer_offsets-31 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,655 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
__consumer_offsets-46 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,657 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
dapply_payfoneIdentity-4 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,659 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
dapply_payfoneGetAuthPath-1 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,663 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
EDL_Datashare_FarePortal_GPAs-5 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,664 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CSL_PF_VERIFY-1 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,666 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
dapply_payfoneEligibility-2 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,669 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CSL_SUR_DL_EXP_FPD-4 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,672 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CSL_DL_EXP_FPD-4 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,678 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CSL_SUR_SOC_EAS_REQUEST-3 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,678 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CHR_ResOrch_02-5 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,680 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
__consumer_offsets-36 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,682 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
CSL_PF_TRUST_SCORE-2 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,685 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
CHR_GenOrch-4 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,686 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CHR_ResOrch_06-1 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,686 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CSL_SUR_REQUEST-0 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,689 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=4, fetcherId=0] Error for partition 
CSL_SUR_REQUEST-5 to broker 
4:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,691 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=1, fetcherId=0] Error for partition 
__consumer_offsets-1 to broker 
1:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,693 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=5, fetcherId=0] Error for partition 
__consumer_offsets-16 to broker 
5:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.

2018-10-15 03:42:16,695 ERROR kafka.server.ReplicaFetcherThread: 
[ReplicaFetcher replicaId=2, leaderId=3, fetcherId=0] Error for partition 
CSL_MLMI_Output-1 to broker 
3:org.apache.kafka.common.errors.NotLeaderForPartitionException: This server is 
not the leader for that topic-partition.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to