This kafka-en bug hid for three years before anyone reported it
Some background first. Our setup is kafka-en plus three downstream services, seven figures of daily requests, peaking around nine in the evening.
What genuinely surprised me was the tail. The average looked great while P99 jumped by an order of magnitude past some threshold. The cause was not kafka-en itself but our upstream connection reuse — the load test traffic was too clean and hid the long-tail requests.
POST /api/uploads → CDN origin pull