Hello, I have encountered a issue.Need your help check that.Thanks.

Problem description:

 When the number of @ KafkaListeners in my SpringBoot code reaches a certain 
level, the issue of rebarace will continue to occur

Error log:
2024-08-30 08:35:14.507  INFO 5000 --- [tainer#27-0-C-1] 
o.a.k.c.c.internals.AbstractCoordinator  : [Consumer 
clientId=consumer-kafka-group-9, groupId=kafka-group] Join group failed with 
org.apache.kafka.common.errors.RebalanceInProgressException: The group is 
rebalancing, so a rejoin is needed.
2024-08-30 08:35:10.070  INFO 5000 --- [tainer#33-0-C-1] 
o.a.k.c.c.internals.AbstractCoordinator  : [Consumer 
clientId=consumer-kafka-group-15, groupId=kafka-group] Join group failed with 
org.apache.kafka.common.errors.RebalanceInProgressException: The group is 
rebalancing, so a rejoin is needed.
2024-08-30 08:35:15.820  INFO 5000 --- [tainer#33-0-C-1] 
o.a.k.c.c.internals.AbstractCoordinator  : [Consumer 
clientId=consumer-kafka-group-15, groupId=kafka-group] (Re-)joining group
2024-08-30 08:35:10.070  INFO 5000 --- [tainer#29-0-C-1] 
o.a.k.c.c.internals.AbstractCoordinator  : [Consumer 
clientId=consumer-kafka-group-3, groupId=kafka-group] Join group failed with 
org.apache.kafka.common.errors.RebalanceInProgressException: The group is 
rebalancing, so a rejoin is needed.
2024-08-30 08:35:10.070  INFO 5000 --- [tainer#44-0-C-1] 
o.a.k.c.c.internals.AbstractCoordinator  : [Consumer 
clientId=consumer-kafka-group-31, groupId=kafka-group] Join group failed with 
org.apache.kafka.common.errors.RebalanceInProgressException: The group is 
rebalancing, so a rejoin is needed.
2024-08-30 08:35:17.179  INFO 5000 --- [tainer#44-0-C-1] 
o.a.k.c.c.internals.AbstractCoordinator  : [Consumer 
clientId=consumer-kafka-group-31, groupId=kafka-group] (Re-)joining group


Code:
Java

application.yml


Thanks

Reply via email to