public class KafkaLogger extends Object implements EventLogger
| Modifier and Type | Field and Description |
|---|---|
static String |
BROKER_PORT_PROP_NAME |
static String |
BROKER_SERVER_PROP_NAME |
| Constructor and Description |
|---|
KafkaLogger(Map<String,Object> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
logEvent(String event,
Map<String,Object> producerConfig) |
void |
shutdown() |
public static final String BROKER_SERVER_PROP_NAME
public static final String BROKER_PORT_PROP_NAME
public void logEvent(String event, Map<String,Object> producerConfig)
logEvent in interface EventLoggerpublic void shutdown()
shutdown in interface EventLoggerCopyright © 2017. All rights reserved.