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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: Core Framework
    • Labels:

      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

              • Assignee:
                markap14 Mark Payne
                Reporter:
                joewitt Joe Witt
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: