Closed kcsathsih1 closed 6 years ago
cruise.control.metrics.reporter.bootstrap.servers=0.0.0.0:9090
server.properties:cruise.control.metrics.reporter.bootstrap.servers=0.0.0.0:9090
I don't think this will fix your issue but the bottom entry is not correct.
The issue got fixed after adding keystore as shown below.
metric.reporters=com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter cruise.control.metrics.reporter.security.protocol=SSL cruise.control.metrics.reporter.ssl.truststore.location=/kafka/ssl/ca-cert.jks cruise.control.metrics.reporter.ssl.truststore.password=changeit cruise.control.metrics.reporter.bootstrap.servers=server1:9090,server2:9090,server3:9090 cruise.control.metrics.reporter.ssl.keystore.location=//kafka/ssl/ssl/kafka.jks cruise.control.metrics.reporter.ssl.keystore.password=pwd cruise.control.metrics.reporter.ssl.key.password=pwd
The CruiseControl service is coming up when we connect to kafka(Version:1.0.0) but not collecting metrics as shown below. Have enabled auto.leader.rebalance.enable to true. The SSL is enabled in Kafka as per our requirement. And created topic CruiseControlMetrics manually and other topics KafkaCruiseControlModelTrainingSamples and __KafkaCruiseControlPartitionMetricSamples got auto created. Please find the attachment of kafka/server.properties and cruisecontrol.properties. Let us know what could be the missing part.
[2018-06-04 07:00:13,759] INFO Kicking off sampling for time range [1528109893759, 1528110013759], duration 120000 ms using 1 fetchers with timeout 120000 ms. (com.linkedin.kafka.cruisecontrol.monitor.sampling.MetricFetcherManager) [2018-06-04 07:00:13,998] INFO Skipping best proposal precomputing because load monitor does not have enough snapshots. (com.linkedin.kafka.cruisecontrol.analyzer.GoalOptimizer) [2018-06-04 07:00:18,771] INFO Finished sampling for time range [1528109893759,1528110013759]. Collected 0 metrics. (com.linkedin.kafka.cruisecontrol.monitor.sampling.CruiseControlMetricsReporterSampler) [2018-06-04 07:00:18,771] INFO Collected 0 partition metric samples for 0 partitions. Total partition assigned: 126. (com.linkedin.kafka.cruisecontrol.monitor.sampling.SamplingFetcher) [2018-06-04 07:00:18,771] INFO Collected 0 broker metric samples for 0 brokers. (com.linkedin.kafka.cruisecontrol.monitor.sampling.SamplingFetcher) [2018-06-04 07:00:18,771] INFO Finished sampling in 5011 ms. (com.linkedin.kafka.cruisecontrol.monitor.sampling.MetricFetcherManager) [2018-06-04 07:00:43,999] INFO Skipping best proposal precomputing because load monitor does not have enough snapshots. (com.linkedin.kafka.cruisecontrol.analyzer.GoalOptimizer)
KAFKA PROPERTIES
CRUISE CONTROL PROP