Closed craynic closed 5 years ago
Also I could see a slow growing on topic __KafkaCruiseControlModelTrainingSamples
.
seems very similar to #318
I deleted the topic __confluent.support.metrics
and set confluent.support.metrics.enable=false
in Kafka server.properties. And now sampling seems good.
This topic behave strange. It cannot be listed and it does not have metrics. It is used for Confluent metrics.
If you have warning
[2018-10-23 14:00:29,919] WARN Broker 0 has 1/9 missing topics metrics and 1/134 missing partition metrics. Missing topics: [__confluent.support.metrics]. (com.linkedin.kafka.cruisecontrol.monitor.sampling.CruiseControlMetricsProcessor)
you could have a try on this.
@craynic Do you have any client traffic in/out of topics in your cluster? -- i.e. any consumer getting data from topics or any producers sending data to your topics?
It looks like there is no movement in your cluster (e.g. maybe this is a quick cluster that you started to test things, but it gets no real traffic); hence, your metrics reporter has not much to report. Thus the metric sampler of Cruise Control gets little to no data from __CruiseControlMetrics
-- could you verify that?
You can ignore the value of trained
-- it has no impact on the current readiness of the goals (we should probably move it to verbose
response of the monitor
substate).
@efeg Thanks. I have fixed this problem. The topic __confluent.support.metrics
has no matric data to CC, so CC ignore all the data on that broker, while all my traffic is on that broker.
I have set up a Kafka cluster with two brokers on two vms. I have cruise-control running for hours. I keep looking at /kafkacruisecontrol/state. It seems good at beginning. The trained percent kept a rise in first few hours, but it stopped at 20.000%.
and cruise-control gives logs:
It seems that it has noticed that there are two brokers and they are not at balance. Could there be some hints on what the trained percent means?