Skip to content

Commit 57ff5db

Browse files
author
wrobell
committed
Fix RabbitMQ Streams protocol documentation
1. Response for publisher declaration request does not contain publisher id. 2. Add mechanism entry to the details of SASL handshake request. 3. SASL handshake response contains list of mechanisms, not just single mechanism.
1 parent b4eb5e2 commit 57ff5db

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

deps/rabbitmq_stream/docs/PROTOCOL.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ DeclarePublisherRequest => Key Version CorrelationId PublisherId [PublisherRefer
227227
PublisherReference => string // max 256 characters
228228
Stream => string
229229

230-
DeclarePublisherResponse => Key Version CorrelationId ResponseCode PublisherId
230+
DeclarePublisherResponse => Key Version CorrelationId ResponseCode
231231
Key => uint16 // 1
232232
Version => uint16
233233
CorrelationId => uint32
@@ -491,12 +491,14 @@ SaslHandshakeRequest => Key Version CorrelationId Mechanism
491491
Key => uint16 // 18
492492
Version => uint16
493493
CorrelationId => uint32
494+
Mechanism => string
494495

495-
SaslHandshakeResponse => Key Version CorrelationId ResponseCode [Mechanism]
496+
SaslHandshakeResponse => Key Version CorrelationId ResponseCode [Mechanisms]
496497
Key => uint16 // 18
497498
Version => uint16
498499
CorrelationId => uint32
499500
ResponseCode => uint16
501+
Mechanisms => [Mechanism]
500502
Mechanism => string
501503
```
502504

0 commit comments

Comments
 (0)