Package io.openlineage.client.transports
Class TransportFactory
- java.lang.Object
-
- io.openlineage.client.transports.TransportFactory
-
public final class TransportFactory extends java.lang.Object
A factory for creatingTransport
instances. ATransport
must define aTransportConfig
defining the set of parameters needed to construct a newTransport
instance. For example,HttpConfig
defines the parameters for constructing a newHttpTransport
instance when invokingbuild()
. Below, we define a list of supportedTransport
s. Note, when defining your ownTransportConfig
, thetype
parameter must be specified.- A default
ConsoleTransport
transport - A
HttpTransport
transport - A
KafkaTransport
transport
- A default
-
-
Constructor Summary
Constructors Constructor Description TransportFactory(@NonNull TransportConfig transportConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transport
build()
-
-
-
Constructor Detail
-
TransportFactory
public TransportFactory(@NonNull @NonNull TransportConfig transportConfig)
-
-
Method Detail
-
build
public Transport build()
-
-