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-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=9755f50d27178b0c77f8a05dff98c7837fe38d7d;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 66bcd06..c616dd0 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -22,6 +22,7 @@ services: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false" KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro - kafka-1-data:/var/lib/kafka/data @@ -43,6 +44,7 @@ services: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false" KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro - kafka-2-data:/var/lib/kafka/data @@ -69,6 +71,7 @@ services: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false" KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro - kafka-3-data:/var/lib/kafka/data @@ -90,6 +93,7 @@ services: KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false" KAFKA_METRIC_REPORTERS: com.linkedin.kafka.cruisecontrol.metricsreporter.CruiseControlMetricsReporter + KAFKA_CRUISE_CONTROL_METRICS_REPORTER_BOOTSTRAP_SERVERS: localhost:9092 volumes: - ./cruise-control-metrics-reporter.jar:/usr/share/java/kafka/cruise-control-metrics-reporter.jar:ro - kafka-4-data:/var/lib/kafka/data