Skip to content

Questions regarding pulsar active-active geo-replication #22315

Answered by lhotari
Apurva007 asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you @Apurva007, good questions.

In this cases, how are the offsets managed across clusters?

The messages in different clusters don't share the same message ids. The message ids of the originating cluster are independent of the message ids in the remote cluster.

There are 2 parts to what you could call "offset management" across clusters.

For replication itself, messages originating from one cluster to a remote cluster are handled by a replicator instance for each topic in the originating cluster which will publish (push) messages to the remote cluster and keep the state in a special subscription about this. To prevent replication loops, the message that is published in the remote …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Apurva007
Comment options

@lhotari
Comment options

@Apurva007
Comment options

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