Apoorv Tyagi 2/10/2026

Kafka Consumer Container Restarts in Kubernetes: A Production Case Study

Read Original

This article details a production incident where Kafka consumer containers in Kubernetes kept restarting due to OOMKills. The investigation revealed a partition mismatch (6 partitions vs 10 pods) causing load concentration on 60% of pods. Further analysis showed that the ZGC garbage collector struggled to reclaim memory fast enough during traffic bursts, leading to crashes. The article provides insights into debugging memory issues, Kafka consumer topology, and GC tuning in distributed systems.

Kafka Consumer Container Restarts in Kubernetes: A Production Case Study

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet