[jira] [Commented] (NIFI-8706) Add support for Redis Lists and Hashes

2021-12-02 Thread Steven Koon (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17452754#comment-17452754
 ] 

Steven Koon commented on NIFI-8706:
---

Is something like this what your asking for?
 * The processor should have a property to select the 
“RedisConnectionPoolService”
 * There should be a property for “TTL”
 * It should have a property for “Command Type” that is used to select which 
REDIS command statement the processor will perform and support the following 
commands: HDEL, HGET, HGETALL, HINCRBY, HINCRBYFLOAT, HKEYS, HLEN, 
HSET,HSTRLEN, HVALS.
 * There should be a property for “Hash Key” that is used to define the 
attribute from the input flowfile.
 * The input flowfile content should be in json format and used to populate the 
REDIS command field/values.
 * There should be the property for selecting a “Record Writer” for commands 
that return a result.

> 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)


[jira] [Commented] (NIFI-8706) Add support for Redis Lists and Hashes

2021-12-02 Thread Steven Koon (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17452650#comment-17452650
 ] 

Steven Koon commented on NIFI-8706:
---

I'll get that done for you. Thank you for the follow up.




> 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)


[jira] [Commented] (NIFI-8706) Add support for Redis Lists and Hashes

2021-12-02 Thread Otto Fowler (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17452393#comment-17452393
 ] 

Otto Fowler commented on NIFI-8706:
---

These are great examples of redis commands, can you put them in a nifi context?

"I would like to write attributes to redis"?
"I would like to write one or more fields from records to redis"
"I would like to write fields from records that match a record query to redis"
"I would like have a record writer that writes json to redis"

something like that?

> 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)


[jira] [Commented] (NIFI-8706) Add support for Redis Lists and Hashes

2021-11-29 Thread Steven Koon (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17450772#comment-17450772
 ] 

Steven Koon commented on NIFI-8706:
---

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)


[jira] [Commented] (NIFI-8706) Add support for Redis Lists and Hashes

2021-06-17 Thread Otto Fowler (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17364970#comment-17364970
 ] 

Otto Fowler commented on NIFI-8706:
---

Can you give any use cases for these interactions?

The ability to write X to a list or hash, with records, with example?
The ability to read X from list or hash to records with example?

> 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.3.4#803005)