Package io.debezium.connector.postgresql
Class ChangeEvent
- java.lang.Object
-
- io.debezium.connector.postgresql.ChangeEvent
-
public class ChangeEvent extends Object
Container forSourceRecords and associated metadata- Author:
- Jiri Pechanec
-
-
Field Summary
Fields Modifier and Type Field Description private LonglastCompletelyProcessedLsnThe last LSN of that was completely processed.private org.apache.kafka.connect.source.SourceRecordrecord
-
Constructor Summary
Constructors Constructor Description ChangeEvent(org.apache.kafka.connect.source.SourceRecord record, Long lastCompletelyProcessedLsn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetLastCompletelyProcessedLsn()org.apache.kafka.connect.source.SourceRecordgetRecord()StringtoString()
-
-
-
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)
-
-