You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Steven Koon (Jira)" <ji...@apache.org> on 2021/11/29 23:56:00 UTC
[jira] [Comment Edited] (NIFI-8706) Add support for Redis Lists and Hashes
[ https://issues.apache.org/jira/browse/NIFI-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17450772#comment-17450772 ]
Steven Koon edited comment on NIFI-8706 at 11/29/21, 11:55 PM:
---------------------------------------------------------------
I also would like to see to see NiFi's REDIS extent to include more support.
Set the value of a has field
HSET dog:1000 name "Spot" breed "Alaskan Malamute" weight 85 height 25 age 11 color "Black & White" ;
Set multiple fields and values. Althought I'm not really sure they is a diff between HSET and HMSET
HMSET dog:1001 name "Dave" breed "Affenpinscher" weight 7 height 9 age 13 color "Red" ;
Get the value for a field in the hash
HGET dog:1000 name ;
Get multiple values of the given fields
HMGET dog:1000 name age ;
Get all field values in the hash
HGETALL dog:1001 ;
Delete one or more fields from the hash
HDEL dog:1000 breed weight ;
Increments the integer value of the field by given number
HINCRBY dog:1000 age 2 ;
Increments the integer value of the field by given number
HINCRBYFLOAT dog:1001 age .5 ;
was (Author: JIRAUSER280872):
I also would like to see to see NiFi's REDIS extent to include more support.
# Set the value of a has field
HSET dog:1000 name "Spot" breed "Alaskan Malamute" weight 85 height 25 age 11 color "Black & White" ;
# Set multiple fields and values. Althought I'm not really sure they is a diff between HSET and HMSET
HMSET dog:1001 name "Dave" breed "Affenpinscher" weight 7 height 9 age 13 color "Red" ;
# Get the value for a field in the hash
HGET dog:1000 name ;
# Get multiple values of the given fields
HMGET dog:1000 name age ;
# Get all field values in the hash
HGETALL dog:1001 ;
# Delete one or more fields from the hash
HDEL dog:1000 breed weight ;
# Increments the integer value of the field by given number
HINCRBY dog:1000 age 2 ;
# Increments the integer value of the field by given number
HINCRBYFLOAT dog:1001 age .5 ;
> Add support for Redis Lists and Hashes
> --------------------------------------
>
> Key: NIFI-8706
> URL: https://issues.apache.org/jira/browse/NIFI-8706
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 1.8.0, 1.13.2
> Reporter: Doug Houck
> Priority: Major
> Labels: newbie, performance
>
> Nifi supports Redis interactions, but only for Keys. From a Redis perspective, this is a poor use of resources. Lists and Hashes only required one key per. It would be nice to have the ability to interact with Redis Lists and Hashes in a Nifi Processor.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)