Message::Passing::Input::Redis - A Redis consumer for Message::Passing
$ message-pass --output STDOUT --input Redis --input_options '{"topics":["foo"],"hostname":"127.0.0.1","port":"6379"}'
A simple subscriber a Redis PubSub topic
The hostname of the Redis server. Required.
The port number of the Redis server. Defaults to 6379.
A list of topics to consume messages from.
These topic names are matched exactly.
A list of pattern topics to consume messages from.
These topic names can wildcard match, so for example prefix1.* will match topics prefix1.foo and prefix1.bar.
prefix1.*
prefix1.foo
prefix1.bar
Called by Message::Passing::Redis::ConnectionManager to indicate a connection to the Redis server has been made.
Causes the subscription to the topic(s) to be started
Called by Message::Passing::Redis::ConnectionManager to indicate a connection to the Redis server has failed.
See Message::Passing::Redis.
To install Message::Passing::Redis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Message::Passing::Redis
CPAN shell
perl -MCPAN -e shell install Message::Passing::Redis
For more information on module installation, please visit the detailed CPAN module installation guide.