fedmsg-hub1
All-purpose fedmsg consuming daemon
Usage
fedmsg-hub [--with-consumers
EXPLICIT_HUB_CONSUMERS]
[--websocket-server-port
MOKSHA.LIVESOCKET.WEBSOCKET.PORT]
[--daemon]
[<common
fedmsg
options>]
fedmsg-hub [{-h | --help}]
Overview
fedmsg-hub is the all-purpose daemon for consuming messages on the fedmsg bus. This should be run on every host that has services which declare their own consumers.
fedmsg-hub will listen to every endpoint discovered in the fedmsg config and forward messages in-process to the locally-declared consumers. It is a thin wrapper over a moksha-hub(1)
Other commands like fedmsg-irc(1) are just specialized, restricted versions of fedmsg-hub. fedmsg-hub also houses the functions to run a websocket server.
Options
-
-h, --help -
Print an help message and exit
-
--with-consumers EXPLICIT_HUB_CONSUMERS -
A comma-delimited list of conumers to run.
-
--websocket-server-port MOKSHA.LIVESOCKET.WEBSOCKET.PORT -
Port on which to host the websocket server.
-
--daemon -
Run in the background as a daemon.
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.