Skip to content

Commit fa161ba

Browse files
author
Michael Klishin
committed
Stream protocol doc: unit24 => uint24 #11329
(cherry picked from commit 936499c) Conflicts: deps/rabbitmq_stream/docs/PROTOCOL.adoc
1 parent ce1c18f commit fa161ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

deps/rabbitmq_stream/docs/PROTOCOL.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ Publish => Key Version PublisherId PublishedMessages
289289
Message => bytes
290290
```
291291

292+
1. Use version 1 if there is no filter value.
293+
2. Use version 2 if there is a filter value.
294+
292295
=== PublishConfirm
293296

294297
```
@@ -395,7 +398,7 @@ Deliver => Key Version SubscriptionId OsirisChunk
395398
DataLength => uint32
396399
TrailerLength => uint32
397400
BloomSize => uint8 // size of bloom filter data
398-
Reserved => unit24 // unused 3 bytes
401+
Reserved => uint24 // unused 3 bytes
399402
BloomFilterData => [uint8] // bloom filter data, the size of the array is defined by BloomSize
400403
Messages => [Message] // a continous collection of messages, the size of the array is defined by NumEntries
401404
Message => EntryTypeAndSize
@@ -422,7 +425,7 @@ Deliver => Key Version SubscriptionId CommittedOffset OsirisChunk
422425
DataLength => uint32
423426
TrailerLength => uint32
424427
BloomSize => uint8 // size of bloom filter data
425-
Reserved => unit24 // unused 3 bytes
428+
Reserved => uint24 // unused 3 bytes
426429
BloomFilterData => [uint8] // bloom filter data, the size of the array is defined by BloomSize
427430
Messages => [Message] // a continous collection of messages, the size of the array is defined by NumEntries
428431
Message => EntryTypeAndSize

0 commit comments

Comments
 (0)