Skip to content

Commit

Permalink
DBZ-7308 Disable registration of SnapshotterServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvitale authored and jpechane committed Mar 25, 2024
1 parent 1373b74 commit 1be942a
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
import io.debezium.pipeline.metrics.DefaultChangeEventSourceMetricsFactory;
import io.debezium.pipeline.notification.NotificationService;
import io.debezium.pipeline.spi.Offsets;
import io.debezium.processors.PostProcessorRegistryServiceProvider;
import io.debezium.relational.TableId;
import io.debezium.schema.SchemaFactory;
import io.debezium.schema.SchemaNameAdjuster;
import io.debezium.service.spi.ServiceRegistry;
import io.debezium.snapshot.SnapshotterService;
import io.debezium.spi.topic.TopicNamingStrategy;
import io.debezium.util.Clock;
Expand Down Expand Up @@ -242,4 +244,11 @@ protected void doStop() {
protected Iterable<Field> getAllConfigurationFields() {
return VitessConnectorConfig.ALL_FIELDS;
}

// Remove when support for SPI snapshotter will be implemented with DBZ-7307
@Override
protected void registerServiceProviders(ServiceRegistry serviceRegistry) {

serviceRegistry.registerServiceProvider(new PostProcessorRegistryServiceProvider());
}
}

0 comments on commit 1be942a

Please sign in to comment.