Class ChangeEvent


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

      • 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 Detail

      • ChangeEvent

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

      • getRecord

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

        public Long getLastCompletelyProcessedLsn()