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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOffsetLimitPredicate(Map<String, ?> leadingReaderFinalOffset, Predicate<String> gtidFilter) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepts(org.apache.kafka.connect.source.SourceRecord sourceRecord) Whether this record should be processed by the calling reader or not.
-
Field Details
-
leadingReaderFinalOffsetDocument
-
gtidFilter
-
-
Constructor Details
-
OffsetLimitPredicate
-
-
Method Details
-
accepts
public boolean accepts(org.apache.kafka.connect.source.SourceRecord sourceRecord) Description copied from interface:HaltingPredicateWhether this record should be processed by the calling reader or not.- Specified by:
acceptsin interfaceHaltingPredicate
-