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

Enable lifecycle methods in InvokeScriptedProcessor

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: None
    • Labels:
      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

              • Assignee:
                mattyb149 Matt Burgess
                Reporter:
                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