Skip to content

Commit

Permalink
[DOC] Improve topic replication factor change procedure (#9332)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Valeri <[email protected]>
Co-authored-by: PaulRMellor <[email protected]>
  • Loading branch information
fvaleri and PaulRMellor authored Nov 8, 2023
1 parent 4d603df commit c02e1e0
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
----
----

. 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
----

0 comments on commit c02e1e0

Please sign in to comment.