You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/09/26 04:51:04 UTC

[jira] [Updated] (STORM-691) [storm-redis] Add basic lookup / persist bolts

     [ https://issues.apache.org/jira/browse/STORM-691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-691:
-------------------------------
    Component/s: storm-redis

> [storm-redis] Add basic lookup / persist bolts
> ----------------------------------------------
>
>                 Key: STORM-691
>                 URL: https://issues.apache.org/jira/browse/STORM-691
>             Project: Apache Storm
>          Issue Type: Improvement
>          Components: storm-redis
>    Affects Versions: 0.10.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>            Priority: Minor
>             Fix For: 0.10.0
>
>
> Currently storm-redis provides AbstractRedisBolt for normal (not Trident) Bolt.
> Jedis is easy to use so it may be enough, but we can also provide implementations of AbstractRedisBolt for simple usage.
> eg. store (key, value) pair, get key's value
> Since Redis has various data types and commands, we can't cover whole things, but seems like below things could be considered.
> || Type || Read || Write ||
> | STRING | GET (key) | SET (key, value) |
> | HASH | HGET (key, field) | HSET (key, field, value) |
> | LIST | LPOP (key) | RPUSH (key, value) |
> | SET | SCARD (key) | SADD (key, member) |
> | SORTED SET | ZSCORE (key, member) | ZADD (key, score, member) |
> | HLL (HyperLogLog) | PFCOUNT (key) | PFADD (key, element) |
> Btw, since we will normally get key & value from tuple (as most external module did), HASH, SET, SORTED SET needs additional key to process.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)