Interface StructGenerator

  • 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 StructGenerator
    A function that converts one change event row (from a snapshot select, or from before/after state of a log event) into the corresponding Kafka Connect key or value Struct.
    • Method Detail

      • generateValue

        org.apache.kafka.connect.data.Struct generateValue​(Object[] values)
        Converts the given tuple into a corresponding change event key or value struct.