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

Correctly override close() and stop() as defined in SinkTask interface #80

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

forsberg
Copy link
Contributor

The implementation of close() will now remove TopicPartitions the task no longer will have assigned. This will fix the problem where the task logs that unassigned topic/partitions are reporting commits at every commit.

stop() will now close the Scylla session, as intended in the API.

Fixes #79.

The implementation of close() will now remove TopicPartitions the task
no longer will have assigned. This will fix the problem where
the task logs that unassigned topic/partitions are reporting
commits at every commit.

stop() will now close the Scylla session, as intended in the API.

Fixes scylladb#79.
@mykaul mykaul added the bug Something isn't working label Mar 20, 2023
@mykaul
Copy link

mykaul commented Mar 20, 2023

@avelanarius - can you review? (for next milestone perhaps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Running in Distributed mode will cause large amounts of error messages about invalid task offsets
2 participants