fedmsg-trigger1
Run a command when messages arrive on the fedmsg bug
Usage
fedmsg-trigger [--topic
TOPIC]
[--exclude
REGEXP]
[--include
REGEXP]
--command
COMMAND
[<common
fedmsg
options>]
fedmsg-trigger [{-h | --help}]
Overview
fedmsg-trigger runs the command COMMAND every time a message matching the filtering options is received on the fedmsg bus. It passes the contents of the received message on the standard input of the command.
Options
-
-h, --help -
Print an help message and exit
-
--command COMMAND -
Command to run when a message matches our criteria.
FILTERING
-
--topic TOPIC -
The topic pattern to listen for. Everything by default.
-
--exclude REGEXP -
Only show topics that do not match the supplied regexp.
-
--include REGEXP -
Only show topics that match the supplied regexp.
Options
-
--io-threads IO_THREADS -
Number of io threads for 0mq to use
-
--topic-prefix TOPIC_PREFIX -
Prefix for the topic of each message sent.
-
--post-init-sleep POST_INIT_SLEEP -
Number of seconds to sleep after initializing.
-
--config-filename CONFIG_FILENAME -
Config file to use.
-
--print-config -
Simply print out the configuration and exit. No action taken.
-
--timeout TIMEOUT -
Timeout in seconds for any blocking zmq operations.
-
--high-water-mark HIGH_WATER_MARK -
Limit on the number of messages in the queue before blocking.
-
--linger ZMQ_LINGER -
Number of milliseconds to wait before timing out connections.