Interface HaltingPredicate

All Known Implementing Classes:
AbstractReader.AcceptAllPredicate, ParallelSnapshotReader.ParallelHaltingPredicate, ReconcilingBinlogReader.OffsetLimitPredicate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface HaltingPredicate
A predicate invoked by Reader implementations in order to determine whether they should continue with processing records or not.
Author:
Gunnar Morling
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accepts(org.apache.kafka.connect.source.SourceRecord record)
    Whether this record should be processed by the calling reader or not.
  • Method Details

    • accepts

      boolean accepts(org.apache.kafka.connect.source.SourceRecord record)
      Whether this record should be processed by the calling reader or not.