Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
DBZ-7946 Add log message during partition open requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Jul 10, 2024
1 parent 78f379b commit f332a76
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ public void put(Collection<SinkRecord> records) {
LOGGER.trace("[PERF] Mark processed execution time {}", markProcessedStopWatch.durations());
}

@Override
public void open(Collection<TopicPartition> partitions) {
if (LOGGER.isTraceEnabled()) {
for (TopicPartition partition : partitions) {
LOGGER.trace("Requested open TopicPartition request for '{}'", partition);
}
}
}

@Override
public void close(Collection<TopicPartition> partitions) {
for (TopicPartition partition : partitions) {
Expand Down

0 comments on commit f332a76

Please sign in to comment.