Modifier and Type | Method and Description |
---|---|
Mono<Void> |
close() |
Mono<ReplicationSlot> |
createSlot(ReplicationSlotRequest request)
Creates a replication slot for logical or physical replication.
|
PostgresqlConnectionMetadata |
getMetadata()
Returns the
PostgresqlConnectionMetadata for this connection. |
Mono<ReplicationStream> |
startReplication(ReplicationRequest request)
Starts the
ReplicationStream for logical or physical replication. |
Mono<ReplicationSlot> createSlot(ReplicationSlotRequest request)
request
- description of the slot to create.Mono
emitting ReplicationSlot
information once the slot was created.Mono<ReplicationStream> startReplication(ReplicationRequest request)
ReplicationStream
for logical or physical replication.
After starting the replication stream this connection becomes unavailable for slot creation and other streams unless the ReplicationStream
is closed
.request
- description of the replication stream to create.Mono
emitting ReplicationStream
once the replication was started.PostgresqlConnectionMetadata getMetadata()
PostgresqlConnectionMetadata
for this connection.PostgresqlConnectionMetadata
for this connection.Copyright © 2019. All rights reserved.