-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: Add default min.insync.replicas
config for sample store topics
#2093
Comments
Hi @kyguy, thanks for raising the issue. I have a question here:
Also I wonder if the self-healing would fix the RF of the topic automatically no matter what it is set to. |
This solution works but it requires the
I think it would but it would require the self-healing to be enabled for the CC instance |
Hey @kyguy Could you expand why temporarily getting under replicated is an issue? |
Even if the availability of the sample store topics is not an issue by itself, the warning/error messages related to under replication in application logs can be a nuisance, raising false alarm. |
While i understand the motivation it seems that suppressing the false alarms may be the better solution here than adding configuration that only purpose is to silence false alarms. While i'm not against it it feels like there must be a better reason to add those configuration settings… |
How would a user suppress this alarm? From what I understand without a sample store specific |
Hey @mhratson just wanted to follow up, would the reason in the previous comment suffice as a justification to add this config? |
@mhratson while suppressing the false alarm sounds a good reason for not allowing the user to set the min ISR on the samples topics, I think that what @kyguy is asking for is totally reasonable. |
The default replication factor for sample store topics (set by
sample.store.topic.replication.factor
in the Cruise Control configuration) is2
. Cruise Control also relies on themin.insync.replicas
setting of the Kafka cluster it is managing for these sample topics. Therefore, when a Kafka cluster'smin.insync.replicas
field is set to a value greater than1
the sample topics could easily become under replicated. To avoid issues such as these, would it make sense to provide amin.insync.replicas
config for sample store topics? e.g.in the same manner we do for the metrics reporter topic,
cruise.control.metrics.topic.min.insync.replicas
If it sounds like a reasonable request, I am happy to contribute it myself!
The text was updated successfully, but these errors were encountered: