Admittedly I am new to Kafka, but I have a 6 broker cluster up and working. I have mutliple topics and have written a channel based producer which is working great. The yahoo kafka manager is showing the partitions being filled etc.
However, anytime I try to consume these topics nothing I do seems to work. I have even used both the example code untouched, and the producer says it delivered to topix X with offset Y. However having the consumer example running on the same topic, nothing shows up.
Run both producer channel and consumer channel example code, untouched.
Please provide the following information:
LibraryVersion()):ConfigMap{...}"debug": ".." as necessary)Failed to create consumer: Invalid value for configuration property "debug"Turns out my __consumer_offsets replication was set to 1, and my min.insync.replicas was set to 2. Which means it would never start the group. Fixing that fixed the issue.
[2017-12-23 00:30:22,789] ERROR [ReplicaManager broker=0] Error processing append operation on partition __consumer_offsets-49 (kafka.server.ReplicaManager)
org.apache.kafka.common.errors.NotEnoughReplicasException: Number of insync replicas for partition __consumer_offsets-49 is [1], below required minimum [2]
This is the message incase someone ends up searching google for this error.
@qrpike I in fact googled this error and your solution fixed my problem, so thank you!
Most helpful comment
[2017-12-23 00:30:22,789] ERROR [ReplicaManager broker=0] Error processing append operation on partition __consumer_offsets-49 (kafka.server.ReplicaManager) org.apache.kafka.common.errors.NotEnoughReplicasException: Number of insync replicas for partition __consumer_offsets-49 is [1], below required minimum [2]This is the message incase someone ends up searching google for this error.