// This assembly is included in the following assemblies:
//
// assembly-deployment-configuration-kafka-mirror-maker.adoc

// Save the context of the assembly that is including this one.
// This is necessary for including assemblies in assemblies.
// See also the complementary step on the last line of this file.

[id='assembly-kafka-mirror-maker-replicas-{context}']

= Replicas

It is possible to run multiple Mirror Maker replicas.
The number of replicas is defined in the `KafkaMirrorMaker` resource.
You can run multiple Mirror Maker replicas to provide better availability and scalability.
However, when running Kafka Mirror Maker on {ProductPlatformName} it is not absolutely necessary to run multiple replicas of the Kafka Mirror Maker for high availability.
When the node where the Kafka Mirror Maker has deployed crashes, {ProductPlatformName} will automatically reschedule the Kafka Mirror Maker pod to a different node.
However, running Kafka Mirror Maker with multiple replicas can provide faster failover times as the other nodes will be up and running.

include::proc-configuring-kafka-mirror-maker-replicas.adoc[leveloffset=+1]