GitHub user bbende opened a pull request:
https://github.com/apache/nifi/pull/1918
NIFI-4061 Add a RedisStateProvider
This PR adds a RedisStateProvider that can be used as an alternative to the
ZooKeeperStateProvider for clustered state.
This PR includes the Redis work from NIFI-4043, so this could be merged to
include both NIFI-4043 and NIFI-4061, or the other one could be merged first
and then this branch could be rebased.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbende/nifi NIFI-4061
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1918.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1918
----
commit 3cfe414eabc82192797fbd5d39c6c27860dc3eaa
Author: Bryan Bende <[email protected]>
Date: 2017-06-12T19:53:20Z
NIFI-4043 Initial commit of nifi-redis-bundle
commit 1581cd1662bf6239465fe6fefa472903788a255e
Author: Bryan Bende <[email protected]>
Date: 2017-06-13T19:57:22Z
NIFI-4061 Initial version of RedisStateProvider
- Adding PropertyContext and updating existing contexts to extend it
- Added embedded Redis for unit testing
- Added wrapped StateProvider with NAR ClassLoader in
StandardStateManagerProvider
- Updating state-management.xml with config for RedisStateProvider
- Renaming tests that use RedisServer to be IT tests so they don't run all
the time
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---