singhpk234 commented on code in PR #14979:
URL: https://github.com/apache/iceberg/pull/14979#discussion_r2674173841
##########
kafka-connect/kafka-connect/src/main/java/org/apache/iceberg/connect/channel/Coordinator.java:
##########
@@ -207,6 +208,14 @@ private void commitToTable(
return;
}
+ if (!Objects.equals(table.uuid(), tableReference.uuid())) {
+ LOG.warn(
+ "Skipping commits to table {} due to target table mismatch.
Expected: {} Received: {}",
+ tableIdentifier,
+ table.uuid(),
+ tableReference.uuid());
Review Comment:
do we need to return here ? seems like we are just logging ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]