DBZ-5639 Logging enhancement for non-incremental snapshot in postgres connector
This commit is contained in:
parent
bf1e7c89d8
commit
3b4d19c174
@ -89,9 +89,11 @@ public SnapshotResult<O> execute(ChangeEventSourceContext context, P partition,
|
||||
complete(ctx);
|
||||
|
||||
if (completedSuccessfully) {
|
||||
LOGGER.info("Snapshot completed");
|
||||
snapshotProgressListener.snapshotCompleted(partition);
|
||||
}
|
||||
else {
|
||||
LOGGER.warn("Snapshot uncompleted");
|
||||
snapshotProgressListener.snapshotAborted(partition);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user