Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2215

Enable lifecycle methods in InvokeScriptedProcessor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0
    • None
    • None

    Description

      Currently, InvokeScriptedProcessor uses only the Processor interface to interact with scripted processors. However many Java processors make use of annotations such as OnScheduled and OnStopped to provide lifecycle logic for the processor. InvokeScriptedProcessor should be enabled to handle this when the script engine allows (such as Groovy, Jython, and JRuby).

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m