Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-540 Revamp NiFi Clustering
  3. NIFI-259

Framework should offer Processors/extensions a way to manage simple state

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Core Framework

    Description

      It is not uncommon for processors to need managed state which persists across restarts. One good example of this is the GetHTTP processor which needs to save state of the last cache/e-tag information it received from the server it interacts with so that it can avoid constantly pulling an unchanged resource.

      Rather than making processors roll their own persistant state management perhaps we can offer something to them via the ProcessContext which will allow them to save simple primitive values and limited length Strings which are local to that node and which are local to that processor only.

      Attachments

        1. error-message.png
          13 kB
          Aldrin Piri

        Issue Links

          Activity

            People

              markap14 Mark Payne
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: