Package io.openlineage.proxy.api.models
Class KafkaLineageStream
- java.lang.Object
-
- io.openlineage.proxy.api.models.LineageStream
-
- io.openlineage.proxy.api.models.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.
-
-
Constructor Summary
Constructors Constructor Description KafkaLineageStream(@NonNull KafkaConfig kafkaConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollect(@NonNull java.lang.String eventAsString)Ths is the method that is called when a new lineage event is emitted from the data platform.
-
-
-
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:LineageStreamThs 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:
collectin classLineageStream- Parameters:
eventAsString- the OpenLineage event as a {code string} value
-
-