Skip to content

Commit a88f3cd

Browse files
ADR-50: Remove unsupported header mention (#374)
* ADR-50: Remove unsupported header mention Signed-off-by: Piotr Piotrowski <[email protected]> * FIx typo Co-authored-by: JP Sugarbroad <[email protected]> --------- Signed-off-by: Piotr Piotrowski <[email protected]> Co-authored-by: JP Sugarbroad <[email protected]>
1 parent 68540fc commit a88f3cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adr/ADR-50.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The server will respond with the following errors if committing a batch fails:
6868
* The server will limit the `Nats-Batch-ID` to 64 characters and response with a error Pub Ack if its too long
6969
* Server will reject messages for which the batch is unknown with a error Pub Ack
7070
* If messages in a batch is received and any gap is detected the batch will be rejected with a error Pub Ack
71-
* Check properties like `ExpectedLastSeq` using the sequences found in the stream prior to the batch, at the time when the batch is committed under lock for consistency. Rejects the batch with an error Pub Ack if any message fails these checks. Only the first message of the batch may contain `Nats-Expected-Last-Sequence` or `Nats-Expected-Last-Msg-Id`. Checks using `Nats-Expected-Last-Subject-Sequence` can only be performed if prior entries in the batch not also write to that same subject.
71+
* Check properties like `ExpectedLastSeq` using the sequences found in the stream prior to the batch, at the time when the batch is committed under lock for consistency. Rejects the batch with an error Pub Ack if any message fails these checks. Only the first message of the batch may contain `Nats-Expected-Last-Sequence`. Checks using `Nats-Expected-Last-Subject-Sequence` can only be performed if prior entries in the batch do not also write to that same subject.
7272
* Abandon without error reply anywhere a batch that has not had messages for 10 seconds, an advisory will be raised on abandonment in this case
7373
* Send a pub ack on the final message that includes a new property `Batch:ID` and `Count:10`. The sequence in the ack would be the final message sequence, previous messages in the batch would be the preceding sequences
7474
* If a stream is operating on the `PersistMode: async` mode, any batch published to it must fail

0 commit comments

Comments
 (0)