| Package | Description |
|---|---|
| io.debezium.relational | |
| io.debezium.relational.history |
| Modifier and Type | Method and Description |
|---|---|
protected abstract HistoryRecordComparator |
HistorizedRelationalDatabaseConnectorConfig.getHistoryRecordComparator()
Returns a comparator to be used when recovering records from the schema history, making sure no history entries
newer than the offset we resume from are recovered (which could happen when restarting a connector after history
records have been persisted but no new offset has been committed yet).
|
| Modifier and Type | Field and Description |
|---|---|
private HistoryRecordComparator |
AbstractDatabaseHistory.comparator |
static HistoryRecordComparator |
HistoryRecordComparator.INSTANCE
A comparator instance that requires the
records' sources to be the same and considers only
those fields that are in both records' positions. |
| Modifier and Type | Method and Description |
|---|---|
static HistoryRecordComparator |
HistoryRecordComparator.usingPositions(BiFunction<Document,Document,Boolean> positionComparator)
Create a
HistoryRecordComparator that requires identical sources but will use the supplied function to compare
positions. |
| Modifier and Type | Method and Description |
|---|---|
void |
KafkaDatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema) |
void |
FileDatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema) |
void |
DatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema)
Configure this instance.
|
void |
AbstractDatabaseHistory.configure(Configuration config,
HistoryRecordComparator comparator,
DatabaseHistoryListener listener,
boolean useCatalogBeforeSchema) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.