Kafka - This server is not the leader for that topic-partition
问题 I have two broker kafka 0.10.2.0 cluster.Replication factor is 2. I am running 1.0.0 kafka stream application against this Kafka. In my kafka stream application, producer config has retries = 10 and retry.backoff.ms = 100 After running few minutes, I observed following logs in Kakfa server.log. Due to this Kafka stream application is throwing 'NOT_LEADER_FOR_PARTITION' exception. What may be the possible reason? Please help me. [2017-12-12 10:26:02,583] ERROR [ReplicaFetcherThread-0-1], Error