Package io.debezium.connector.informix
Class InformixTransactionMonitor
java.lang.Object
io.debezium.pipeline.txmetadata.TransactionMonitor
io.debezium.connector.informix.InformixTransactionMonitor
public class InformixTransactionMonitor
extends io.debezium.pipeline.txmetadata.TransactionMonitor
-
Field Summary
Fields inherited from class io.debezium.pipeline.txmetadata.TransactionMonitor
DEBEZIUM_TRANSACTION_COLLECTION_KEY, DEBEZIUM_TRANSACTION_DATA_COLLECTION_ORDER_KEY, DEBEZIUM_TRANSACTION_DATA_COLLECTIONS_KEY, DEBEZIUM_TRANSACTION_EVENT_COUNT_KEY, DEBEZIUM_TRANSACTION_ID_KEY, DEBEZIUM_TRANSACTION_KEY, DEBEZIUM_TRANSACTION_STATUS_KEY, DEBEZIUM_TRANSACTION_TOTAL_ORDER_KEY, DEBEZIUM_TRANSACTION_TS_MS, TRANSACTION_BLOCK_SCHEMA, transactionKeySchema, transactionValueSchema -
Constructor Summary
ConstructorsConstructorDescriptionInformixTransactionMonitor(io.debezium.config.CommonConnectorConfig connectorConfig, io.debezium.pipeline.source.spi.EventMetadataProvider eventMetadataProvider, io.debezium.schema.SchemaNameAdjuster schemaNameAdjuster, io.debezium.function.BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> sender, String topicName) -
Method Summary
Modifier and TypeMethodDescriptionprivate org.apache.kafka.connect.data.StructadjustTxId(org.apache.kafka.connect.data.Struct txStruct, io.debezium.pipeline.spi.OffsetContext offsetContext) protected org.apache.kafka.connect.data.StructprepareTxBeginValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp) protected org.apache.kafka.connect.data.StructprepareTxEndValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp) protected org.apache.kafka.connect.data.StructprepareTxKey(io.debezium.pipeline.spi.OffsetContext offsetContext) protected org.apache.kafka.connect.data.StructprepareTxStruct(io.debezium.pipeline.spi.OffsetContext offsetContext, long dataCollectionEventOrder, org.apache.kafka.connect.data.Struct value) Methods inherited from class io.debezium.pipeline.txmetadata.TransactionMonitor
dataEvent, transactionComittedEvent, transactionStartedEvent
-
Constructor Details
-
InformixTransactionMonitor
public InformixTransactionMonitor(io.debezium.config.CommonConnectorConfig connectorConfig, io.debezium.pipeline.source.spi.EventMetadataProvider eventMetadataProvider, io.debezium.schema.SchemaNameAdjuster schemaNameAdjuster, io.debezium.function.BlockingConsumer<org.apache.kafka.connect.source.SourceRecord> sender, String topicName)
-
-
Method Details
-
prepareTxKey
protected org.apache.kafka.connect.data.Struct prepareTxKey(io.debezium.pipeline.spi.OffsetContext offsetContext) - Overrides:
prepareTxKeyin classio.debezium.pipeline.txmetadata.TransactionMonitor
-
prepareTxBeginValue
protected org.apache.kafka.connect.data.Struct prepareTxBeginValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp) - Overrides:
prepareTxBeginValuein classio.debezium.pipeline.txmetadata.TransactionMonitor
-
prepareTxEndValue
protected org.apache.kafka.connect.data.Struct prepareTxEndValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp) - Overrides:
prepareTxEndValuein classio.debezium.pipeline.txmetadata.TransactionMonitor
-
prepareTxStruct
protected org.apache.kafka.connect.data.Struct prepareTxStruct(io.debezium.pipeline.spi.OffsetContext offsetContext, long dataCollectionEventOrder, org.apache.kafka.connect.data.Struct value) - Overrides:
prepareTxStructin classio.debezium.pipeline.txmetadata.TransactionMonitor
-
adjustTxId
private org.apache.kafka.connect.data.Struct adjustTxId(org.apache.kafka.connect.data.Struct txStruct, io.debezium.pipeline.spi.OffsetContext offsetContext)
-