dhruvilshah3 opened a new pull request #10217: URL: https://github.com/apache/kafka/pull/10217
MM2 creates new topics on the destination cluster with default configurations. It has an async periodic task to refresh topic configurations from the source to destination. However, this opens up a window where the destination cluster has data produced to it with default configurations. In the worst case, this could case data loss if the destination cluster is created without the right retention or cleanup policy configurations, for example. This patch fixes the above issue by ensuring that the right configurations are supplied to the `AdminClient#createTopics` when MM2 creates topics on the destination cluster. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org