summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorArnaud Cogoluègnes <acogoluegnes@gmail.com>2021-01-18 14:25:24 +0100
committerArnaud Cogoluègnes <acogoluegnes@gmail.com>2021-01-18 14:25:24 +0100
commita559c79b8cd2e014cf278fb64f52465fcd740d93 (patch)
tree1e153329250b3f75f6eb42311266bb7c404df64f /deps
parent0d73b58be06aa05fd8dad4b4181cf5c25a99e744 (diff)
downloadrabbitmq-server-git-a559c79b8cd2e014cf278fb64f52465fcd740d93.tar.gz
Add response codes to stream protocol page
Diffstat (limited to 'deps')
-rw-r--r--deps/rabbitmq_stream/docs/PROTOCOL.adoc29
1 files changed, 28 insertions, 1 deletions
diff --git a/deps/rabbitmq_stream/docs/PROTOCOL.adoc b/deps/rabbitmq_stream/docs/PROTOCOL.adoc
index eb759972e3..da9bb85684 100644
--- a/deps/rabbitmq_stream/docs/PROTOCOL.adoc
+++ b/deps/rabbitmq_stream/docs/PROTOCOL.adoc
@@ -3,7 +3,7 @@
This is the reference of the RabbitMQ stream protocol. Note the protocol
is still under development and is subject to change.
-The https://github.com/rabbitmq/rabbitmq-stream-java-client[RabbitMQ stream Java client]
+The https://github.com/rabbitmq/rabbitmq-stream-java-client[RabbitMQ Stream Java client]
is currently the reference implementation.
== Types
@@ -46,6 +46,33 @@ Command => Key Version Content
Most commands are request/reply, but some commands (e.g. `Deliver`) are one-direction only and thus
doest not contain a correlation ID.
+== Response Codes
+
+.Stream Protocol Response Codes
+|===
+|Response|Code
+
+|OK|0
+|Stream does not exist|1
+|Subscription ID already exists|2
+|Subscription ID does not exist|3
+|Stream already exists|4
+|Stream not available|5
+|SASL mechanism not supported|6
+|Authentication failure|7
+|SASL error|8
+|SASL challenge|9
+|SASL authentication failure loopback|10
+|Virtual host access failure|11
+|Unknown frame|12
+|Frame too large|13
+|Internal error|14
+|Access refused|15
+|Precondition failed|16
+|Publisher does not exist|17
+
+|===
+
== Commands
.Stream Protocol Commands