Package io.openlineage.client.transports
Class Transport
java.lang.Object
io.openlineage.client.transports.Transport
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CompositeTransport,ConsoleTransport,FileTransport,HttpTransport,KafkaTransport,NoopTransport,TransformTransport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()abstract voidemit(OpenLineage.DatasetEvent datasetEvent) abstract voidemit(OpenLineage.JobEvent jobEvent) abstract voidemit(OpenLineage.RunEvent runEvent) voidemit(OpenLineage.RunEvent runEvent, @NonNull Duration timeout) Emit the given run event with a bounded wait when supported by the transport.
-
Constructor Details
-
Transport
public Transport()
-
-
Method Details
-
emit
-
emit
-
emit
-
emit
Emit the given run event with a bounded wait when supported by the transport.The default implementation keeps regular emit behavior for transports that do not support delivery acknowledgement.
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-