You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Cruise Control is deployed, 2 of its topics - strimzi.cruisecontrol.modeltrainingsamples and strimzi.cruisecontrol.partitionmetricsamples - have a wrong configuration with replication factor 2 and min.insync.replicas set to 2 as well. This is causing issues during rolling updates or any failures as these topics easily become underreplicated.
To reproduce, you can just deploy the Cruise Control example:
It seems to me, that this is caused by the replication factor being set to 2 by Cruise Control or Strimzi, and the min.insync.replicas=2 is inherited from the Kafka cluster configuration. This should be fixed. It should either follow the defaults when creating the topics, or if it wants to use its own replication factor, it should also make sure to use its own min.insync.replicas!
The text was updated successfully, but these errors were encountered:
It seems to me, that this is caused by the replication factor being set to 2 by Cruise Control or Strimzi, and the min.insync.replicas=2 is inherited from the Kafka cluster configuration
Yes you are right, the Cruise Control configuration sets the replication factor of these topics to 2 by default and the min.insync.replicas value is inherited by the Kafka cluster configuration.
It should either follow the defaults when creating the topics
This is the way to go, the CC topics should inherit the replication factor value from the Kafka configuration by default just as it inherits min.insync.replicas value.
When Cruise Control is deployed, 2 of its topics -
strimzi.cruisecontrol.modeltrainingsamples
andstrimzi.cruisecontrol.partitionmetricsamples
- have a wrong configuration with replication factor 2 and min.insync.replicas set to 2 as well. This is causing issues during rolling updates or any failures as these topics easily become underreplicated.To reproduce, you can just deploy the Cruise Control example:
And check the topics:
It seems to me, that this is caused by the replication factor being set to 2 by Cruise Control or Strimzi, and the min.insync.replicas=2 is inherited from the Kafka cluster configuration. This should be fixed. It should either follow the defaults when creating the topics, or if it wants to use its own replication factor, it should also make sure to use its own min.insync.replicas!
The text was updated successfully, but these errors were encountered: