Skip to content

KafkaMirrormaker2 offset management: How does it work? #10146

Answered by mimaison
MandMaric asked this question in Q&A
Discussion options

You must be logged in to vote

Let me start by explaining the role of these 2 topics and the data they each contain.

Let's start with mirrormaker2-cluster-offsets. This is the offsets topic used by the Kafka Connect runtime that runs the MirrorMaker connectors. The Kafka Connect runtime uses it to automatically store offsets from source connectors periodically so in case a source connector is stopped (or crashes) it can resume from its last saved position in the source system. It is created in the cluster that the Kafka Connect runtime is connected too, typically the target cluster. In MirrorMaker only MirrorSourceConnector uses that mechanism to restore its position when it restarts. If you enable exactly once semantics

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MandMaric
Comment options

@jingweiz-lyft
Comment options

Answer selected by MandMaric
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants