Skip to content

Conversation

AndrewJSchofield
Copy link
Member

@AndrewJSchofield AndrewJSchofield commented Sep 1, 2025

The kafka-share-groups.sh tool checks whether a topic already has a
start-offset in the share group when resetting offsets. This is not
necessary. By removing the check, it is possible to set a start offset
for a topic which has not yet but will be subscribed in the future, thus
initialising the consumption point.

There is still a small piece of outstanding work to do with resetting
the offset for a non-existent group which should also create the group.
A subsequent PR will be used to address that.

Reviewers: Jimmy Wang [email protected],
Lan Ding [email protected], Apoorv Mittal [email protected]

@github-actions github-actions bot added tools small Small PRs labels Sep 1, 2025
@AndrewJSchofield AndrewJSchofield changed the title Kafka 19662 KAFKA-19662: Allow resetting offset for unsubscribed topic in kafka-share-groups.sh Sep 1, 2025
Copy link
Contributor

@DL1231 DL1231 left a comment

Choose a reason for hiding this comment

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

Thanks for the patch, LGTM.

Copy link
Contributor

@JimmyWang6 JimmyWang6 left a comment

Choose a reason for hiding this comment

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

Thanks for the patch, I missed this case. LGTM.

Copy link
Contributor

@apoorvmittal10 apoorvmittal10 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, LGTM!

@AndrewJSchofield AndrewJSchofield merged commit 37e04ec into apache:trunk Sep 4, 2025
29 checks passed
@AndrewJSchofield AndrewJSchofield deleted the KAFKA-19662 branch September 4, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved KIP-932 Queues for Kafka small Small PRs tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants