xbusd serve - Run Xbus servers¶
Synopsis¶
Run one or several of the Xbus servers. The servers are: - nats: A genuine nats server - broker: Exchanges envelopes with actors - control: Handle control API
xbusd serve [flags]
Options¶
-
--broker
¶
Start the broker service
-
--clientapi
¶
Start the clientapi service
-
--control
¶
Start the control service
-
--debug-sql-bindings
¶
Logs sql bindings to debug. Very verbose
-
--debug-sql-queries
¶
Logs sql queries to debug. Very verbose
-
--director
¶
Start the director service
-
--emitter
¶
Start the emitter service
-
--envelopestorage
¶
Start the envelopestorage service
-
--gnatsd.http_host
¶
User host for http monitoring
-
--gnatsd.http_port
¶
User port for http monitoring
-
--gnatsd.https_port
¶
User port for https monitoring
-
--help
¶
help for serve
-
--instance.logo
¶
A logo url (can be a ‘http(s)’, ‘file’ or ‘data’ uri), or a webpath relative to the http gateway /ui path
-
--instance.name
¶
Name of the xbus instance
-
--instance.production
¶
Indicate that the instance is in a production environment
-
--metrics
¶
Start the metrics service
-
--metrics-http-host
¶
User host for http metrics (prometheus)
-
--metrics-http-port
¶
User port for http metrics (prometheus)
-
--metrics-merge-global
¶
Merge the bus-wide metrics (/metrics/global) into the xbusd instance metrics (/metrics)
-
--nats
¶
Start a NATS server
-
--postmortem
¶
Start the postmortem service
-
--processstate
¶
Start the processstate service
-
--registration
¶
Start the registration service
-
--sentinel
¶
Start the sentinel service
-
--sentry.dsn
¶
DSN of a sentry instance
-
--sentry.environment
¶
DSN of a sentry instance
Options inherited from parent commands¶
-
--cert-dir
¶
The directory where certificates and private keys of use to this program reside.
-
--config
¶
config file (default is the first existing file in: $HOME/.config/xbus/xbusd.yaml, /etc/xbus/xbusd.yaml)
-
--database-dsn
¶
PostgreSQL database connection string (ex: “sslmode=disable dbname=xbus”)
-
--database-max-connections
¶
Maximum allowed number of open database connections
-
--debug
¶
Enable debugging mode, with lots of logging to the console
-
--full-version
¶
Show version and commit hash
-
--nats-host
¶
Host of the nats server
-
--nats-port
¶
Port of the nats server
-
--storage-process-db-max-connections
¶
Maximum number of db connections for the process storage (defaults to 30% of database.max-connections)
-
--tls-timeout
¶
TLS handshake timeout
-
--trace
¶
Enable even more logging than –debug.
-
--version
¶
Show version