Skip to content
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

[Bug]: KafkaIO.withCheckStopReadingFn does not work #22715

Closed
johnjcasey opened this issue Aug 12, 2022 · 3 comments
Closed

[Bug]: KafkaIO.withCheckStopReadingFn does not work #22715

johnjcasey opened this issue Aug 12, 2022 · 3 comments

Comments

@johnjcasey
Copy link
Contributor

What happened?

If a check stop reading function is provided to the SDF Kafka IO implementation, and that function ever returns true, it will result in a failed check in the Offset based restriction tracker.

Caused by: java.lang.IllegalStateException: Last attempted offset should not be null. No work was claimed in non-empty range [5, 9223372036854775807).

It appears that this feature has never worked, and will need to be redesigned and reimplemented

Issue Priority

Priority: 2

Issue Component

Component: io-java-kafka

@Abacn
Copy link
Contributor

Abacn commented Aug 30, 2022

.take-issue

@Abacn
Copy link
Contributor

Abacn commented Aug 30, 2022

Sorry, commented to wrong issue

@johnjcasey
Copy link
Contributor Author

this has been fixed, see #22962

@github-actions github-actions bot added this to the 2.44.0 Release milestone Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants