Kafka: a read_committed consumer stalls behind one open transaction

Transactional consumers read up to the Last Stable Offset, not the high watermark. A single transaction left open blocks delivery of every record written after it - on that partition, for every consumer group.

Full code & output

This topic is available to PRO members.

Sign in Create a free account

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