You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Justinwins (Jira)" <ji...@apache.org> on 2022/07/05 09:07:00 UTC

[jira] [Created] (KAFKA-14046) Improve kafka doc about "emit.checkpoints.interval.seconds" description,together with "sync.group.offsets.interval.seconds"

Justinwins created KAFKA-14046:
----------------------------------

             Summary: Improve kafka doc about "emit.checkpoints.interval.seconds" description,together with "sync.group.offsets.interval.seconds"
                 Key: KAFKA-14046
                 URL: https://issues.apache.org/jira/browse/KAFKA-14046
             Project: Kafka
          Issue Type: Task
            Reporter: Justinwins
         Attachments: image-2022-07-05-17-06-02-384.png

The MirrorCheckpointTask thread will block for "emit.checkpoints.interval.seconds"
before it re-caculates group offsets to sync. You can see the pic downside.

Let's say, emit.checkpoints.interval.seconds=60 , and sync.group.offsets.interval.seconds=30 ,then group offsets to sync 
will be refreshed every 60s,while these group offsets will be committed to the target cluster TWICE before they are refreshed.
The second commit is redundant.

So i think it's better to point out how the two parameters should 'coordinate' .

 

!image-2022-07-05-17-06-02-384.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)