Skip to content

Fix KafkaConsumer compacted offset handling #1397

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 26, 2018
Merged

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Feb 26, 2018

Fix for #1390. The management of fetch_offset, position, and PartitionRecords is too complex! Nonetheless, I believe this change should fix the bug related to compacted topics. It may also improve compacted topic consumer performance when combined with max_records (previously it would have required sending a new fetch request if the max_records interval landed on a compacted message).

@dpkp dpkp changed the title Fetch compacted offset Fix KafkaConsumer compacted offset handling Feb 26, 2018
@dpkp dpkp merged commit 4cadaaf into master Feb 26, 2018
@dpkp dpkp deleted the fetch_compacted_offset branch February 26, 2018 23: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.

2 participants