KIP-1371 — Explicit Wait Conditions for Consumer Request Managers
Discussion ConsumerClient
Renames the async consumer's `ConsumerNetworkThread` loop to `ConsumerReactor` and formalizes four concurrency semantics: single-writer manager state, an immutable published view for the application thread, typed next-poll conditions, and publication before effect. The background loop currently compresses every readiness condition (time, coordinator availability, assignment, metadata, buffer capacity, in-flight requests) into a single deadline that cannot distinguish work available now from work waiting on an external input, and different parts of one decision can be published out of order.
Details
| Author | Eric Chang |
| Status | Discussion |
| JIRA | KAFKA-20995 |
| Wiki | View on Apache Wiki |
| Created | 2026-08-20 |
| Last Modified | 2026-09-22 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.