Skip to content

Commit

Permalink
DBZ-7732 Add connector specific annotation to SnapshotLock and Snapsh…
Browse files Browse the repository at this point in the history
…otQuery implementations
  • Loading branch information
mfvitale committed Apr 5, 2024
1 parent 016a78e commit 8dbb2bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
import java.util.Map;
import java.util.Optional;

import io.debezium.annotation.ConnectorSpecific;
import io.debezium.connector.db2.Db2Connector;
import io.debezium.connector.db2.Db2ConnectorConfig;
import io.debezium.snapshot.spi.SnapshotLock;

@ConnectorSpecific(connector = Db2Connector.class)
public class ExclusiveSnapshotLock implements SnapshotLock {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
import java.util.Map;
import java.util.Optional;

import io.debezium.annotation.ConnectorSpecific;
import io.debezium.connector.db2.Db2Connector;
import io.debezium.connector.db2.Db2ConnectorConfig;
import io.debezium.snapshot.spi.SnapshotLock;

@ConnectorSpecific(connector = Db2Connector.class)
public class NoSnapshotLock implements SnapshotLock {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@
import java.util.Map;
import java.util.Optional;

import io.debezium.annotation.ConnectorSpecific;
import io.debezium.config.CommonConnectorConfig;
import io.debezium.connector.db2.Db2Connector;
import io.debezium.snapshot.spi.SnapshotQuery;

@ConnectorSpecific(connector = Db2Connector.class)
public class SelectAllSnapshotQuery implements SnapshotQuery {

@Override
Expand Down

0 comments on commit 8dbb2bf

Please sign in to comment.