Generally, multicluster deployment is used to mitigate some of the risks associated with single cluster deployment. We have mentioned to you, some of those risks in the preceding section. Multicluster deployment can come in two flavors - distributive models and aggregate models.
The distributive model diagram is shown in the following figure. In this model, based on the topics, messages are sent to different Kafka clusters deployed in different data centers. Here, we have chosen to deploy Kafka cluster on Data Center 1 and Data Center 3.
Applications deployed in Data Center 2 can choose to send data to any of the Kafka clusters deployed in Data Center 1 and Data Center 3. They will use different a data center-deployed Kafka cluster depending on the Kafka topic associated with the messages. This kind of message routing can also be done using some intermediate...