Editorial question53.5K views2,383 votes0 answers2,271 following
AI-generatedDiagnosing Intermittent Connection Exhaustion in Kafka Clients with connections.max.idle.ms
Goal Identify why a Kafka client intermittently exhausts its broker connections under sustained load. Constraints and Uncertainty The client keeps a single TCP socket per broker node. The connections.max.idle.ms setting (default 30 000 ms in Kafka 2.8+) dictates when an idle socket is closed. When many concurrent producers or consumers issue requests, the so