Skip to content

KAFKA-20131: ClassicKafkaConsumer does not clear endOffsetRequested flag on failed LIST_OFFSETS calls - #21598

Merged
AndrewJSchofield merged 1 commit into
apache:4.0from
kirktrue:KAFKA-20131-backport-to-4.0
Mar 4, 2026
Merged

AndrewJSchofield merged 1 commit into
apache:4.0from
kirktrue:KAFKA-20131-backport-to-4.0

Conversation

@kirktrue

@kirktrue kirktrue commented Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

Cherry-pick of #21457 to 4.0.

Updates the ClassicKafkaConsumer to clear out the SubscriptionState endOffsetRequested flag if the LIST_OFFSETS call fails.

Reviewers: Andrew Schofield aschofield@confluent.io

…lag on failed LIST_OFFSETS calls (apache#21457)

Updates the `ClassicKafkaConsumer` to clear out the `SubscriptionState`
`endOffsetRequested` flag if the `LIST_OFFSETS` call fails.

Reviewers: Viktor Somogyi-Vass <viktorsomogyi@gmail.com>, Lianet Magrans
<lmagrans@confluent.io>, Andrew Schofield <aschofield@confluent.io>
@kirktrue
kirktrue marked this pull request as ready for review February 27, 2026 18:06
@AndrewJSchofield
AndrewJSchofield self-requested a review February 27, 2026 20:42

@AndrewJSchofield AndrewJSchofield left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Looks good to me.

@AndrewJSchofield
AndrewJSchofield merged commit 9891041 into apache:4.0 Mar 4, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants