Package io.openlineage.client.transports
Class KafkaTransport
- java.lang.Object
-
- io.openlineage.client.transports.Transport
-
- io.openlineage.client.transports.KafkaTransport
-
public final class KafkaTransport extends Transport
-
-
Constructor Summary
Constructors Constructor Description KafkaTransport(@NonNull KafkaConfig kafkaConfig)
KafkaTransport(@NonNull org.apache.kafka.clients.producer.KafkaProducer<java.lang.String,java.lang.String> kafkaProducer, @NonNull KafkaConfig kafkaConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
emit(OpenLineage.DatasetEvent datasetEvent)
void
emit(OpenLineage.JobEvent jobEvent)
void
emit(OpenLineage.RunEvent runEvent)
-
-
-
Constructor Detail
-
KafkaTransport
public KafkaTransport(@NonNull @NonNull KafkaConfig kafkaConfig)
-
KafkaTransport
public KafkaTransport(@NonNull @NonNull org.apache.kafka.clients.producer.KafkaProducer<java.lang.String,java.lang.String> kafkaProducer, @NonNull @NonNull KafkaConfig kafkaConfig)
-
-
Method Detail
-
emit
public void emit(@NonNull OpenLineage.RunEvent runEvent)
-
emit
public void emit(@NonNull OpenLineage.DatasetEvent datasetEvent)
-
emit
public void emit(@NonNull OpenLineage.JobEvent jobEvent)
-
-