To support fault tolerance in a multi-data center environment, Strategy recommends using Kafka MirrorMaker with Platform Analytics.
Adding Kafka MirrorMaker enhances the original data structure by introducing more than one Kafka broker.


ClientPortvalue to a port number different from the existing zookeeper.
ClientPort=2185
dataDir=C:\\Program Files (x86)\\MicroStrategy\\Messaging Services\\tmp-1\\zookeeper
dataDir=/tmp/zooker/tmp-1
zookeeper.connect=localhost:<port>to the port number used in the
ClientPortparameter.
broker.idvalue to a unique integer for the new broker.
log.dirs=C:\\Program Files (x86)\\MicroStrategy\\Messaging Services\\tmp-1\\kafka-logs
/opt/mstr/MicroStrategy/install/MessagingServices/Kafka/tmp-1/kafka-logs
listerns=PLAINTEXT://:<port>to the port used in the
ClientPortparameter.
bootstrap.servers=localhost:<port>to the port used in the
ClientPortparameter.
#consumer-1.properties bootstrap.servers=localhost:9092 exclude.internal.topics=true group.id=test-consumer-group-1 #consumer-2.properties bootstrap.servers=[remote-ip]:9092 exclude.internal.topics=true group.id=test-consumer-group-2
#PAConsumerConfig.yaml zooKeeperConnection: 127.0.0.1:2182 bootstrap.servers: 127.0.0.1:9093
platform-analytics-consumer.bat stop
platform-analytics-consumer.sh stop
bin\windows\zookeeper-server-start.bat config\zookeeper.properties
%JAVA_HOME%to
%KAFKA_JAVA_HOME%.
bin/zookeeper-server-start.bat config/zookeeper.properties
bin\windows\kafka-server-start.bat config\server.properties
bin/kafka-server-start.bat config/server.properties
bin\windows\kafka-mirror-maker.bat --new.consumer --consumer.config config\consumer-1.properties --producer.config config\producer.properties --whitelist ".*"
bin\windows\kafka-mirror-maker.bat --new.consumer --consumer.config config\consumer-2.properties --producer.config config\producer.properties --whitelist ".*"
bin/kafka-mirror-maker.sh --new.consumer --consumer.config config/consumer-1.properties --producer.config config\producer.properties --whitelist ".*"
bin/kafka-mirror-maker.sh --new.consumer --consumer.config config/consumer-2.properties --producer.config config\producer.properties --whitelist ".*"
platform-analytics-consumer.bat start
platform-analytics-consumer.sh start
If you run into any problems during the deployment of Kafka MirrorMaker, please see the Deploying Kafka MirrorMaker Troubleshooting article.