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.Configurablepublic 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 AutoCloseablepublic Set<String> reconfigurableConfigs()
reconfigurableConfigs in interface org.apache.kafka.common.Reconfigurablepublic void validateReconfiguration(Map<String,?> configs) throws org.apache.kafka.common.config.ConfigException
validateReconfiguration in interface org.apache.kafka.common.Reconfigurableorg.apache.kafka.common.config.ConfigExceptionpublic void reconfigure(Map<String,?> configs)
reconfigure in interface org.apache.kafka.common.Reconfigurablepublic Instant lastMetadataRefresh()
public NonBlockingKafkaExporterConfig config()