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:
parent
2fc112e29c
commit
7cb2645283
|
|
@ -135,7 +135,7 @@ used to make the difference between a request (0) and a response (1). Example fo
|
|||
|9
|
||||
|No
|
||||
|
||||
|<<commitoffset>>
|
||||
|<<storeoffset>>
|
||||
|Client
|
||||
|10
|
||||
|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.
|
||||
|
||||
=== CommitOffset
|
||||
=== StoreOffset
|
||||
|
||||
```
|
||||
CommitOffset => Key Version Reference Stream Offset
|
||||
StoreOffset => Key Version Reference Stream Offset
|
||||
Key => uint16 // 10
|
||||
Version => uint16
|
||||
Reference => string // max 256 characters
|
||||
|
|
|
|||
Loading…
Reference in New Issue