public class DynamicOptionGroupDeterminer extends Object implements OutputGroupDeterminer
OutputGroupDeterminer
groups events based on dynamic options of the Sink. Events
which are having the same value
for all dynamic options are belong to the same group.Constructor and Description |
---|
DynamicOptionGroupDeterminer(List<Option> dynamicTransportOptions) |
Modifier and Type | Method and Description |
---|---|
String |
decideGroup(Event event)
Deciding the group of a given event and returning a unique identifier to identify the group.
|
public String decideGroup(Event event)
decideGroup
in interface OutputGroupDeterminer
event
- Event that needs to be decided to which group it belongs toCopyright © 2019. All rights reserved.