Skip to content

Commit

Permalink
MINOR: logs when Streams is done closing down
Browse files Browse the repository at this point in the history
and pads my commit count
  • Loading branch information
coltmcnealy-lh committed May 17, 2024
1 parent 7b120ed commit c8ba664
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1043,13 +1043,15 @@ public void close() {
log.info("Closing timer");
timerStreams.close();
latch.countDown();
log.info("Done closing timer Kafka Streams");
})
.start();

new Thread(() -> {
log.info("Closing core");
coreStreams.close();
latch.countDown();
log.info("Done closing core Kafka Streams");
})
.start();

Expand All @@ -1072,6 +1074,7 @@ public void close() {

try {
latch.await();
log.info("Done shutting down all internal server processes");
} catch (Exception exn) {
throw new RuntimeException(exn);
}
Expand Down

0 comments on commit c8ba664

Please sign in to comment.