Uses of Interface
io.debezium.pipeline.spi.Partition
Package
Description
-
Uses of Partition in io.debezium.connector.common
Modifier and TypeClassDescriptionclass
BaseSourceTask<P extends Partition,
O extends OffsetContext> Base class for Debezium's CDCSourceTask
implementations.class
OffsetReader<P extends Partition,
O extends OffsetContext, L extends OffsetContext.Loader<O>> Provides access to the partition offsets stored by connectors.Modifier and TypeMethodDescriptionCdcSourceTaskContext.configureLoggingContext
(String contextName, Partition partition) -
Uses of Partition in io.debezium.pipeline
Modifier and TypeClassDescriptionclass
AbstractChangeRecordEmitter<P extends Partition,
T extends DataCollectionSchema> An abstract implementation ofChangeRecordEmitter
.class
ChangeEventSourceCoordinator<P extends Partition,
O extends OffsetContext> Coordinates one or moreChangeEventSource
s and executes them in order.class
EventDispatcher<P extends Partition,
T extends DataCollectionId> Central dispatcher for data change and schema change events.static interface
EventDispatcher.InconsistentSchemaHandler<P extends Partition,
T extends DataCollectionId> Reaction to an incoming change event for which schema is not foundstatic interface
EventDispatcher.SnapshotReceiver<P extends Partition>
Change record receiver used during snapshotting. -
Uses of Partition in io.debezium.pipeline.metrics
Modifier and TypeInterfaceDescriptioninterface
ChangeEventSourceMetrics<P extends Partition>
Common API for all change event source metrics regardless of the connector phase.class
DefaultChangeEventSourceMetricsFactory<P extends Partition>
class
DefaultSnapshotChangeEventSourceMetrics<P extends Partition>
The default implementation of metrics related to the snapshot phase of a connector.class
The default implementation of metrics related to the streaming phase of a connector.class
PipelineMetrics<P extends Partition>
Base for metrics implementations.interface
SnapshotChangeEventSourceMetrics<P extends Partition>
Metrics related to the snapshot phase of a connector.interface
StreamingChangeEventSourceMetrics<P extends Partition>
Metrics related to the streaming phase of a connector. -
Uses of Partition in io.debezium.pipeline.metrics.spi
Modifier and TypeInterfaceDescriptioninterface
ChangeEventSourceMetricsFactory<P extends Partition>
A factory for creatingSnapshotChangeEventSourceMetrics
andStreamingChangeEventSourceMetrics
. -
Uses of Partition in io.debezium.pipeline.signal
Modifier and TypeClassDescriptionclass
AbstractSnapshotSignal<P extends Partition>
class
ExecuteSnapshot<P extends Partition>
The action to trigger an ad-hoc snapshot.class
class
PauseIncrementalSnapshot<P extends Partition>
class
ResumeIncrementalSnapshot<P extends Partition>
class
SchemaChanges<P extends Partition>
class
The class responsible for processing of signals delivered to Debezium via a dedicated signaling table.static interface
Signal.Action<P extends Partition>
static class
Signal.Payload<P extends Partition>
class
StopSnapshot<P extends Partition>
The action to stop an ad-hoc snapshot. -
Uses of Partition in io.debezium.pipeline.source
Modifier and TypeClassDescriptionclass
AbstractSnapshotChangeEventSource<P extends Partition,
O extends OffsetContext> An abstract implementation ofSnapshotChangeEventSource
that all implementations should extend to inherit common functionality.static class
AbstractSnapshotChangeEventSource.SnapshotContext<P extends Partition,
O extends OffsetContext> Mutable context which is populated in the course of snapshotting -
Uses of Partition in io.debezium.pipeline.source.snapshot.incremental
Modifier and TypeClassDescriptionclass
AbstractIncrementalSnapshotChangeEventSource<P extends Partition,
T extends DataCollectionId> An incremental snapshot change event source that emits events from a DB log interleaved with snapshot events.class
CloseIncrementalSnapshotWindow<P extends Partition>
interface
IncrementalSnapshotChangeEventSource<P extends Partition,
T extends DataCollectionId> A Contract tclass
OpenIncrementalSnapshotWindow<P extends Partition>
class
SignalBasedIncrementalSnapshotChangeEventSource<P extends Partition,
T extends DataCollectionId> Modifier and TypeMethodDescriptionprotected void
SignalBasedIncrementalSnapshotChangeEventSource.emitWindowClose
(Partition partition) void
SignalBasedIncrementalSnapshotChangeEventSource.processMessage
(Partition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext) -
Uses of Partition in io.debezium.pipeline.source.spi
Modifier and TypeInterfaceDescriptioninterface
ChangeEventSourceFactory<P extends Partition,
O extends OffsetContext> A factory for creatingChangeEventSource
s specific to one database.interface
DataChangeEventListener<P extends Partition>
A class invoked byEventDispatcher
whenever an event is available for processing.interface
SnapshotChangeEventSource<P extends Partition,
O extends OffsetContext> A change event source that emits events for taking a consistent snapshot of the captured tables, which may include schema and data information.interface
SnapshotProgressListener<P extends Partition>
Invoked whenever an important event or change of state happens during the snapshot phase.interface
StreamingChangeEventSource<P extends Partition,
O extends OffsetContext> A change event source that emits events from a DB log, such as MySQL's binlog or similar.Modifier and TypeMethodDescriptionstatic <P extends Partition>
DataChangeEventListener<P>DataChangeEventListener.NO_OP()
static <P extends Partition>
SnapshotProgressListener<P>SnapshotProgressListener.NO_OP()
-
Uses of Partition in io.debezium.pipeline.spi
Modifier and TypeInterfaceDescriptioninterface
ChangeRecordEmitter<P extends Partition>
Represents a change applied to a source database and emits one or more corresponding change records.static interface
ChangeRecordEmitter.Receiver<P extends Partition>
Callback passed toChangeRecordEmitter
s, allowing them to produce one or more change records.final class
Offsets<P extends Partition,
O extends OffsetContext> Keeps track the source partitions to be processed by the connector task and their respective offsets.static interface
Partition.Provider<P extends Partition>
Implementations provide a set of connector-specific partitions based on the connector task configuration.Modifier and TypeMethodDescriptionstatic <P extends Partition,
O extends OffsetContext>
Offsets<P,O> static <P extends Partition,
O extends OffsetContext>
Offsets<P,O> Offsets.of
(P partition, O position) -
Uses of Partition in io.debezium.pipeline.txmetadata
Modifier and TypeMethodDescriptionprivate void
TransactionMonitor.beginTransaction
(Partition partition, OffsetContext offsetContext, Instant timestamp) void
TransactionMonitor.dataEvent
(Partition partition, DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value) private void
TransactionMonitor.endTransaction
(Partition partition, OffsetContext offsetContext, Instant timestamp) void
TransactionMonitor.transactionComittedEvent
(Partition partition, OffsetContext offset, Instant timestamp) void
TransactionMonitor.transactionStartedEvent
(Partition partition, String transactionId, OffsetContext offset, Instant timestamp) -
Uses of Partition in io.debezium.relational
Modifier and TypeClassDescriptionclass
RelationalChangeRecordEmitter<P extends Partition>
Base class forChangeRecordEmitter
implementations based on a relational database.class
RelationalSnapshotChangeEventSource<P extends Partition,
O extends OffsetContext> Base class forSnapshotChangeEventSource
for relational databases with or without a schema history.static class
RelationalSnapshotChangeEventSource.RelationalSnapshotContext<P extends Partition,
O extends OffsetContext> Mutable context which is populated in the course of snapshotting.class
SnapshotChangeRecordEmitter<P extends Partition>
Emits change data based on a single row read via JDBC.Modifier and TypeClassDescriptionclass
An abstract implementation ofPartition
which provides default facilities for logging. -
Uses of Partition in io.debezium.schema
Modifier and TypeMethodDescriptionstatic SchemaChangeEvent
SchemaChangeEvent.of
(SchemaChangeEvent.SchemaChangeEventType type, Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table, boolean isFromSnapshot) Create a schema change event for any event type that does not involve a table rename.static SchemaChangeEvent
SchemaChangeEvent.ofAlter
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table) Create a schema change event for aALTER TABLE
event.static SchemaChangeEvent
SchemaChangeEvent.ofCreate
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table, boolean isFromSnapshot) Create a schema change event for aCREATE TABLE
statement with DDL.static SchemaChangeEvent
SchemaChangeEvent.ofDatabase
(Partition partition, OffsetContext offsetContext, String databaseName, String ddl, boolean isFromSnapshot) Create a schema change event for a database-specific DDL operation.static SchemaChangeEvent
SchemaChangeEvent.ofDrop
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table) Create a schema change event for aDROP TABLE
event.static SchemaChangeEvent
SchemaChangeEvent.ofRename
(Partition partition, OffsetContext offsetContext, String databaseName, String schemaName, String ddl, Table table, TableId previousTableId) Create a schema change event for aALTER TABLE RENAME
event.static SchemaChangeEvent
SchemaChangeEvent.ofSnapshotCreate
(Partition partition, OffsetContext offsetContext, String databaseName, Table table) Create a schema change event for aCREATE TABLE
statement without DDL from snapshot phase.default void
HistorizedDatabaseSchema.recover
(Partition partition, OffsetContext offset) -
Uses of Partition in io.debezium.util