-
Notifications
You must be signed in to change notification settings - Fork 591
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
Getting NotEnoughValidWindowsException when I click on KafkaClusterLoad or any similar tabs #2085
Comments
@efeg could you pls have a look ? |
It seems to me that probably kafka is not able to write to __CruiseControlMetrics topic as this was empty -> Are kafka v3.3.1 and cruise-control v2.5.132 compatible ? |
Have you checked CC logs for errors after |
Hi @mhratson, I checked CC logs, I didn't get any error after __CruiseControlMetrics was created. I got error NotEnoughValidWindowsException when I clicked KafkaClusterLoad tab on cruise control ui. |
How is metric written to __CruiseControlMetrics topic ? Saw this in CC log during CC startup - "Collected 0 partition metric samples for 0 partitions." Is it normal ?
|
@aagrrawal how did you configure Kafka for CC besides creating the topic? |
@mhratson I added
Also copied cruise-control-metrics-reporter-2.5.132-SNAPSHOT.jar to libs folder in kafka directory |
I am starting cruise control like this - |
@aagrrawal we need to ensure metrics is produced into |
@mhratson there are no related errors in kafka log. But one interesting thing we noted, this line |
I am facing the same issue. I have read somewhere that the error might be caused by a mismatch in the message format version. I found this line in the readme file: Line 58 in fa21067
I believe in my case this could be the reason: My hypothesis is this: I creatd the Update Used a brand new topic and the error persists, so there must be something else at play. I have:
I wonder if the fact that there are 126 partitions but CC is only collecting from partitions 0, 1 means I have misconfigured CC? |
Any updates here? I'm seeing the same issue. I see my |
@tedherring-smarsh |
I had the same problem. Did you solve it? |
How can that be done when using managed kafka serivces like Amazon MSK? |
@1299618103 did you follow the README to setup CruiseControlMetricsReporter in your Kafka cluster? |
@marcelloromani Please feel free to reach out to Amazon MSK support. I guess there could be some ENV setup you can use in your MSK portal, but I personally didn't use it before so not exactly sure how they made it pass through those configs. |
@mhratson This is a popular issue so I'd like to invite you to the discussion. |
I set it, my other clusters are normal, this cluster is abnormal after expansion,the details are here #2107 |
https://docs.aws.amazon.com/msk/latest/developerguide/cruise-control.html As far as I could see, for MSK we need to provision a Prometheus instance that scrapes the OpenTelemetry MSK endpoints, and point Cruise Control to this Prometheus instance to read the MSK metrics it needs. |
Getting below Exception when I click on KafkaClusterLoad or any similar tabs. I am using kafka v3.3.1 and cruise-control v2.5.132. Went through discussion in #310 but it didn't help. I have manually created __CruiseControlMetrics topic in kafka cluster. Pl help
The text was updated successfully, but these errors were encountered: