Class LogExporter
java.lang.Object
io.confluent.telemetry.events.exporter.log.LogExporter
- All Implemented Interfaces:
Exporter<io.confluent.telemetry.api.events.Event>, AutoCloseable, org.apache.kafka.common.Configurable, org.apache.kafka.common.Reconfigurable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidemit(io.confluent.telemetry.api.events.Event event) Filter and transform the events as appropriate and send to the specified destination.voidreconfigure(Map<String, ?> configs) booleanrouteReady(io.confluent.telemetry.api.events.Event event) Checks if a topic is ready.voidvalidateReconfiguration(Map<String, ?> configs)
-
Constructor Details
-
LogExporter
public LogExporter()
-
-
Method Details
-
configure
-
emit
Description copied from interface:ExporterFilter and transform the events as appropriate and send to the specified destination. This method takes care of batching, serialization and retries. -
routeReady
public boolean routeReady(io.confluent.telemetry.api.events.Event event) Description copied from interface:ExporterChecks if a topic is ready. This is specifically used for transports where the routes require some time to be ready. For eg. Kafka topics. For high volume audit event streams, the events are only sent to Kafka exporter if the topic is ready.- Specified by:
routeReadyin interfaceExporter<io.confluent.telemetry.api.events.Event>- Returns:
- if the route for this event is ready.
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
reconfigurableConfigs
-
validateReconfiguration
-
reconfigure
-