LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

rabbitmq-streams

Manage RabbitMQ stream queues

TLDR

List stream protocol connections
$ rabbitmq-streams list_stream_connections
copy
Display the status of a stream
$ rabbitmq-streams stream_status --vhost [vhost] --stream [stream_name]
copy
Add a stream replica on a given node
$ rabbitmq-streams add_replica --vhost [vhost] [stream_name] [node]
copy
Delete a stream replica from a given node
$ rabbitmq-streams delete_replica --vhost [vhost] [stream_name] [node]
copy
Restart a stream and all its replicas
$ rabbitmq-streams restart_stream --vhost [vhost] [stream_name]
copy
Restart a stream with a preferred leader node
$ rabbitmq-streams restart_stream --vhost [vhost] --preferred-leader-node [node] [stream_name]
copy

SYNOPSIS

rabbitmq-streams [-n node] [-t timeout] [-l|-q] command [command options]

DESCRIPTION

rabbitmq-streams is a command line tool for managing RabbitMQ streams. Streams are persistent, replicated, append-only log data structures designed for high-throughput messaging workloads. This tool manages stream replicas, monitors stream status, and lists stream connections and consumers. Part of the RabbitMQ CLI tools suite.

PARAMETERS

-n node

Target node to execute the command on. Default is the node of the local host.
-t timeout
Operation timeout in seconds. Default varies per command.
-l, --longnames
Use long node names (FQDN). Must match the broker configuration.
-q, --quiet
Suppress informational messages, output only essential data.
--formatter formatter
Output format: csv, erlang, json, pretty_table, table.

SUBCOMMANDS

add_replica stream node

Add a stream replica on the given node.
delete_replica stream node
Remove a stream replica from the given node.
stream_status --stream stream
Display the status of a stream, including leader and replicas.
restart_stream stream
Restart a stream including all of its replicas. Accepts --preferred-leader-node to place the leader on a specific node.
list_stream_connections [connectioninfoitem...]
Return stream protocol connection statistics.
list_stream_consumers [-p vhost] [consumerinfoitem...]
Return consumers attached to a stream.
list_stream_publishers [-p vhost] [publisherinfoitem...]
Return publishers attached to a stream.
list_stream_consumer_groups [-p vhost]
List single active consumer groups for streams.

SEE ALSO

Copied to clipboard
Kai