---
name: "fedmsg-hub"
section: "1"
platform: "linux"
package: "fedmsg-hub"
version: "0.9.3-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/fedmsg-hub"
---

# fedmsg-hub(1)

all-purpose fedmsg consuming daemon

## NAME

fedmsg-hub - all-purpose fedmsg consuming daemon

## 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)](/moksha-hub/1.md)

Other commands like [**fedmsg-irc**(1)](/fedmsg-irc/1.md) 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.

## SEE ALSO

[**fedmsg-irc**(1)](/fedmsg-irc/1.md)

## AUTHORS

- **The Fedora Infrastructure team** \<messaging-sig@lists.fedoraproject.org\>

  Wrote the **fedmsg** software.

- **Nicolas Dandrimont** \<olasd@debian.org\>

  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.
