Skip to content

Commit 6d4fdc4

Browse files
Merge pull request #10508 from rabbitmq/man-restart-stream
Add man doc for the rabbitmq-streams restart_stream command.
2 parents 58dd45b + 5bdc7d2 commit 6d4fdc4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

deps/rabbit/docs/rabbitmq-streams.8

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ Example:
119119
.Sp
120120
.Dl rabbitmq-streams stream_status --vhost Qo a-vhost Qc Qo a-stream Qc
121121
.\" ------------------------------------
122+
.It Cm restart_stream Ar stream Fl -vhost Ar virtual-host Fl --preferred-leader-node Ar node
123+
.Pp
124+
Restarts a stream including all of it's replicas. The optional preferred
125+
node flag instructs the command to try to place the leader on a specific node during the restart.
126+
.Pp
127+
Example:
128+
.Sp
129+
.Dl rabbitmq-streams restart_stream --vhost Qo a-vhost Qc Qo a-stream Qc --preferred-leader-node Qo node
130+
.\" ------------------------------------
122131
.El
123132
.Ss Policies
124133
.Bl -tag -width Ds

0 commit comments

Comments
 (0)