public class LogExporter extends Object implements Exporter<io.confluent.telemetry.api.events.Event>
Constructor and Description |
---|
LogExporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> configs) |
CompletableFuture<Boolean> |
emit(io.confluent.telemetry.api.events.Event event)
Filter and transform the events as appropriate and send to the specified destination.
|
Set<String> |
reconfigurableConfigs() |
void |
reconfigure(Map<String,?> configs) |
boolean |
routeReady(io.confluent.telemetry.api.events.Event event)
Checks if a topic is ready.
|
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)
Exporter
public boolean routeReady(io.confluent.telemetry.api.events.Event event)
Exporter
routeReady
in interface Exporter<io.confluent.telemetry.api.events.Event>
public void close() throws Exception
close
in interface AutoCloseable
Exception
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