// This assembly is included in the following assemblies:
//
// assembly-deployment-configuration-kafka-connect.adoc
// assembly-deployment-configuration-kafka-connect-s2i.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-connect-replicas-{context}']

= Replicas

Kafka Connect clusters can consist of one or more nodes.
The number of nodes is defined in the `KafkaConnect` and `KafkaConnectS2I` resources.
Running a Kafka Connect cluster with multiple nodes can provide better availability and scalability.
However, when running Kafka Connect on Kubernetes it is not necessary to run multiple nodes of Kafka Connect for high availability.
If a node where Kafka Connect is deployed to crashes, Kubernetes will automatically reschedule the Kafka Connect pod to a different node.
However, running Kafka Connect with multiple nodes can provide faster failover times, because the other nodes will be up and running already.

include::../modules/proc-configuring-kafka-connect-replicas.adoc[leveloffset=+1]
