Skip to content

Commit

Permalink
DBZ-7308 Adapt to core changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfvitale committed Mar 20, 2024
1 parent 6e3c29a commit aaec6aa
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;

import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.common.config.ConfigDef.Importance;
Expand Down Expand Up @@ -404,8 +405,8 @@ public SnapshotIsolationMode getSnapshotIsolationMode() {
return this.snapshotIsolationMode;
}

public SnapshotLockingMode getSnapshotLockingMode() {
return this.snapshotLockingMode;
public Optional<SnapshotLockingMode> getSnapshotLockingMode() {
return Optional.of(this.snapshotLockingMode);
}

public SnapshotMode getSnapshotMode() {
Expand Down

0 comments on commit aaec6aa

Please sign in to comment.