public class NonBlockingKafkaExporter extends Object implements io.confluent.telemetry.events.exporter.Exporter<io.confluent.telemetry.api.events.Event>
Constructor and Description |
---|
NonBlockingKafkaExporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
NonBlockingKafkaExporterConfig |
config() |
void |
configure(Map<String,?> configs) |
CompletableFuture<Boolean> |
emit(io.confluent.telemetry.api.events.Event event) |
CompletableFuture<Boolean> |
emit(io.confluent.telemetry.api.events.Event event,
Runnable onSuccess,
Runnable onFailure) |
Instant |
lastMetadataRefresh() |
Set<String> |
reconfigurableConfigs() |
void |
reconfigure(Map<String,?> configs) |
boolean |
routeReady(io.confluent.telemetry.api.events.Event event) |
void |
validateReconfiguration(Map<String,?> configs) |
public void configure(Map<String,?> configs)
configure
in interface org.apache.kafka.common.Configurable
public CompletableFuture<Boolean> emit(io.confluent.telemetry.api.events.Event event)
emit
in interface io.confluent.telemetry.events.exporter.Exporter<io.confluent.telemetry.api.events.Event>
public CompletableFuture<Boolean> emit(io.confluent.telemetry.api.events.Event event, Runnable onSuccess, Runnable onFailure)
public boolean routeReady(io.confluent.telemetry.api.events.Event event)
routeReady
in interface io.confluent.telemetry.events.exporter.Exporter<io.confluent.telemetry.api.events.Event>
public void close()
close
in interface AutoCloseable
public Set<String> reconfigurableConfigs()
reconfigurableConfigs
in interface org.apache.kafka.common.Reconfigurable
public void validateReconfiguration(Map<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(Map<String,?> configs)
reconfigure
in interface org.apache.kafka.common.Reconfigurable
public Instant lastMetadataRefresh()
public NonBlockingKafkaExporterConfig config()