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_ID_KEY, TRANSACTION_BLOCK_SCHEMA, transactionKeySchema
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    private org.apache.kafka.connect.data.Struct
    adjustTxId(org.apache.kafka.connect.data.Struct txStruct, io.debezium.pipeline.spi.OffsetContext offsetContext)
     
    protected org.apache.kafka.connect.data.Struct
    prepareTxBeginValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp)
     
    protected org.apache.kafka.connect.data.Struct
    prepareTxEndValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp)
     
    protected org.apache.kafka.connect.data.Struct
    prepareTxKey(io.debezium.pipeline.spi.OffsetContext offsetContext)
     
    protected org.apache.kafka.connect.data.Struct
    prepareTxStruct(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      prepareTxKey in class io.debezium.pipeline.txmetadata.TransactionMonitor
    • prepareTxBeginValue

      protected org.apache.kafka.connect.data.Struct prepareTxBeginValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp)
      Overrides:
      prepareTxBeginValue in class io.debezium.pipeline.txmetadata.TransactionMonitor
    • prepareTxEndValue

      protected org.apache.kafka.connect.data.Struct prepareTxEndValue(io.debezium.pipeline.spi.OffsetContext offsetContext, Instant timestamp)
      Overrides:
      prepareTxEndValue in class io.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:
      prepareTxStruct in class io.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)