The broker treats a consumer that has not called poll() within the interval as dead and reassigns its partitions. Slow processing therefore causes a rebalance, the rebalance causes redelivery, and the redelivery makes processing slower.
Run this yourself in the Online Java Compiler, spin up a live REST API in the API Sandbox, or practise with Java interview questions.
Published 2026-08-25