...
Add a configuration in MirrorMakerConfig.
- config name: disastersync.full.recoveryacl.enabled
- config definition: Whether the MirrorMaker supports disaster recovery, the default is false.
Proposed Changes
Add a config parameter: disastersync.full.recoveryacl.enabled
, the default is false, it will leave the current sync behavior unchanged, if set true, it will synchronize the topic write&read ACL, group ACL, and absolute user scram credential of the source cluster replicated topics to the target cluster.
...
There is no impact on existing behavior, and the existing behavior is not deprecated. just sync more infos when enable disastersync.full.recoveryacl.enabled.
Test Plan
- add unit test for extra syncing.
- actual mirror maker service to verify acl syncing when
disastersync.full.recoveryacl.enabled
is set to true or false.
...