Skip to content

Commit bd9546b

Browse files
committed
Add super stream creation/deletion commands in spec
1 parent 5deacfc commit bd9546b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

deps/rabbitmq_stream/docs/PROTOCOL.adoc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,16 @@ used to make the difference between a request (0) and a response (1). Example fo
230230
|0x001c
231231
|Yes
232232

233+
|<<createsuperstream>>
234+
|Client
235+
|0x001d
236+
|Yes
237+
238+
|<<deletesuperstream>>
239+
|Client
240+
|0x001e
241+
|Yes
242+
233243
|===
234244

235245
=== DeclarePublisher
@@ -754,6 +764,31 @@ StreamStatsResponse => Key Version CorrelationId ResponseCode Stats
754764
Value => int64
755765
```
756766

767+
=== CreateSuperStream
768+
769+
```
770+
CreateSuperStream => Key Version CorrelationId Name [Partition] [RoutingKey] Arguments
771+
Key => uint16 // 0x001d
772+
Version => uint16
773+
CorrelationId => uint32
774+
Name => string
775+
Partition => string
776+
RoutingKey => string
777+
Arguments => [Argument]
778+
Argument => Key Value
779+
Key => string
780+
Value => string
781+
```
782+
783+
=== DeleteSuperStream
784+
785+
```
786+
Delete => Key Version CorrelationId Name
787+
Key => uint16 // 0x001e
788+
Version => uint16
789+
CorrelationId => uint32
790+
Name => string
791+
```
757792

758793
== Authentication
759794

0 commit comments

Comments
 (0)