Created
February 10, 2019 23:13
-
-
Save colinfwren/11adbd47d70b82b1c9b3f5a769294d5a to your computer and use it in GitHub Desktop.
Using Kafka Mirror Maker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example contents of consumer.config | |
bootstrap-servers=[KAFKA HOST] | |
exclude.internal.topics=true | |
group.id=mirror-maker | |
auto.offset.reset=latest | |
# Example contents of producer.config | |
bootstrap-servers=[KAFKA HOST] | |
acks=-1 | |
batch.size=100 | |
client.id=mirror_maker_producer | |
retries=2147483647 | |
max.in.flight.requests.per.connection=1 | |
# Command to set off mirroring | |
kafka-mirror-maker --consumer.config consumer.config --producer.config producer.config --whitelist="[TOPIC NAME TO MIRROR]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment