public class NonBlockingKafkaExporter<T extends com.google.protobuf.MessageLite>
extends java.lang.Object
implements io.confluent.telemetry.events.exporter.Exporter<io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T>>
Constructor and Description |
---|
NonBlockingKafkaExporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
NonBlockingKafkaExporterConfig |
config() |
void |
configure(java.util.Map<java.lang.String,?> configs) |
void |
emit(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event) |
java.time.Instant |
lastMetadataRefresh() |
java.util.Set<java.lang.String> |
reconfigurableConfigs() |
void |
reconfigure(java.util.Map<java.lang.String,?> configs) |
boolean |
routeReady(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event) |
void |
validateReconfiguration(java.util.Map<java.lang.String,?> configs) |
public void configure(java.util.Map<java.lang.String,?> configs)
configure
in interface org.apache.kafka.common.Configurable
public void emit(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event) throws java.lang.RuntimeException
emit
in interface io.confluent.telemetry.events.exporter.Exporter<io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T extends com.google.protobuf.MessageLite>>
java.lang.RuntimeException
public boolean routeReady(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event)
routeReady
in interface io.confluent.telemetry.events.exporter.Exporter<io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T extends com.google.protobuf.MessageLite>>
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception
public java.util.Set<java.lang.String> reconfigurableConfigs()
reconfigurableConfigs
in interface org.apache.kafka.common.Reconfigurable
public void validateReconfiguration(java.util.Map<java.lang.String,?> configs) throws org.apache.kafka.common.config.ConfigException
validateReconfiguration
in interface org.apache.kafka.common.Reconfigurable
org.apache.kafka.common.config.ConfigException
public void reconfigure(java.util.Map<java.lang.String,?> configs)
reconfigure
in interface org.apache.kafka.common.Reconfigurable
public java.time.Instant lastMetadataRefresh()
public NonBlockingKafkaExporterConfig config()