public interface IEventLogger
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)
EventLoggerBolt
receives a tuple from the spouts or bolts that has event logging
enabled.e
- the eventvoid close()
Copyright © 2023 The Apache Software Foundation. All rights reserved.