diff --git a/documentation/modules/configuring/proc-changing-topic-replicas.adoc b/documentation/modules/configuring/proc-changing-topic-replicas.adoc index 6417265eb03..9d0d75f7b8f 100644 --- a/documentation/modules/configuring/proc-changing-topic-replicas.adoc +++ b/documentation/modules/configuring/proc-changing-topic-replicas.adoc @@ -130,4 +130,19 @@ bin/kafka-topics.sh --bootstrap-server my-topic Partition: 0 Leader: 0 Replicas: 0,1,2 Isr: 0,1,2 my-topic Partition: 1 Leader: 2 Replicas: 1,2,3 Isr: 1,2,3 my-topic Partition: 2 Leader: 3 Replicas: 2,3,4 Isr: 2,3,4 ----- \ No newline at end of file +---- + +. Finally, edit the `KafkaTopic` custom resource to change `.spec.replicas` to 3, and then wait the reconciliation. ++ +[source,shell,subs=+quotes] +---- +apiVersion: kafka.strimzi.io/v1beta2 +kind: KafkaTopic +metadata: + name: my-topic + labels: + strimzi.io/cluster: my-cluster +spec: + partitions: 3 + replicas: 3 +----