Skip to content

Offset metadata should not be lost in case of batch reprocessing #2252

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

Closed
frosiere opened this issue May 3, 2022 · 0 comments · Fixed by #2253
Closed

Offset metadata should not be lost in case of batch reprocessing #2252

frosiere opened this issue May 3, 2022 · 0 comments · Fixed by #2253

Comments

@frosiere
Copy link
Contributor

frosiere commented May 3, 2022

Issue #2170 introduced a way to control the metadata associated to an offset but in case of exception during the processing of a batch, these metadata are no present anymore when records are reprocessed.

So, in this issue, we will ensure these metadata are not lost in such a case.

Javadoc of OffsetAndMetadataProvider has also been reviewed as this provider is used for both, sync and async commits.

frosiere added a commit to frosiere/spring-kafka that referenced this issue May 3, 2022
frosiere added a commit to frosiere/spring-kafka that referenced this issue May 3, 2022
@frosiere frosiere changed the title Offsef metadata should not be lost in case of batch reprocessing Offset metadata should not be lost in case of batch reprocessing May 4, 2022
@artembilan artembilan added this to the 3.0.0-M4 milestone May 4, 2022
frosiere added a commit to frosiere/spring-kafka that referenced this issue May 4, 2022
frosiere added a commit to frosiere/spring-kafka that referenced this issue May 5, 2022
garyrussell pushed a commit that referenced this issue May 9, 2022
* GH-2252: Keep offset metadata in case of batch reprocessing

* GH-2252: Applied code review

* GH-2252: Added missing static keyword
garyrussell pushed a commit that referenced this issue May 9, 2022
* GH-2252: Keep offset metadata in case of batch reprocessing

* GH-2252: Applied code review

* GH-2252: Added missing static keyword
garyrussell pushed a commit that referenced this issue May 9, 2022
* GH-2252: Keep offset metadata in case of batch reprocessing

* GH-2252: Applied code review

* GH-2252: Added missing static keyword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants