Skip to content

Commit b9c1cfe

Browse files
committed
Exit when backupsink stopped
1 parent be35886 commit b9c1cfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/de/azapps/kafkabackup/sink/BackupSinkTask.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ public void stop() {
206206
}
207207
offsetSink.close();
208208
log.info("Stopped BackupSinkTask");
209+
exitFunction.accept(0);
209210
} catch (IOException e) {
210211
throw new RuntimeException(e);
211212
}

0 commit comments

Comments
 (0)