public interface EventFactory<E extends Event>
| Modifier and Type | Field and Description |
|---|---|
static String |
SENDER_KEY
The key in the metadata map for the sender.
|
| Modifier and Type | Method and Description |
|---|---|
E |
create(byte[] data,
Map<String,String> metadata,
ChannelResponder responder)
Creates an event for the given data and metadata.
|
static final String SENDER_KEY
E create(byte[] data, Map<String,String> metadata, ChannelResponder responder)
data - raw data from a channelmetadata - additional metadataresponder - a responder for the event with the channel populatedCopyright © 2019 Apache NiFi Project. All rights reserved.