Koji Kawamura created NIFI-6598:
-----------------------------------
Summary: RemoteProcessGroup should utilize ManagedState to persist
available peers
Key: NIFI-6598
URL: https://issues.apache.org/jira/browse/NIFI-6598
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Reporter: Koji Kawamura
Assignee: Koji Kawamura
Currently NiFi will persist available remote S2S peers into a local file when a
RemoteProcessGroup connects to a remote cluster, in order to recover peers from
that file when the RPG restart communication next time.
The default file location is '$NIFI_HOME/conf/state'. Although the location is
configurable, in some deployments, the '$NIFI_HOME/conf' is not writable and
NiFi fails to write the file.
Ideally, instead of writing a local file, such state should be written to
managed state as other components (Processors, ControllerServices) do.
However, we should leave the option to store peers into a local file for
external tools using SiteToSiteClient, but don't use managed state.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)