[
https://issues.apache.org/jira/browse/NIFI-4061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054811#comment-16054811
]
ASF GitHub Bot commented on NIFI-4061:
--------------------------------------
Github user bbende commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1918#discussion_r122836288
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/state-management.xml
---
@@ -63,4 +63,68 @@
<property name="Session Timeout">10 seconds</property>
<property name="Access Control">Open</property>
</cluster-provider>
+
+ <!--
+ Cluster State Provider that stores state in Redis. This can be
used as an alternative to the ZooKeeper State Provider.
+
+ This provider requires the following properties:
+
+ Redis Mode - The type of Redis instance:
+ - Standalone
+ - Sentinel
+
+ Connection String - The connection string for Redis.
+ - In a standalone instance this value will be of
the form hostname:port.
+ - In a sentinel instance this value will be the
comma-separated list of sentinels, such as host1:port1,host2:port2,host3:port3.
+ - In a clustered instance this value will be the
comma-separated list of cluster masters, such as
host1:port,host2:port,host3:port.
--- End diff --
I added the "Cluster" value to the Redis Mode property and stated how it is
not currently supported for the state provider due limitations of Redis
transactions in clustered mode.
> Implement a StateProvider backed by Redis
> -----------------------------------------
>
> Key: NIFI-4061
> URL: https://issues.apache.org/jira/browse/NIFI-4061
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Bryan Bende
> Assignee: Bryan Bende
> Priority: Minor
>
> We currently have only one clustered state provider which is a ZooKeeper
> implementation. Redis would make a good candidate to provide another option.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)