public interface IEventLogger
EventLogger interface for logging the event info to a sink like log file or db for inspecting the events via UI for debugging.
Modifier and Type | Interface and Description |
---|---|
static class |
IEventLogger.EventInfo
A wrapper for the fields that we would log.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
log(IEventLogger.EventInfo e)
This method would be invoked when the
EventLoggerBolt receives a tuple from the spouts or bolts that has event logging enabled. |
void |
prepare(Map<String,Object> conf,
Map<String,Object> arguments,
TopologyContext context) |
void prepare(Map<String,Object> conf, Map<String,Object> arguments, TopologyContext context)
void log(IEventLogger.EventInfo e)
This method would be invoked when the EventLoggerBolt
receives a tuple from the spouts or bolts that has event logging enabled.
e
- the eventvoid close()
Copyright © 2022 The Apache Software Foundation. All rights reserved.