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<O extends OffsetContext>Base class for Debezium's CDCSourceTaskimplementations. -
Uses of OffsetContext in io.debezium.pipeline
Classes in io.debezium.pipeline with type parameters of type OffsetContext Modifier and Type Class Description classChangeEventSourceCoordinator<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. offsetContextprivate OChangeEventSourceCoordinator. previousOffsetMethods 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(OffsetContext offset)voidEventDispatcher.BufferingSnapshotChangeRecordReceiver. changeRecord(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(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(DataCollectionSchema dataCollectionSchema, Envelope.Operation operation, Object key, org.apache.kafka.connect.data.Struct value, OffsetContext offsetContext, org.apache.kafka.connect.header.ConnectHeaders headers)voidEventDispatcher. dispatchHeartbeatEvent(OffsetContext offset)voidEventDispatcher. dispatchTransactionCommittedEvent(OffsetContext offset)voidEventDispatcher. dispatchTransactionStartedEvent(String transactionId, OffsetContext offset)Constructors in io.debezium.pipeline with parameters of type OffsetContext Constructor Description AbstractChangeRecordEmitter(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(String id, String type, String data, OffsetContext offset, org.apache.kafka.connect.data.Struct source)booleanSignal. process(org.apache.kafka.connect.data.Struct value, OffsetContext offset)Constructors in io.debezium.pipeline.signal with parameters of type OffsetContext Constructor Description Payload(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<O extends OffsetContext>An abstract implementation ofSnapshotChangeEventSourcethat all implementations should extend to inherit common functionality.static classAbstractSnapshotChangeEventSource.SnapshotContext<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 voidIncrementalSnapshotChangeEventSource. addDataCollectionNamesToSnapshot(List<String> dataCollectionIds, OffsetContext offsetContext)voidSignalBasedIncrementalSnapshotChangeEventSource. addDataCollectionNamesToSnapshot(List<String> dataCollectionIds, OffsetContext offsetContext)voidIncrementalSnapshotChangeEventSource. closeWindow(String id, EventDispatcher<T> dispatcher, OffsetContext offsetContext)voidSignalBasedIncrementalSnapshotChangeEventSource. closeWindow(String id, EventDispatcher<T> dispatcher, OffsetContext offsetContext)protected ChangeRecordEmitterSignalBasedIncrementalSnapshotChangeEventSource. getChangeRecordEmitter(T dataCollectionId, OffsetContext offsetContext, Object[] row)Returns aChangeRecordEmitterproducing the change records for the given table row.voidIncrementalSnapshotChangeEventSource. init(OffsetContext offsetContext)voidSignalBasedIncrementalSnapshotChangeEventSource. init(OffsetContext offsetContext)voidIncrementalSnapshotChangeEventSource. processMessage(DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)voidSignalBasedIncrementalSnapshotChangeEventSource. processMessage(DataCollectionId dataCollectionId, Object key, OffsetContext offsetContext)protected voidSignalBasedIncrementalSnapshotChangeEventSource. sendEvent(EventDispatcher<T> dispatcher, OffsetContext offsetContext, Object[] row) -
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<O extends OffsetContext>A factory for creatingChangeEventSources specific to one database.interfaceSnapshotChangeEventSource<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<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.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 <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(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(OffsetContext offsetContext)voidTransactionMonitor. dataEvent(DataCollectionId source, OffsetContext offset, Object key, org.apache.kafka.connect.data.Struct value)private voidTransactionMonitor. endTransaction(OffsetContext offsetContext)voidTransactionMonitor. transactionComittedEvent(OffsetContext offset)private voidTransactionMonitor. transactionEvent(OffsetContext offsetContext, DataCollectionId source, org.apache.kafka.connect.data.Struct value)voidTransactionMonitor. transactionStartedEvent(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<O extends OffsetContext>Base class forSnapshotChangeEventSourcefor relational databases with or without a schema history.static classRelationalSnapshotChangeEventSource.RelationalSnapshotContext<O extends OffsetContext>Mutable context which is populated in the course of snapshotting.Methods in io.debezium.relational with parameters of type OffsetContext Modifier and Type Method Description voidHistorizedRelationalDatabaseSchema. recover(OffsetContext offset)Constructors in io.debezium.relational with parameters of type OffsetContext Constructor Description RelationalChangeRecordEmitter(OffsetContext offsetContext, Clock clock)SnapshotChangeRecordEmitter(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 voidHistorizedDatabaseSchema. recover(OffsetContext offset)
-