Failed to find coordinator (Kafka::Error) ./features/lib/uevents/kafka_consumer.rb:33:in `block in initialize'
Created on 05-21-2018 04:28 PM - edited 09-16-2022 06:15 AM
Hi,
Has anyone seen this error please let me know.
2018-05-21 22:56:20,126 INFO adPoolTaskExecutor-1 s.consumer.internals.AbstractCoordinator - Discovered coordinator ss879.xxx.xxx.xxx.com:9092 (id: 2144756551 rack: null) for group prod-abc-events.
2018-05-21 22:56:20,126 INFO adPoolTaskExecutor-1 s.consumer.internals.AbstractCoordinator - (Re-)joining group prod-abc-events
2018-05-21 22:56:20,126 INFO adPoolTaskExecutor-1 s.consumer.internals.AbstractCoordinator - Marking the coordinator ss879.xxx.xxx.xxx.com:9092 (id: 2144756551 rack: null) dead for group prod-abc-events
Created 05-29-2018 06:01 AM
we have fixed this issue.
Created 10-23-2018 10:31 AM
Failed to find coordinator (Kafka::Error) ./features/lib/uevents/kafka_consumer.rb:33:in `block in initialize'
Created 11-14-2018 09:04 PM
I am happy you fixed the issue, but next time you might consider writing some details about how you get out of that trouble situation as others might be in same situation as well 🙂
Created on 11-16-2018 07:25 AM - edited 11-16-2018 07:28 AM
This was an issue with that consumer group in __consumer_offsets adn these were the steps we did to fix this issue
On a single broker run the below
1) find /kafka/data -name "*.log" | grep -i consumer | awk '{a=$1;b="kafka-run-class kafka.tools.DumpLogSegments --deep-iteration --print-data-log -files "a; print b}'
Now run each and every command on xxxx broker to see which log file has consumer group "prod-abc-events"
2) kafka-run-class kafka.tools.DumpLogSegments --deep-iteration --print-data-log -files /kafka/data/sdc/__consumer_offsets-24/00000000000000000000.log | grep -i 'prod-abc-events
Do steps above on all the brokers and make a list of all the files that have 'prod-abc-events' . In our instance we found 3 files that refrenced this group "prod-abc-events'