Skip to content

fixes #409: Adds support for compacted topics and commit offset resetting#425

Merged
Antony Stubbs (astubbs) merged 35 commits intoconfluentinc:masterfrom
astubbs:fixes/state-truncation-reset-latest
Oct 12, 2022
Merged

fixes #409: Adds support for compacted topics and commit offset resetting#425
Antony Stubbs (astubbs) merged 35 commits intoconfluentinc:masterfrom
astubbs:fixes/state-truncation-reset-latest

Conversation

@astubbs
Copy link
Copy Markdown
Contributor

@astubbs Antony Stubbs (astubbs) commented Sep 30, 2022

Fixes:

Checklist

  • Changelog

Track expected offsets returned from broker, and truncate where needed.
Copy link
Copy Markdown
Contributor Author

@astubbs Antony Stubbs (astubbs) left a comment

Choose a reason for hiding this comment

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

....

@astubbs
Copy link
Copy Markdown
Contributor Author

This needs some more careful thinking through, the solution proposed won't work. I thought it needed to be checked continuously, but actually it may indeed only be upon first initial poll - as it's only the committed offset that's affected, not the offset map - I think.

@astubbs Antony Stubbs (astubbs) changed the title fixes #409: Truncate state on offset high reset fixes #409: Truncate state on offset higher or lower than committed and prune missing records Oct 4, 2022
@astubbs
Copy link
Copy Markdown
Contributor Author

This needs some more careful thinking through, the solution proposed won't work. I thought it needed to be checked continuously, but actually it may indeed only be upon first initial poll - as it's only the committed offset that's affected, not the offset map - I think.

done.

…ion-reset-latest

# Conflicts:
#	CHANGELOG.adoc
#	README.adoc
#	parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/BitSetEncoder.java
@astubbs Antony Stubbs (astubbs) changed the title fixes #409: Truncate state on offset higher or lower than committed and prune missing records Truncate state when bootstrap polled offset higher or lower than committed and prune missing records Oct 11, 2022
@astubbs Antony Stubbs (astubbs) changed the title Truncate state when bootstrap polled offset higher or lower than committed and prune missing records fixes #409: Truncate state when bootstrap polled offset higher or lower than committed and prune missing records Oct 11, 2022
@astubbs Antony Stubbs (astubbs) marked this pull request as ready for review October 11, 2022 13:46
@astubbs Antony Stubbs (astubbs) changed the title fixes #409: Truncate state when bootstrap polled offset higher or lower than committed and prune missing records fixes #409: Adds support for compacted topics and commit offset resetting (#425) Oct 12, 2022
Copy link
Copy Markdown
Contributor Author

@astubbs Antony Stubbs (astubbs) left a comment

Choose a reason for hiding this comment

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

...

@astubbs Antony Stubbs (astubbs) changed the title fixes #409: Adds support for compacted topics and commit offset resetting (#425) fixes #409: Adds support for compacted topics and commit offset resetting Oct 12, 2022
Copy link
Copy Markdown
Contributor Author

@astubbs Antony Stubbs (astubbs) left a comment

Choose a reason for hiding this comment

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

lgtm

@astubbs Antony Stubbs (astubbs) merged commit de21a35 into confluentinc:master Oct 12, 2022
@astubbs Antony Stubbs (astubbs) deleted the fixes/state-truncation-reset-latest branch October 12, 2022 13:21
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.

Parallel Consumer keeps committing the old offset after OFFSET_OUT_OF_RANGE in auto.offset.reset = latest

1 participant