When publishing to a stream with subject x.* one can now express a constraint using the header Nats-Expected-Last-Subject-Sequence stating that the message going into subject x.y should only be accepted if the last sequence in x.y was a specific value. This is a subject aware version of Nats-Expected-Last-Msg-Id.
Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.
Overview
When publishing to a stream with subject
x.*
one can now express a constraint using the headerNats-Expected-Last-Subject-Sequence
stating that the message going into subjectx.y
should only be accepted if the last sequence inx.y
was a specific value. This is a subject aware version ofNats-Expected-Last-Msg-Id
.There is no ADR. The server PR is https://github.com/nats-io/nats-server/pull/2322
Clients and Tools
Other Tasks
Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.