Class ChangeEvent

java.lang.Object
io.debezium.connector.postgresql.ChangeEvent

public class ChangeEvent extends Object
Container for SourceRecords and associated metadata
Author:
Jiri Pechanec
  • Field Details

    • record

      private final org.apache.kafka.connect.source.SourceRecord record
    • lastCompletelyProcessedLsn

      private final Long lastCompletelyProcessedLsn
      The last LSN of that was completely processed. Depending on the batching it is either LSN of a current record or LSN of the previous transaction.
  • Constructor Details

    • ChangeEvent

      public ChangeEvent(org.apache.kafka.connect.source.SourceRecord record, Long lastCompletelyProcessedLsn)
  • Method Details

    • getRecord

      public org.apache.kafka.connect.source.SourceRecord getRecord()
    • getLastCompletelyProcessedLsn

      public Long getLastCompletelyProcessedLsn()
    • toString

      public String toString()
      Overrides:
      toString in class Object