Class KafkaLineageStream


  • public class KafkaLineageStream
    extends LineageStream
    KafkaLineageStream is responsible for sending open lineage events to kafka. The collect() method is called each time an open lineage event is emitted by the data platform.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void collect​(@NonNull java.lang.String eventAsString)
      Ths is the method that is called when a new lineage event is emitted from the data platform.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KafkaLineageStream

        public KafkaLineageStream​(@NonNull
                                  @NonNull KafkaConfig kafkaConfig)
    • Method Detail

      • collect

        public void collect​(@NonNull
                            @NonNull java.lang.String eventAsString)
        Description copied from class: LineageStream
        Ths is the method that is called when a new lineage event is emitted from the data platform. The specific destination class implements this method with the logic to send the event to its supported destination.
        Specified by:
        collect in class LineageStream
        Parameters:
        eventAsString - the OpenLineage event as a {code string} value