I understand that Kafka mirroring is replicating data across different data centers. I have some questions here as below -
1) Does these different data centers needs different zookeeper ensemble ?
2) Can these Kafka mirroring concept be a good option if we want to replicate data across 2 racks which are part of data center ?
1. Correct, each DC would have its own Zookeeper ensemble. The offsets are stored here.
2. Intra-Data Centre data redundancy can be provided by Kafka Replication. Cross-Data Centre requires MirrorMaker.
For reference below, Mirror Maker best Practices.