Mirror of Apache Kafka
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
..
bin
config
README

README

This test replicates messages from two source kafka clusters into one target
kafka cluster using the mirror-maker tool. At the end, the messages produced
at the source brokers should match that at the target brokers.

To run this test, do
bin/run-test.sh

In the event of failure, by default the brokers and zookeepers remain running
to make it easier to debug the issue - hit Ctrl-C to shut them down. You can
change this behavior by setting the action_on_fail flag in the script to "exit"
or "proceed", in which case a snapshot of all the logs and directories is
placed in the test's base directory.

It is a good idea to run the test in a loop. E.g.:

:>/tmp/mirrormaker_test.log
for i in {1..10}; do echo "run $i"; ./bin/run-test.sh 2>1 >> /tmp/mirrormaker_test.log; done
tail -F /tmp/mirrormaker_test.log

grep -ic passed /tmp/mirrormaker_test.log
grep -ic failed /tmp/mirrormaker_test.log