| Package | Description |
|---|---|
| io.debezium.connector.postgresql | |
| io.debezium.connector.postgresql.connection | |
| io.debezium.connector.postgresql.connection.pgoutput | |
| io.debezium.connector.postgresql.spi |
| Modifier and Type | Field and Description |
|---|---|
private Lsn |
PostgresOffsetContext.lastCommitLsn |
private Lsn |
PostgresStreamingChangeEventSource.lastCompletelyProcessedLsn |
private Lsn |
PostgresOffsetContext.lastCompletelyProcessedLsn |
private Lsn |
SourceInfo.lsn |
private Lsn[] |
SourceInfo.sequence |
private Lsn |
PostgresOffsetContext.streamingStoppingLsn |
| Modifier and Type | Method and Description |
|---|---|
(package private) Lsn |
PostgresOffsetContext.getStreamingStoppingLsn()
Returns the LSN that the streaming phase should stream events up to or null if
a stopping point is not set.
|
private Lsn |
PostgresSnapshotChangeEventSource.getTransactionStartLsn() |
(package private) Lsn |
PostgresOffsetContext.lastCommitLsn() |
(package private) Lsn |
PostgresOffsetContext.lastCompletelyProcessedLsn() |
Lsn |
SourceInfo.lsn() |
(package private) Lsn |
PostgresOffsetContext.lsn() |
| Modifier and Type | Method and Description |
|---|---|
private void |
PostgresStreamingChangeEventSource.commitMessage(Lsn lsn) |
static PostgresOffsetContext |
PostgresOffsetContext.initialContext(PostgresConnectorConfig connectorConfig,
PostgresConnection jdbcConnection,
Clock clock,
Lsn lastCommitLsn,
Lsn lastCompletelyProcessedLsn) |
void |
PostgresOffsetContext.setStreamingStoppingLsn(Lsn streamingStoppingLsn) |
protected SourceInfo |
SourceInfo.update(Lsn lsn,
Instant commitTime,
Long txId,
TableId tableId,
Long xmin) |
protected SourceInfo |
SourceInfo.update(Lsn lsn,
Instant commitTime,
Long txId,
TableId tableId,
Long xmin,
Lsn lastCommitLsn)
Updates the source with information about a particular received or read event.
|
void |
PostgresOffsetContext.updateCommitPosition(Lsn lsn,
Lsn lastCompletelyProcessedLsn,
Instant commitTime,
Long txId,
TableId tableId,
Long xmin) |
void |
PostgresOffsetContext.updateWalPosition(Lsn lsn,
Lsn lastCompletelyProcessedLsn,
Instant commitTime,
Long txId,
TableId tableId,
Long xmin) |
| Constructor and Description |
|---|
PostgresOffsetContext(PostgresConnectorConfig connectorConfig,
Lsn lsn,
Lsn lastCompletelyProcessedLsn,
Lsn lastCommitLsn,
Long txId,
Instant time,
boolean snapshot,
boolean lastSnapshotRecord,
TransactionContext transactionContext) |
| Modifier and Type | Field and Description |
|---|---|
private Lsn |
PostgresReplicationConnection.defaultStartingPos |
private Lsn |
WalPositionLocator.firstLsnReceived |
static Lsn |
Lsn.INVALID_LSN
Zero is used indicate an invalid pointer.
|
private Lsn |
WalPositionLocator.lastCommitStoredLsn |
private Lsn |
WalPositionLocator.lastEventStoredLsn |
private Lsn |
ServerInfo.ReplicationSlot.latestFlushedLsn |
private Lsn |
WalPositionLocator.lsnAfterLastEventStoredLsn |
private Lsn |
ServerInfo.ReplicationSlot.restartLsn |
private Lsn |
WalPositionLocator.startStreamingLsn |
private Lsn |
WalPositionLocator.txStartLsn |
| Modifier and Type | Method and Description |
|---|---|
Lsn |
WalPositionLocator.getLastEventStoredLsn() |
Lsn |
ReplicationStream.lastReceivedLsn()
Returns the value for the latest server received LSN during a read operation.
|
protected Lsn |
ServerInfo.ReplicationSlot.latestFlushedLsn()
Represents the `confirmed_flushed_lsn` field of the replication slot.
|
private Lsn |
PostgresConnection.parseConfirmedFlushLsn(String slotName,
String pluginName,
String database,
ResultSet rs)
Obtains the LSN to resume streaming from.
|
private Lsn |
PostgresConnection.parseRestartLsn(String slotName,
String pluginName,
String database,
ResultSet rs) |
protected Lsn |
ServerInfo.ReplicationSlot.restartLsn()
Represents the `restart_lsn` field of the replication slot.
|
Lsn |
ReplicationStream.startLsn()
Returns the value for the LSN form which the streaming is executed.
|
private Lsn |
PostgresConnection.tryParseLsn(String slotName,
String pluginName,
String database,
ResultSet rs,
String column) |
static Lsn |
Lsn.valueOf(org.postgresql.replication.LogSequenceNumber value) |
static Lsn |
Lsn.valueOf(Long value) |
static Lsn |
Lsn.valueOf(String strValue)
Create LSN instance by string represent LSN.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Lsn> |
WalPositionLocator.resumeFromLsn(Lsn currentLsn,
ReplicationMessage message) |
| Modifier and Type | Method and Description |
|---|---|
int |
Lsn.compareTo(Lsn o) |
private ReplicationStream |
PostgresReplicationConnection.createReplicationStream(Lsn startLsn,
WalPositionLocator walPosition) |
void |
ReplicationStream.flushLsn(Lsn lsn)
Sends a message to the server informing it about that latest position in the WAL that has successfully been
processed.
|
Optional<Lsn> |
WalPositionLocator.resumeFromLsn(Lsn currentLsn,
ReplicationMessage message) |
boolean |
MessageDecoder.shouldMessageBeSkipped(ByteBuffer buffer,
Lsn lastReceivedLsn,
Lsn startLsn,
WalPositionLocator walPosition)
A callback into the decoder allowing it to decide whether the supplied message should be processed
by the decoder or whether it can be skipped.
|
boolean |
AbstractMessageDecoder.shouldMessageBeSkipped(ByteBuffer buffer,
Lsn lastReceivedLsn,
Lsn startLsn,
WalPositionLocator walPosition) |
boolean |
WalPositionLocator.skipMessage(Lsn lsn)
Decides whether the message with given LSN should be removed or not based on
previously located LSN point.
|
private org.postgresql.replication.PGReplicationStream |
PostgresReplicationConnection.startPgReplicationStream(Lsn lsn,
Function<org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder,org.postgresql.replication.fluent.logical.ChainedLogicalStreamBuilder> configurator) |
ReplicationStream |
ReplicationConnection.startStreaming(Lsn offset,
WalPositionLocator walPosition)
Opens a stream for reading logical replication changes from a given LSN position.
|
ReplicationStream |
PostgresReplicationConnection.startStreaming(Lsn offset,
WalPositionLocator walPosition) |
| Constructor and Description |
|---|
ReplicationSlot(boolean active,
Lsn latestFlushedLsn,
Lsn restartLsn,
Long catalogXmin) |
WalPositionLocator(Lsn lastCommitStoredLsn,
Lsn lastEventStoredLsn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PgOutputMessageDecoder.shouldMessageBeSkipped(ByteBuffer buffer,
Lsn lastReceivedLsn,
Lsn startLsn,
WalPositionLocator walPosition) |
| Modifier and Type | Field and Description |
|---|---|
private Lsn |
SlotState.latestFlushedLsn |
private Lsn |
OffsetState.lsn |
private Lsn |
SlotState.restartLsn |
private Lsn |
SlotCreationResult.walStartLsn |
| Modifier and Type | Method and Description |
|---|---|
Lsn |
OffsetState.lastSeenLsn() |
Lsn |
SlotState.slotLastFlushedLsn() |
Lsn |
SlotState.slotRestartLsn() |
Lsn |
SlotCreationResult.startLsn() |
| Constructor and Description |
|---|
OffsetState(Lsn lsn,
Long txId,
Long xmin,
Instant lastCommitTs,
boolean isSnapshot) |
SlotState(Lsn lastFlushLsn,
Lsn restartLsn,
Long catXmin,
boolean active) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.