Message::Passing::Output::Redis - A Redis publisher for Message::Passing
$ message-pass --input STDIN --output Redis --output_options '{"topic":"foo","hostname":"127.0.0.1","port":"6379"}'
A simple message output which publishes messages to a Redis PubSub topic.
The hostname of the Redis server. Required.
The port number of the Redis server. Defaults to 6379.
The topic to publish messages to.
Publishes a message to Redis if connected.
Called by Message::Passing::Redis::ConnectionManager when connected. Does nothing in this class.
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.