home | help
LAVINMQ(1)			  User Commands 		      LAVINMQ(1)

NAME
     lavinmq - fast and advanced message queue server

SYNOPSIS
     lavinmq [arguments]

DESCRIPTION
     Options

     -D DIRECTORY, --data-dir=DIRECTORY
	    Data directory

     -c CONFIG, --config=CONFIG
	    Path to config file

     -l LEVEL, --log-level=LEVEL
	    Log level (Default: info)

     --default-consumer-prefetch=NUMBER
	    Default consumer prefetch (default 65535)

     --default-password-hash=PASSWORD-HASH
	    Hashed	 password      for	default      user      (default:
	    '+pHuxkR9fCyrrwXjOD4BP4XbzO3l8LJr8YkThMgJ0yVHFRE+' (guest))

     --default-password=PASSWORD-HASH
	    (Deprecated)   Hashed   password   for   default   user    (default:
	    '+pHuxkR9fCyrrwXjOD4BP4XbzO3l8LJr8YkThMgJ0yVHFRE+' (guest))

     --default-user-only-loopback=BOOL
	    Limit guest user to only connect from loopback address

     --default-user=USER
	    Default user (default: guest)

     --guest-only-loopback=BOOL
	    Limit guest user to only connect from loopback address

     --metrics-http-bind=BIND
	    IP	address  that  the  Prometheus	server	will  bind  to (default:
	    127.0.0.1)

     --metrics-http-port=PORT
	    HTTP port that prometheus will listen to (default: 15692)

     --no-data-dir-lock
	    Don't put a file lock in the data directory (default true)

     --no-sync
	    Disable sync/syncfs to the data dir, leaving durability  to  the  OS
	    (unsafe, but speeds up e.g. CI)

     --pidfile=FILE
	    Write  the	process  ID to FILE on startup. The file is removed upon
	    graceful shutdown.

     --raise-gc-warn
	    Raise on GC warnings

     Bindings

     -b BIND, --bind=BIND
	    IP address that the AMQP, MQTT and HTTP servers will listen on  (de-
	    fault: 127.0.0.1)

     -p PORT, --amqp-port=PORT
	    AMQP port to listen on (default: 5672)

     --amqp-bind=BIND
	    IP address that the AMQP server will listen on (default: 127.0.0.1)

     --amqp-unix-path=PATH
	    AMQP UNIX path to listen to

     --amqps-port=PORT
	    AMQPS port to listen on (default: -1)

     --control-unix-path=PATH
	    UNIX socket lavinmqctl connects to (default: /tmp/lavinmqctl.sock)

     --http-bind=BIND
	    IP address that the HTTP server will listen on (default: 127.0.0.1)

     --http-port=PORT
	    HTTP port to listen on (default: 15672)

     --http-unix-path=PATH
	    HTTP UNIX path to listen to

     --https-port=PORT
	    HTTPS port to listen on (default: -1)

     --mqtt-bind=BIND
	    IP address that the MQTT server will listen on (default: 127.0.0.1)

     --mqtt-port=PORT
	    MQTT port to listen on (default: 1883)

     --mqtt-unix-path=PATH
	    MQTT UNIX path to listen to

     --mqtts-port=PORT
	    MQTTS port to listen on (default: 8883)

     TLS

     --cert FILE
	    TLS certificate (including chain)

     --ciphers CIPHERS
	    List of TLS ciphers to allow

     --key FILE
	    Private key for the TLS certificate

     --tls-ktls=BOOL
	    Enable kernel TLS (kTLS) offload (default: false)

     --tls-min-version=VERSION
	    Minimum allowed TLS version (default 1.2)

     Clustering

     --clustering
	    Enable clustering

     --clustering-advertised-uri=URI
	    Advertised URI for the clustering server

     --clustering-bind=BIND
	    Listen for clustering followers on this address (default: localhost)

     --clustering-etcd-endpoints=URIs
	    Comma separated host/port pairs (default: 127.0.0.1:2379)

     --clustering-etcd-prefix=KEY
	    Key prefix used in etcd (default: lavinmq)

     --clustering-max-unsynced-actions=ACTIONS
	    (Deprecated) No longer used

     --clustering-on-leader-elected=COMMAND
	    Shell command to execute when elected leader

     --clustering-on-leader-lost=COMMAND
	    Shell command to execute when losing leadership

     --clustering-port=PORT
	    Listen for clustering followers on this port (default: 5679)

     Miscellaneous

     -d, --debug
	    Verbose logging

     -h, --help
	    Show this help

     -v, --version
	    Show version

     --build-info
	    Show build information

lavinmq 2.9.1			   August 2026			      LAVINMQ(1)

home | help