The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Message::Passing::Output::Redis - A Redis publisher for Message::Passing

SYNOPSIS

    $ message-pass --input STDIN --output Redis --output_options '{"topic":"foo","hostname":"127.0.0.1","port":"6379"}'

DESCRIPTION

A simple message output which publishes messages to a Redis PubSub topic.

ATTRIBUTES

hostname

The hostname of the Redis server. Required.

port

The port number of the Redis server. Defaults to 6379.

topic

The topic to publish messages to.

METHODS

consume

Publishes a message to Redis if connected.

connected

Called by Message::Passing::Redis::ConnectionManager when connected. Does nothing in this class.

SEE ALSO

Message::Passing::Input::Redis
Message::Passing::Redis

AUTHOR, COPYRIGHT AND LICENSE

See Message::Passing::Redis.