From: Kai Moritz Date: Thu, 12 Oct 2023 21:19:15 +0000 (+0200) Subject: Bootstrap-Server für den Cruise-Control-Reporter explizit gesetzt X-Git-Tag: config/cruise-control---2023-10-signal X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=2d71ed4a0d33b15dee824ab75dbaa49c55d1218c;p=demos%2Fkafka%2Ftraining Bootstrap-Server für den Cruise-Control-Reporter explizit gesetzt Siehe https://github.com/linkedin/cruise-control/issues/583#issuecomment-489404389["Versteckte" Konfigurationsmöglichkeiten] --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 294b0fc..e2e4891 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -29,6 +29,7 @@ services: -Dcom.sun.management.jmxremote.port=9101 -Dcom.sun.management.jmxremote.authenticate=false KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro @@ -58,6 +59,7 @@ services: -Dcom.sun.management.jmxremote.port=9101 -Dcom.sun.management.jmxremote.authenticate=false KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro @@ -92,6 +94,7 @@ services: -Dcom.sun.management.jmxremote.port=9101 -Dcom.sun.management.jmxremote.authenticate=false KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro @@ -121,6 +124,7 @@ services: -Dcom.sun.management.jmxremote.port=9101 -Dcom.sun.management.jmxremote.authenticate=false KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./jmx-exporter.yml:/etc/jmx-exporter.yml:ro - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro