Skip to content
Discussion options

You must be logged in to vote

For changing the default replication factor of the sample store topics [1], partition.metric.sample.store.topic and broker.metric.sample.store.topic, configure the Cruise Control config section of the Kafka resource like this:

apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
  name: my-cluster
spec:
  ...
  cruiseControl:
    config: 
      sample.store.topic.replication.factor: 3

Note that the cruiseControl.config section of the Kafka resource can take most of the configurations listed in the Cruise Control wiki [2]. For more information checkout the Strimzi docs here [1] Put same answer on StackOverflow post as well [3]

[1] https://strimzi.io/docs/operators/latest/configuring…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@bharat15-ml
Comment options

@kyguy
Comment options

kyguy Nov 28, 2022
Collaborator

Comment options

You must be logged in to vote
1 reply
@bharat15-ml
Comment options

Answer selected by scholzj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants