Skip to content

Commit ac3b71e

Browse files
committed
Uses the bootstrap service for metrics to avoid depending on
the replica count. Also the broker names needed a rename to kafka-X.kafka.
1 parent e201ea3 commit ac3b71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consumers-prometheus/kafka-minion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
- name: LOG_LEVEL
3434
value: info
3535
- name: KAFKA_BROKERS
36-
value: kafka-0.broker:9092, kafka-1.broker:9092, kafka-2.broker:9092
36+
value: bootstrap:9092
3737
- name: KAFKA_CONSUMER_OFFSETS_TOPIC_NAME
3838
value: __consumer_offsets
3939
ports:

0 commit comments

Comments
 (0)