Interface LogPositionValidator

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 LogPositionValidator
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    validate(Partition partition, OffsetContext offsetContext, CommonConnectorConfig config)
    Validate the stored offset with the position available in the db log.
  • Method Details

    • validate

      boolean validate(Partition partition, OffsetContext offsetContext, CommonConnectorConfig config)
      Validate the stored offset with the position available in the db log.
      Parameters:
      partition - The current stored partition.
      offsetContext - The current stored offset.
      config - Connector configuration.