Package io.openlineage.proxy.api.models
Class HttpLineageStream
- java.lang.Object
-
- io.openlineage.proxy.api.models.LineageStream
-
- io.openlineage.proxy.api.models.HttpLineageStream
-
public class HttpLineageStream extends LineageStream
HttpLineageStream pushes events to http endpoint
-
-
Constructor Summary
Constructors Constructor Description HttpLineageStream(@NonNull HttpConfig httpConfig)
-
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
-
HttpLineageStream
public HttpLineageStream(@NonNull @NonNull HttpConfig httpConfig)
-
-
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
-
-