Skip to content

Conversation

@dpkp
Copy link
Owner

@dpkp dpkp commented May 4, 2025

Currently consumer.poll() will not make progress unless a non-zero timeout is provided. This PR switches to a Timer class and updates code paths to allow (non-blocking) progress when timeout is 0.

Fix #2609

@dpkp dpkp force-pushed the dpkp/consumer-poll-zero branch from f307054 to 2d98d0d Compare May 4, 2025 02:03
@dpkp dpkp merged commit 2f282eb into master May 4, 2025
18 checks passed
@dpkp dpkp deleted the dpkp/consumer-poll-zero branch May 4, 2025 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kafka consumer not reading any message with zero timeout_ms poll value

2 participants