public class LogExporter<T extends com.google.protobuf.MessageLite> extends java.lang.Object implements Exporter<io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T>>
Constructor and Description |
---|
LogExporter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(java.util.Map<java.lang.String,?> configs) |
void |
emit(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event)
Filter and transform the events as appropriate and send to the specified destination.
|
java.util.Set<java.lang.String> |
reconfigurableConfigs() |
void |
reconfigure(java.util.Map<java.lang.String,?> configs) |
boolean |
routeReady(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event)
Checks if a topic is ready.
|
void |
validateReconfiguration(java.util.Map<java.lang.String,?> configs) |
public void configure(java.util.Map<java.lang.String,?> configs)
configure
in interface org.apache.kafka.common.Configurable
public void emit(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event) throws java.lang.RuntimeException
Exporter
public boolean routeReady(io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> event)
Exporter
routeReady
in interface Exporter<io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T extends com.google.protobuf.MessageLite>>
public void close() throws java.lang.Exception
close
in interface java.lang.AutoCloseable
java.lang.Exception
public java.util.Set<java.lang.String> reconfigurableConfigs()
reconfigurableConfigs
in interface org.apache.kafka.common.Reconfigurable
public void validateReconfiguration(java.util.Map<java.lang.String,?> configs) throws org.apache.kafka.common.config.ConfigException
validateReconfiguration
in interface org.apache.kafka.common.Reconfigurable
org.apache.kafka.common.config.ConfigException
public void reconfigure(java.util.Map<java.lang.String,?> configs)
reconfigure
in interface org.apache.kafka.common.Reconfigurable