GitHub user hayesgm opened a pull request:

    https://github.com/apache/spark/pull/2348

    [STREAMING] Add redis pub/sub streaming support

    This patch adds native streaming support for [redis](http://redis.io) 
through the [Pub/Sub](http://redis.io/topics/pubsub) system.  When creating the 
streaming interface, the user specifies `channels` and `patterns` to watch.  
The streaming RDD then receives all messages which match those channels and 
patterns in the redis database.
    
    I have attempted to match the process used by the other external streaming 
plugins.  I have added test cases to verify correctness of this plugin.  I 
would appreciate any feedback required to have this merged into master.
    
    Note, this patch uses the [rediscala](https://github.com/etaty/rediscala) 
library to communicate with redis, and thus uses the "akka 2.2" branch to match 
spark's Akka version and reduce conflict.
    
    Additionally, I own all source code included in this patch and release all 
of the source code under the license of Apache Spark (Apache 2.0).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hayesgm/spark redis-streaming

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2348.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 #2348
    
----
commit 3cb3b219f0f1cce0bb44992ea140cdf48ff893b1
Author: Geoff Hayes <[email protected]>
Date:   2014-08-27T06:32:23Z

    [STREAMING] Add Redis Pub/sub streaming support

----


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to