Skip to content

Commit

Permalink
DBZ-7765 Add Partition parameter to validateLogPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvitale committed Apr 11, 2024
1 parent 11ec92b commit d1665d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import io.debezium.jdbc.JdbcConfiguration;
import io.debezium.jdbc.JdbcConnection;
import io.debezium.pipeline.spi.OffsetContext;
import io.debezium.pipeline.spi.Partition;
import io.debezium.relational.Table;
import io.debezium.relational.TableEditor;
import io.debezium.relational.TableId;
Expand Down Expand Up @@ -227,7 +228,7 @@ public boolean isWrapperFor(Class<?> iface) throws SQLException {
};
}

public boolean validateLogPosition(OffsetContext offset, CommonConnectorConfig config) {
public boolean validateLogPosition(Partition partition, OffsetContext offset, CommonConnectorConfig config) {

final Lsn storedLsn = ((InformixOffsetContext) offset).getChangePosition().getCommitLsn();

Expand Down

0 comments on commit d1665d7

Please sign in to comment.