Replace commit with store for offset persistence

In stream protocol. Commit have a strong consistency connotation,
which is not actually enforced by the offset persistence
mechanism.
This commit is contained in:
Arnaud Cogoluègnes 2021-07-08 10:32:04 +02:00
parent 2fc112e29c
commit 7cb2645283
No known key found for this signature in database
GPG Key ID: D5C8C4DFAD43AFA8
1 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,7 @@ used to make the difference between a request (0) and a response (1). Example fo
|9 |9
|No |No
|<<commitoffset>> |<<storeoffset>>
|Client |Client
|10 |10
|No |No
@ -363,10 +363,10 @@ CreditResponse => Key Version ResponseCode SubscriptionId
NB: the server sent a response only in case of problem, e.g. crediting an unknown subscription. NB: the server sent a response only in case of problem, e.g. crediting an unknown subscription.
=== CommitOffset === StoreOffset
``` ```
CommitOffset => Key Version Reference Stream Offset StoreOffset => Key Version Reference Stream Offset
Key => uint16 // 10 Key => uint16 // 10
Version => uint16 Version => uint16
Reference => string // max 256 characters Reference => string // max 256 characters