laravel-kafka
laravel-kafka copied to clipboard
Error "Specified group generation id is not valid" during consumption
Hi there,
We quite often experience the error "Specified group generation id is not valid" when consuming messages for some of our topics:
{"throwable":{"file":"/app/vendor/mateusjunges/laravel-kafka/src/Commit/KafkaCommitter.php:20","code":22,"message":"Broker: Specified group generation id is not valid","class":"RdKafka\\Exception"}}
Unfortunately, this causes the consumer to break/fail. We fiddled around with the heartbeat and timeout settings as suggested here. Sadly, it doesn't solve the issue.
Question: Is it possible for the consumer to rejoin the group automatically? If not, any other solution than recreating the consumer?
Thx a lot for your advice!