Closed Joseph94m closed 3 years ago
There is no Kafka 2.7.0 release yet: http://kafka.apache.org/downloads ... the release is still work in progress. Even after it is released, support needs to be first added to Strimzi. It will be supported in the next Strimzi release after the KAfka release. But since it is not clear when it will be released (Kafka releases often go through several RCs to ensure the high quality etc.), I do not dare to speculate.
Does 0.21.1
with KafkaMirrorMaker2 CRD @ 2.7.0 support sync.group.offsets.enabled: true
?
I tried adding it to the checkpointConnector config and the flag seems to get set in the logs, but I'm not seeing any groups in my target cluster even though the checkpoints.internal
topic is receiving messages.
mirrors:
- checkpointConnector:
config:
checkpoints.topic.segment.bytes: 1073742
sync.group.offsets.enabled: true
tasksMax: 3
The config section is just a map which is passed to the connector as is. There is no special support for it, but I don't think it should be needed.
FYI: It worked fine for me in 0.21.1:
checkpointConnector:
config:
sync.group.offsets.enabled: true
The timeouts area bit tricky ... the defaults are 10 minutes to discover new topic / consumer group and the syncing is by default done only once per minute or two. So they make it hard to test sometimes. SO for testing I actually made them much shorter:
checkpointConnector:
config:
refresh.groups.interval.seconds: 60
sync.group.offsets.enabled: true
sync.group.offsets.interval.seconds: 1
emit.checkpoints.interval.seconds: 1
Just want to share, don't forget to commit.close() consumer before move to another cluster because it will take offset auto commit before it. I just got this experience and after I put commit.close() in old cluster, new consumer will consume last offset from old consumer.
Anyway, it was occured when we consumer huge messages in simultaneous
Hey! Apparently kafkaMirrormaker2 v2.7.0 was set to be released last Friday (November 6).
IMO this release is extremely important as it allows the replication of group offsets (something that wasn't possible pre 2.7.0 unless you compiled the trunk which can be quite messy and i can attest to that)
Today i've tried setting the version of my KafkaMirrorMaker2 CRD to 2.7.0 and deployed it on my target cluster.
I am using v0.20.0 for strimzi and co:
Strimzi-cluster-operator seems to be struggling with that and claims that 2.7.0 isn't in the list of supported versions.
Any ideas on when we might be able to use 2.7.0 with strimzi-kafka-operator?
Cheers