public abstract class AbstractFlumeProcessor extends AbstractSessionFactoryProcessor
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.flume.SinkFactory |
SINK_FACTORY |
protected static org.apache.flume.SourceFactory |
SOURCE_FACTORY |
| Constructor and Description |
|---|
AbstractFlumeProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected static Validator |
createSinkValidator() |
protected static Validator |
createSourceValidator() |
protected static org.apache.flume.Event |
flowFileToEvent(FlowFile flowFile,
ProcessSession session) |
protected static org.apache.flume.Context |
getFlumeContext(String flumeConfig,
String prefix) |
protected static org.apache.flume.Context |
getFlumeSinkContext(String flumeConfig,
String agentName,
String sinkName) |
protected static org.apache.flume.Context |
getFlumeSourceContext(String flumeConfig,
String agentName,
String sourceName) |
abstract void |
onTrigger(ProcessContext context,
ProcessSession session) |
void |
onTrigger(ProcessContext context,
ProcessSessionFactory sessionFactory) |
protected static void |
transferEvent(org.apache.flume.Event event,
ProcessSession session,
Relationship relationship) |
getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getRelationships, init, initialize, isConfigurationRestored, isScheduled, toString, updateConfiguredRestoredTrue, updateScheduledFalse, updateScheduledTruecustomValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, getSupportedPropertyDescriptors, hashCode, onPropertyModified, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateprotected static final org.apache.flume.SourceFactory SOURCE_FACTORY
protected static final org.apache.flume.SinkFactory SINK_FACTORY
protected static org.apache.flume.Event flowFileToEvent(FlowFile flowFile, ProcessSession session)
protected static void transferEvent(org.apache.flume.Event event,
ProcessSession session,
Relationship relationship)
protected static Validator createSourceValidator()
protected static Validator createSinkValidator()
protected static org.apache.flume.Context getFlumeContext(String flumeConfig, String prefix)
protected static org.apache.flume.Context getFlumeSourceContext(String flumeConfig, String agentName, String sourceName)
protected static org.apache.flume.Context getFlumeSinkContext(String flumeConfig, String agentName, String sinkName)
public void onTrigger(ProcessContext context, ProcessSessionFactory sessionFactory) throws ProcessException
ProcessExceptionpublic abstract void onTrigger(ProcessContext context, ProcessSession session) throws ProcessException
ProcessExceptionCopyright © 2017 Apache NiFi Project. All rights reserved.