Class PipelineProcessor.Factory

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PipelineProcessor create​(java.util.Map<java.lang.String,​Processor.Factory> registry, java.lang.String processorTag, java.util.Map<java.lang.String,​java.lang.Object> config)
      Creates a processor based on the specified map of maps config.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • create

        public PipelineProcessor create​(java.util.Map<java.lang.String,​Processor.Factory> registry,
                                        java.lang.String processorTag,
                                        java.util.Map<java.lang.String,​java.lang.Object> config)
                                 throws java.lang.Exception
        Description copied from interface: Processor.Factory
        Creates a processor based on the specified map of maps config.
        Specified by:
        create in interface Processor.Factory
        Parameters:
        registry - Other processors which may be created inside this processor
        processorTag - The tag for the processor
        config - 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.
        Throws:
        java.lang.Exception