THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
2) Add a new configuration setting to MirrorMaker:
- Name: use.incremental.alter.configs
- Description: Deprecated. Whether to automatically use incrementalAlterConfigs API for syncing topic configurations. This configuration will be removed in Kafka 4.0 and the incrementalAlterConfigs API will be used by default. Users should make sure that the target cluster is running at least Kafka 2.3.0 or later.
- Type: Boolean
- Default: false
- When set to false, MirrorMaker will keep using deprecated
alterConfigs
API for syncing topic configurations.
- When explicitly set to true, MirrorMaker will use
incrementalAlterConfigs
API for syncing topic configurations. If it receives an error from an incompatible broker, the MirrorMaker will report this to the user and fail the connector.
3) Update syncTopicConfigs()
in MirrorSourceConnector.java
to call the updateTopicConfigsUsingIncrementalAlterConfigs()
instead of updateTopicConfigs()
if enable.incremental.alter.configs
is set to true.
...