forked from scylladb/kafka-connect-scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly override close() and stop() as defined in SinkTask interface
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.
- Loading branch information
Showing
1 changed file
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters