Class HttpExporter<Data,Req extends com.google.protobuf.MessageLite,Resp extends com.google.protobuf.MessageLite>
java.lang.Object
io.confluent.telemetry.events.exporter.http.HttpExporter<Data,Req,Resp>
- All Implemented Interfaces:
Exporter<Data>,AutoCloseable,org.apache.kafka.common.Configurable,org.apache.kafka.common.Reconfigurable
- Direct Known Subclasses:
EventHttpExporter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidFilter and transform the events as appropriate and send to the specified destination.voidreconfigure(Map<String, ?> configs) voidvalidateReconfiguration(Map<String, ?> configs) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.confluent.telemetry.events.exporter.Exporter
routeReady
-
Constructor Details
-
HttpExporter
public HttpExporter()
-
-
Method Details
-
configure
- Specified by:
configurein interfaceorg.apache.kafka.common.Configurable
-
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. -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-
reconfigure
- Specified by:
reconfigurein interfaceorg.apache.kafka.common.Reconfigurable
-
reconfigurableConfigs
- Specified by:
reconfigurableConfigsin interfaceorg.apache.kafka.common.Reconfigurable
-
validateReconfiguration
public void validateReconfiguration(Map<String, ?> configs) throws org.apache.kafka.common.config.ConfigException- Specified by:
validateReconfigurationin interfaceorg.apache.kafka.common.Reconfigurable- Throws:
org.apache.kafka.common.config.ConfigException
-