public class EventEmitterImpl extends Object implements io.confluent.telemetry.api.events.EventEmitter, org.apache.kafka.common.Configurable
Constructor and Description |
---|
EventEmitterImpl(Map<String,?> configs) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> configs) |
CompletableFuture<Boolean> |
emit(io.confluent.telemetry.api.events.Event event) |
void |
setEventLabels(Map<String,String> labels) |
public CompletableFuture<Boolean> emit(io.confluent.telemetry.api.events.Event event)
emit
in interface io.confluent.telemetry.api.events.EventEmitter
public final void configure(Map<String,?> configs)
configure
in interface org.apache.kafka.common.Configurable
public void close()
close
in interface AutoCloseable