Package | Description |
---|---|
io.r2dbc.postgresql.replication |
Support for logical and physical replication streams.
|
Modifier and Type | Method and Description |
---|---|
static ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.logical(ReplicationSlot replicationSlot)
Create a new builder to configure a logical
ReplicationRequest from ReplicationSlot . |
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationRequestBuilder.slotName(String slotName)
Replication slots provide an automated way to ensure that the master does not remove WAL segments until they have been received by all standbys, and that the master does not remove rows
which could cause a recovery conflict even when the standby is disconnected.
|
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationRequestBuilder.slotOption(String option,
Object value)
Configure slot option.
|
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationStep2.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationRequestBuilder.startPosition(LogSequenceNumber lsn)
Specify start position from which backend will start stream changes.
|
ReplicationRequest.LogicalReplicationRequestBuilder |
ReplicationRequest.LogicalReplicationRequestBuilder.statusInterval(Duration interval)
Specifies the number of time between status packets sent back to the server.
|
Copyright © 2021. All rights reserved.