Class ReconcilingBinlogReader.OffsetLimitPredicate

java.lang.Object
io.debezium.connector.mysql.legacy.ReconcilingBinlogReader.OffsetLimitPredicate
All Implemented Interfaces:
HaltingPredicate
Enclosing class:
ReconcilingBinlogReader

static class ReconcilingBinlogReader.OffsetLimitPredicate extends Object implements HaltingPredicate
A Predicate that returns false for any record beyond a given offset.
  • Field Details

    • leadingReaderFinalOffsetDocument

      private final Document leadingReaderFinalOffsetDocument
    • gtidFilter

      private final Predicate<String> gtidFilter
  • Constructor Details

  • Method Details

    • accepts

      public boolean accepts(org.apache.kafka.connect.source.SourceRecord sourceRecord)
      Description copied from interface: HaltingPredicate
      Whether this record should be processed by the calling reader or not.
      Specified by:
      accepts in interface HaltingPredicate