NAME
Message::Passing::Input::Redis - A Redis consumer for Message::Passing
SYNOPSIS
$ message-passing --output STDOUT --input Redis --input_options '{"topics":["foo"],"server":"127.0.0.1:6379"}'
DESCRIPTION
A simple subscriber a Redis PubSub topic
ATTRIBUTES
server
The hostname and port number of the Redis server. Defaults to 127.0.0.1:6379
.
topics
The list of topics to consume messages from.
METHODS
connected
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
disconnect
Called by Message::Passing::Redis::ConnectionManager to indicate a connection to the Redis server has failed.