[
https://issues.apache.org/jira/browse/NIFI-13745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881548#comment-17881548
]
David Handermann commented on NIFI-13745:
-----------------------------------------
[~pgyori] Thanks for describing the general goal of this addition to the Python
API. The general use case makes sense, and this sounds like a good opportunity
to develop an approach that is straightforward to use. What do you have in mind
in terms of the basic implementation? The Java StateManager interface is fairly
straightforward, although exception handling is one key aspect to consider. On
the Python side, supporting a dictionary of string keys and values seems like a
natural fit, but representing the StateMap with optional version will be
another important aspect.
> Extend the NiFi Python API with access to StateManager
> ------------------------------------------------------
>
> Key: NIFI-13745
> URL: https://issues.apache.org/jira/browse/NIFI-13745
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework, Extensions
> Reporter: Peter Gyori
> Assignee: Peter Gyori
> Priority: Major
>
> There are use-cases where it is necessary to store state from Python-based
> processors in NiFi. One such case is creating and using a List* type Python
> processor that needs to store information regarding which items have already
> been listed in previous executions. For that we need to expose the
> StateManager functionality through the Python API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)