How to change strimzi cruise control default topic replication factor to 3? #7717
-
I need to increase the Strimzi cruise control default topic (modeltrainingsamples, partitionmetricsamples) replication factor to 3, tried it below configurations, but it doesn't work.
Could you suggest changing the default topic replication factor of strimzi cruise control topics? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
So, does the cluster already exist? In that case, you might need to use the Kafka partition reassignment tool to do it. I would suspect these options to be used only when the topic is created. |
Beta Was this translation helpful? Give feedback.
-
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:
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.html#property-cruise-control-config-reference [2] https://github.com/linkedin/cruise-control/wiki/Configurations#kafkasamplestore-configurations |
Beta Was this translation helpful? Give feedback.
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:
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…