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

Only call PythonBridge.onProcessorRemoved for Python Processors and do in background

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0-M1
    • 2.0.0-M1
    • Core Framework
    • None

    Description

      Every time that a Processor is removed, we are calling PythonBridge.onProcessorRemoved(). But we only need to do this for Python based processors. Additionally, we should do this in a background (virtual) thread because it needs to communicate over sockets to the Python process and there's no need to wait on that to complete in order to Reload a processor.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 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