SYNOPSIS

fedmsg-hub [--with-consumers EXPLICIT_HUB_CONSUMERS] [--websocket-server-port MOKSHA.LIVESOCKET.WEBSOCKET.PORT] [--daemon] [<common fedmsg options>]

fedmsg-hub [-h|--help]

DESCRIPTION

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.

COMMON FEDMSG 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.

RELATED TO fedmsg-hub…

AUTHORS

The Fedora Infrastructure team <[email protected]>

Wrote the fedmsg software.

Nicolas Dandrimont <[email protected]>

Wrote this manpage for the Debian system.

COPYRIGHT

Copyright © 2014 Nicolas Dandrimont

This manual page was written for the Debian system (and may be used by others).

You can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

On Debian systems, a copy of the license can be found in the /usr/share/common-licenses/LGPL-2.1 file.