The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.

SEE ALSO

Message::Passing::Output::Redis
Message::Passing::Redis

AUTHOR, COPYRIGHT AND LICENSE

See Message::Passing::Redis.