Hello,
We started seeing below error in the application logs(kafka-streams - v2.0.0) and since then not able to connect to the broker for consumption
ERROR [com.streams-18347f2b-69c8d4b59eb7-StreamThread-1] [Consumer clientId=com.streams-18347f2b-69c8d4b59eb7-StreamThread-1-consumer, groupId=com.streams] Offset commit failed on partition test-stream-topic-w-3 at offset 111224: The coordinator is not available. (org.apache.kafka.clients.consumer.internals.ConsumerCoordinator)` When verified in the broker logs, following things have been observed : **1>** ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-29 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-0 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-18 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-18 (kafka.server.ReplicaManager)
…
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-44 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-44 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-19 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-26 (kafka.server.ReplicaManager)
ERROR [ReplicaManager broker=2] Error processing append operation on partition __consumer_offsets-26 (kafka.server.ReplicaManager) **2>** INFO [Partition test-stream-topic-w-3 broker=1] *Shrinking ISR from 1,9,10 to 1* . Leader: (highWatermark: 120324, endOffset: 120326). Out of sync replicas: (brokerId: 9, endOffset: 111222) (brokerId: 10, endOffset: 111224). (kafka.cluster.Partition) --
(observed lot of shrinking is happening on __consumer_offsets topic)
INFO [Partition test-stream-topic-w-3 broker=1] ISR updated to [1] and zkVersion updated to [535] (kafka.cluster.Partition)
**ERROR** [ReplicaManager broker=1] Error processing append operation on partition test-stream-topic-w-3 (kafka.server.ReplicaManager)
org.apache.kafka.common.errors. **NotEnoughReplicasException** : The size of the current ISR Set(1) is insufficient to satisfy the min.isr requirement of 2 for partition test-stream-topic-w-3
We’re using confluent v5.5.2
replication-factor on topic is 3
Server.properties :
default.replication.factor=3
min.insync.replicas=2
offsets.topic.replication.factor=3
replica.lag.time.max.ms=10000
replica.fetch.wait.max.ms=5000
And we’re running a cluster of 7 brokers with 3 zk
Does anyone faced this kind of issue?
Thanks