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) |
void |
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.Configurablepublic void emit(io.confluent.telemetry.api.events.Event event)
Exporterpublic boolean routeReady(io.confluent.telemetry.api.events.Event event)
ExporterrouteReady in interface Exporter<io.confluent.telemetry.api.events.Event>public void close()
throws Exception
close in interface AutoCloseableExceptionpublic 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.ConfigException