Uses of Interface
io.debezium.pipeline.spi.OffsetContext
-
-
Uses of OffsetContext in io.debezium.connector.common
Classes in io.debezium.connector.common with type parameters of type OffsetContext Modifier and Type Class Description classBaseSourceTask<P extends Partition,O extends OffsetContext>Base class for Debezium's CDCSourceTaskimplementations.classOffsetReader<P extends Partition,O extends OffsetContext,L extends OffsetContext.Loader<O>>Provides access to the partition offsets stored by connectors. -
Uses of OffsetContext in io.debezium.pipeline
Classes in io.debezium.pipeline with type parameters of type OffsetContext Modifier and Type Class Description classChangeEventSourceCoordinator<P extends Partition,O extends OffsetContext>Coordinates one or moreChangeEventSources and executes them in order.Fields in io.debezium.pipeline declared as OffsetContext Modifier and Type Field Description private OffsetContextAbstractChangeRecordEmitter. offsetContextMethods in io.debezium.pipeline that return OffsetContext Modifier and Type Method Description OffsetContextAbstractChangeRecordEmitter. getOffset()Methods in io.debezium.pipeline with parameters of type OffsetContext Modifier and Type Method Description voidEventDispatcher. alwaysDispatchHeartbeatEvent(Partition partition, OffsetContext offset)voidEventDispatcher.BufferingSnapshotChangeRecordReceiver. changeRecord(Partition partition, DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers)voidEventDispatcher.IncrementalSnapshotChangeRecordReceiver. changeRecord(Partition partition, DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers)voidEventDispatcher.StreamingChangeRecordReceiver. changeRecord(Partition partition, DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers)voidEventDispatcher. dispatchFilteredEvent(Partition partition, OffsetContext offset)voidEventDispatcher. dispatchHeartbeatEvent(Partition partition, OffsetContext offset)voidEventDispatcher. dispatchServerHeartbeatEvent(Partition partition, OffsetContext offset)voidEventDispatcher. dispatchTransactionCommittedEvent(Partition partition, OffsetContext offset)voidEventDispatcher. dispatchTransactionStartedEvent(Partition partition, String transactionId, OffsetContext offset)Constructors in io.debezium.pipeline with parameters of type OffsetContext Constructor Description AbstractChangeRecordEmitter(Partition partition, OffsetContext offsetContext, Clock clock) -
Uses of OffsetContext in io.debezium.pipeline.metrics
Methods in io.debezium.pipeline.metrics with parameters of type OffsetContext Modifier and Type Method Description voidPipelineMetrics. onEvent(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)voidStreamingChangeEventSourceMetrics. onEvent(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value) -
Uses of OffsetContext in io.debezium.pipeline.signal
Fields in io.debezium.pipeline.signal declared as OffsetContext Modifier and Type Field Description OffsetContextSignal.Payload. offsetContextMethods in io.debezium.pipeline.signal with parameters of type OffsetContext Modifier and Type Method Description booleanSignal. process(Partition partition, String id, String type, String data, OffsetContext offset, org.apache.kafka.connect.data.Struct source)booleanSignal. process(Partition partition, org.apache.kafka.connect.data.Struct value, OffsetContext offset)Constructors in io.debezium.pipeline.signal with parameters of type OffsetContext Constructor Description Payload(Partition partition, String id, String type, Document data, OffsetContext offsetContext, org.apache.kafka.connect.data.Struct source) -
Uses of OffsetContext in io.debezium.pipeline.source
Classes in io.debezium.pipeline.source with type parameters of type OffsetContext Modifier and Type Class Description classAbstractSnapshotChangeEventSource<P extends Partition,O extends OffsetContext>An abstract implementation ofSnapshotChangeEventSourcethat all implementations should extend to inherit common functionality.static classAbstractSnapshotChangeEventSource.SnapshotContext<P extends Partition,O extends OffsetContext>Mutable context which is populated in the course of snapshottingFields in io.debezium.pipeline.source declared as OffsetContext Modifier and Type Field Description OAbstractSnapshotChangeEventSource.SnapshotContext. offset -
Uses of OffsetContext in io.debezium.pipeline.source.snapshot.incremental
Methods in io.debezium.pipeline.source.snapshot.incremental with parameters of type OffsetContext Modifier and Type Method Description voidAbstractIncrementalSnapshotChangeEventSource. addDataCollectionNamesToSnapshot(List<String> dataCollectionIds, OffsetContext offsetContext)voidIncrementalSnapshotChangeEventSource. addDataCollectionNamesToSnapshot(List<String> dataCollectionIds, OffsetContext offsetContext)voidAbstractIncrementalSnapshotChangeEventSource. closeWindow(Partition partition, String id, OffsetContext offsetContext)voidIncrementalSnapshotChangeEventSource. closeWindow(Partition partition, String id, OffsetContext offsetContext)protected ChangeRecordEmitterAbstractIncrementalSnapshotChangeEventSource. getChangeRecordEmitter(Partition partition, T dataCollectionId, OffsetContext offsetContext, Object[] row)Returns aChangeRecordEmitterproducing the change records for the given table row.voidAbstractIncrementalSnapshotChangeEventSource. init(OffsetContext offsetContext)voidIncrementalSnapshotChangeEventSource. init(OffsetContext offsetContext)default voidIncrementalSnapshotChangeEventSource. processFilteredEvent(Partition partition, OffsetContext offsetContext)default voidIncrementalSnapshotChangeEventSource. processHeartbeat(Partition partition, OffsetContext offsetContext)voidIncrementalSnapshotChangeEventSource. processMessage(Partition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)voidSignalBasedIncrementalSnapshotChangeEventSource. processMessage(Partition partition, DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)default voidIncrementalSnapshotChangeEventSource. processTransactionCommittedEvent(Partition partition, OffsetContext offsetContext)default voidIncrementalSnapshotChangeEventSource. processTransactionStartedEvent(Partition partition, OffsetContext offsetContext)protected voidAbstractIncrementalSnapshotChangeEventSource. sendEvent(Partition partition, EventDispatcher<T> dispatcher, OffsetContext offsetContext, Object[] row)protected voidAbstractIncrementalSnapshotChangeEventSource. sendWindowEvents(Partition partition, OffsetContext offsetContext) -
Uses of OffsetContext in io.debezium.pipeline.source.spi
Classes in io.debezium.pipeline.source.spi with type parameters of type OffsetContext Modifier and Type Interface Description interfaceChangeEventSourceFactory<P extends Partition,O extends OffsetContext>A factory for creatingChangeEventSources specific to one database.interfaceSnapshotChangeEventSource<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.interfaceStreamingChangeEventSource<P extends Partition,O extends OffsetContext>A change event source that emits events from a DB log, such as MySQL's binlog or similar.Methods in io.debezium.pipeline.source.spi with parameters of type OffsetContext Modifier and Type Method Description Map<String,String>EventMetadataProvider. getEventSourcePosition(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)InstantEventMetadataProvider. getEventTimestamp(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)StringEventMetadataProvider. getTransactionId(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)voidDataChangeEventListener. onEvent(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)Invoked if an event is processed for a captured table.default StringEventMetadataProvider. toSummaryString(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value) -
Uses of OffsetContext in io.debezium.pipeline.spi
Classes in io.debezium.pipeline.spi with type parameters of type OffsetContext Modifier and Type Interface Description static interfaceOffsetContext.Loader<O extends OffsetContext>Implementations load a connector-specific offset context based on the offset values stored in Kafka.classOffsets<P extends Partition,O extends OffsetContext>Keeps track the source partitions to be processed by the connector task and their respective offsets.classSnapshotResult<O extends OffsetContext>Fields in io.debezium.pipeline.spi declared as OffsetContext Modifier and Type Field Description private OSnapshotResult. offsetMethods in io.debezium.pipeline.spi with type parameters of type OffsetContext Modifier and Type Method Description static <O extends OffsetContext>
SnapshotResult<O>SnapshotResult. aborted()static <O extends OffsetContext>
SnapshotResult<O>SnapshotResult. completed(O offset)static <P extends Partition,O extends OffsetContext>
Offsets<P,O>Offsets. of(Map<P,O> offsets)static <P extends Partition,O extends OffsetContext>
Offsets<P,O>Offsets. of(P partition, O position)static <O extends OffsetContext>
SnapshotResult<O>SnapshotResult. skipped(O offset)Methods in io.debezium.pipeline.spi that return OffsetContext Modifier and Type Method Description OffsetContextChangeRecordEmitter. getOffset()Returns the offset of the change record(s) emitted.Methods in io.debezium.pipeline.spi with parameters of type OffsetContext Modifier and Type Method Description voidChangeRecordEmitter.Receiver. changeRecord(Partition partition, DataCollectionSchema schema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offset, org.apache.kafka.connect.header.ConnectHeaders headers) -
Uses of OffsetContext in io.debezium.pipeline.txmetadata
Methods in io.debezium.pipeline.txmetadata with parameters of type OffsetContext Modifier and Type Method Description private voidTransactionMonitor. beginTransaction(Partition partition, OffsetContext offsetContext)voidTransactionMonitor. dataEvent(Partition partition, DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)private voidTransactionMonitor. endTransaction(Partition partition, OffsetContext offsetContext)voidTransactionMonitor. transactionComittedEvent(Partition partition, OffsetContext offset)private voidTransactionMonitor. transactionEvent(OffsetContext offsetContext, DataCollectionId source, org.apache.kafka.connect.data.Struct value)voidTransactionMonitor. transactionStartedEvent(Partition partition, String transactionId, OffsetContext offset) -
Uses of OffsetContext in io.debezium.relational
Classes in io.debezium.relational with type parameters of type OffsetContext Modifier and Type Class Description classRelationalSnapshotChangeEventSource<P extends Partition,O extends OffsetContext>Base class forSnapshotChangeEventSourcefor relational databases with or without a schema history.static classRelationalSnapshotChangeEventSource.RelationalSnapshotContext<P extends Partition,O extends OffsetContext>Mutable context which is populated in the course of snapshotting.Constructors in io.debezium.relational with parameters of type OffsetContext Constructor Description RelationalChangeRecordEmitter(Partition partition, OffsetContext offsetContext, Clock clock)SnapshotChangeRecordEmitter(Partition partition, OffsetContext offset, Object[] row, Clock clock) -
Uses of OffsetContext in io.debezium.schema
Methods in io.debezium.schema with parameters of type OffsetContext Modifier and Type Method Description default voidHistorizedDatabaseSchema. recover(Partition partition, OffsetContext offset)
-