danielqsj / kafka_exporter

Kafka exporter for Prometheus
Apache License 2.0
2.1k stars 602 forks source link

kafka-exporter times out if there are topics but `__consumer_offsets` topic has not been created #315

Open primeroz opened 2 years ago

primeroz commented 2 years ago

This was investigated by me in an issue on the strimzi kafka operator https://github.com/strimzi/strimzi-kafka-operator/issues/6137#issuecomment-1152363842

Essentially if there is any topic ( manually created with ./kafka-topic.sh or auto created ) but no client using the consumer management api has ever connected and so the __consumer_offsets special topic does not exits then kafka-exporter times out on fetching the metadata

Pet-cpp commented 1 month ago

Hello! I also encountered this behavior, can we expect this to be fixed in the future?