Open kscooo opened 2 years ago
New discovery: Observed that the groupID created by NewConsumerGroup is not found by ListGroups after some time(few min).
Hello @kscooo
We might need a few more details to understand whether the issue comes from kafka-go or MSK. The issue you describe resembles some kind of mismatch between the client and server hearbeat interval, if the client doesn't send heartbeats often enough the server may assume that the consumer group is inactive and delete it.
msk config
auto.create.topics.enable=false default.replication.factor=3 min.insync.replicas=2 num.io.threads=8 num.network.threads=5 num.partitions=1 num.replica.fetchers=2 replica.lag.time.max.ms=30000 socket.receive.buffer.bytes=102400 socket.request.max.bytes=104857600 socket.send.buffer.bytes=102400 unclean.leader.election.enable=true zookeeper.session.timeout.ms=18000
When I shut down the consumers run, after a while, the ListGroups
can't look up the consumers groupID, cloudwatch always can't create the groupid
After closing the single reader, the groupid still exists and so does cloudwatch.
topic always exist
Thanks for the extra information.
Do you know the value of offset.retention.minutes in your server?
RetentionTime
in ReaderConfig
and ConsumerGroupConfig
use the library's default settings
ConsumerGroupConfig
is set to 24 hours * 7, but it's the same as before
Hello @kscooo
I wanted to check if you had updates to share on this issue?
@achille-roussel Not for the time being, I follow up because of other things to give up the tracking
Hello @kscooo!
Do you know if you are still experiencing this issue?
Describe the bug
Kafka Version
To Reproduce
Expected Behavior
Observed Behavior
Additional Context