You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Kondakov Artem (Jira)" <ji...@apache.org> on 2022/12/07 13:11:00 UTC

[jira] [Created] (MINIFICPP-2006) saving state for python processors

Kondakov Artem created MINIFICPP-2006:
-----------------------------------------

             Summary: saving state for python processors
                 Key: MINIFICPP-2006
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2006
             Project: Apache NiFi MiNiFi C++
          Issue Type: New Feature
    Affects Versions: 0.12.0
            Reporter: Kondakov Artem
             Fix For: 0.14.0


Hello.

I'm using InvokeHTTP to periodically fetch data from the server.

The data is received and in the response I can get the ID of the last returned record.

Then through I save the data in a DB.

How can I save the value of the identifier of this last record in order to form a new request to the server based on it.

I know that the QueryDatabaseTable processor can save the ID of the last record received from the database. How to make an analogue of the same functionality?

Is it possible to save the state of the data for the python processor in the same way as for QueryDatabaseTable?
Is it possible to get the state of one processor from another (for example, in one Python processor I save the state of the id of the last record), and in another I take the identifier from the state of the first one, and form a new request?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)