Skip to content

Comments

fix(sdk): fix high-level consumer polling strategies#2495

Merged
spetz merged 8 commits intomasterfrom
fix_high_level_consumer_timestamp
Dec 21, 2025
Merged

fix(sdk): fix high-level consumer polling strategies#2495
spetz merged 8 commits intomasterfrom
fix_high_level_consumer_timestamp

Conversation

@numinnex
Copy link
Contributor

@numinnex numinnex commented Dec 17, 2025

Fix the high-level consumer to properly transition polling
strategy after the initial poll. Previously, only Offset
strategy triggered the update, causing Timestamp/First/Last
strategies to poll the same messages in a busy loop.

Besides that, fixed background producer (ported code from
#2456) added shutdown for task that is responsible
for storing background offsets and removed duplicated
code in wait_before_polling.

@numinnex numinnex force-pushed the fix_high_level_consumer_timestamp branch from c62e06e to f78d953 Compare December 17, 2025 17:29
@hubcio hubcio force-pushed the fix_high_level_consumer_timestamp branch from 17bd2a2 to 14cc4c8 Compare December 19, 2025 10:32
@hubcio hubcio force-pushed the fix_high_level_consumer_timestamp branch from d7392af to 9b2c136 Compare December 19, 2025 10:49
@hubcio hubcio changed the title fix(sdk): fix the high level consumer poll by timestamp fix(sdk): fix high-level consumer polling strategies Dec 19, 2025
@spetz spetz merged commit 340a7f4 into master Dec 21, 2025
53 checks passed
@spetz spetz deleted the fix_high_level_consumer_timestamp branch December 21, 2025 10:10
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.

3 participants