pulsar
pulsar copied to clipboard
[feat][broker]PIP-180 ShadowTopic - Part IV - Add Shadow Replicator
Master Issue: https://github.com/apache/pulsar/issues/16153
Motivation
Add ShadowReplicator.
Modifications
- Add map
PersistentTopic#shadowReplicators
, most of its management just followsPersistentTopic#replicators
- Add class
ShadowReplicator
Verifying this change
- [x] Make sure that the change passes the CI checks.
This change added tests and can be verified as follows:
- ShadowReplicatorTest
Does this pull request potentially affect one of the following parts:
None
Documentation
Check the box below or label this PR directly.
Need to update docs?
-
[ ]
doc-required
(Your PR needs to update docs and you will update later) -
[x]
doc-not-needed
Internal implementation. -
[ ]
doc
(Your PR contains doc changes) -
[ ]
doc-complete
(Docs have been already added)
/pulsarbot run-failure-checks
@AnonHxy Addressed comments. PTAL
LGTM now
/pulsarbot run-failure-checks
@codelipenghui @eolivelli @Technoboy- PTAL
@codelipenghui PTAL