uber / uReplicator

Improvement of Apache Kafka Mirrormaker
Apache License 2.0
917 stars 199 forks source link

Support wildcard topic names #123

Open ISNIT0 opened 6 years ago

ISNIT0 commented 6 years ago

It would be great to be able to specify a topic such as replicated-*, and have all topics that match get replicated. (replicated-test1, replicated-test2, etc.)

xhl1988 commented 6 years ago

It's good to have this feature but we don't have plan to do this recently. However, with current code, there is a workaround to support this: you can enable auto-whitelisting in -enableAutoWhitelist and exclude the "Not replicated-*" in -patternToExcludeTopics.

ISNIT0 commented 6 years ago

Thanks for this - I've ended up just using Mirror-maker for now (low volumes etc.) with the --whitelist="prefix-.*" option