Skip to content

Commit a559c79

Browse files
committed
Add response codes to stream protocol page
1 parent 0d73b58 commit a559c79

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

deps/rabbitmq_stream/docs/PROTOCOL.adoc

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This is the reference of the RabbitMQ stream protocol. Note the protocol
44
is still under development and is subject to change.
55

6-
The https://github.com/rabbitmq/rabbitmq-stream-java-client[RabbitMQ stream Java client]
6+
The https://github.com/rabbitmq/rabbitmq-stream-java-client[RabbitMQ Stream Java client]
77
is currently the reference implementation.
88

99
== Types
@@ -46,6 +46,33 @@ Command => Key Version Content
4646
Most commands are request/reply, but some commands (e.g. `Deliver`) are one-direction only and thus
4747
doest not contain a correlation ID.
4848

49+
== Response Codes
50+
51+
.Stream Protocol Response Codes
52+
|===
53+
|Response|Code
54+
55+
|OK|0
56+
|Stream does not exist|1
57+
|Subscription ID already exists|2
58+
|Subscription ID does not exist|3
59+
|Stream already exists|4
60+
|Stream not available|5
61+
|SASL mechanism not supported|6
62+
|Authentication failure|7
63+
|SASL error|8
64+
|SASL challenge|9
65+
|SASL authentication failure loopback|10
66+
|Virtual host access failure|11
67+
|Unknown frame|12
68+
|Frame too large|13
69+
|Internal error|14
70+
|Access refused|15
71+
|Precondition failed|16
72+
|Publisher does not exist|17
73+
74+
|===
75+
4976
== Commands
5077

5178
.Stream Protocol Commands

0 commit comments

Comments
 (0)