danielqsj / kafka_exporter

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

Kafka opened connection in TIME_WAIT and CLOSE_WAIT tcp state #418

Open minolino71 opened 6 months ago

minolino71 commented 6 months ago

hi,

kafka cluster version = 3.6.1 kafka exporter version = 1.7.0

when start kafka exporter it generate many socket connection in time_wait and close_wait on port 9092 kafka this is my systemd configuration:

/kafka_exporter --kafka.server=10.128.0.8:9092 --kafka.server=10.128.0.9:9092 --kafka.server=10.128.0.10:9092 --log.level="info" --sasl.username="user" --sasl.password="pwd" --sasl.enabled

nb: ip and port communicated correctly, Furthermore, exporter it works very well

Immagine 2023-12-14 222008