Skip to content

Commit

Permalink
DBZ-8291 Ignore schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpechane committed Dec 18, 2024
1 parent 8601e3b commit eade655
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import io.debezium.connector.binlog.util.TestHelper;
import io.debezium.connector.binlog.util.UniqueDatabase;
import io.debezium.pipeline.notification.AbstractNotificationsIT;
import io.debezium.relational.RelationalDatabaseConnectorConfig;

/**
* @author Chris Cranford
Expand Down Expand Up @@ -60,7 +61,9 @@ protected Class<C> connectorClass() {

@Override
protected Configuration.Builder config() {
return DATABASE.defaultConfig().with(BinlogConnectorConfig.SNAPSHOT_MODE, SnapshotMode.INITIAL.getValue());
return DATABASE.defaultConfig()
.with(BinlogConnectorConfig.SNAPSHOT_MODE, SnapshotMode.INITIAL.getValue())
.with(RelationalDatabaseConnectorConfig.INCLUDE_SCHEMA_CHANGES, false);
}

@Override
Expand Down

0 comments on commit eade655

Please sign in to comment.