Interface CdcSourceValidator

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 CdcSourceValidator
Validator for a CdcSource to ensure the source definition is ready to read data from.
  • Method Summary

    Modifier and Type
    Method
    Description
    Performs checks to ensure the source is ready for reading data.
  • Method Details

    • validate

      List<Violation> validate(SourceDefinition definition)
      Performs checks to ensure the source is ready for reading data.
      Parameters:
      definition - The definition of the source to perform checks against.
      Returns:
      A list of violations that may be empty if no problems were found for the source.