public class EventSinkModule extends AbstractXmlSinkModule<Event,Log>
Modifier and Type | Field and Description |
---|---|
static String |
MODULE_ID |
HEARTBEAT_MODULE_ID
Constructor and Description |
---|
EventSinkModule(EventdConfig config) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
AggregationPolicy<Event,Log,Log> |
getAggregationPolicy()
Defines how messages should be combined, and when they
should be "released".
|
AsyncPolicy |
getAsyncPolicy()
Defines how messages should be asynchronously dispatched.
|
String |
getId()
Globally unique identifier.
|
int |
getNumConsumerThreads()
The number of threads used to consume from the broker.
|
int |
hashCode() |
Event |
unmarshalSingleMessage(byte[] bytes)
Modules with different aggregated message should override this method
|
marshal, marshalSingleMessage, unmarshal
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getRoutingKey
public static final String MODULE_ID
public EventSinkModule(EventdConfig config)
public String getId()
SinkModule
public int getNumConsumerThreads()
SinkModule
public AggregationPolicy<Event,Log,Log> getAggregationPolicy()
SinkModule
null
.AggregationPolicy
used to combine messages, or null
if the messages should not be combined.public AsyncPolicy getAsyncPolicy()
SinkModule
AsyncPolicy
used when asynchronously dispatching
messages for this module.public Event unmarshalSingleMessage(byte[] bytes)
AbstractXmlSinkModule
unmarshalSingleMessage
in interface SinkModule<Event,Log>
unmarshalSingleMessage
in class AbstractXmlSinkModule<Event,Log>
public int hashCode()
hashCode
in class AbstractXmlSinkModule<Event,Log>
public boolean equals(Object obj)
equals
in class AbstractXmlSinkModule<Event,Log>
Copyright © 2021. All rights reserved.