public static interface Processor.Factory
Modifier and Type | Method and Description |
---|---|
Processor |
create(java.util.Map<java.lang.String,Processor.Factory> processorFactories,
java.lang.String tag,
java.util.Map<java.lang.String,java.lang.Object> config)
Creates a processor based on the specified map of maps config.
|
Processor create(java.util.Map<java.lang.String,Processor.Factory> processorFactories, java.lang.String tag, java.util.Map<java.lang.String,java.lang.Object> config) throws java.lang.Exception
processorFactories
- Other processors which may be created inside this processortag
- The tag for the processorconfig
- The configuration for the processor
Note: Implementations are responsible for removing the used configuration keys, so that after
creating a pipeline ingest can verify if all configurations settings have been used.java.lang.Exception