Interface ReplicationRequest.WithStartPosition

All Known Subinterfaces:
ReplicationRequest.LogicalReplicationRequestBuilder, ReplicationRequest.LogicalReplicationStep2, ReplicationRequest.PhysicalReplicationRequestBuilder, ReplicationRequest.PhysicalReplicationStep2
Enclosing class:
ReplicationRequest

public static interface ReplicationRequest.WithStartPosition
  • Method Details

    • startPosition

      Specify start position from which backend will start stream changes. If parameter will not specify, streaming starts from restart_lsn. For more details see pg_replication_slots description.
      Parameters:
      lsn - not null position from which need start replicate changes
      Returns:
      this builder
      Throws:
      IllegalArgumentException - if slotName is null