nats-architecture-and-design
nats-architecture-and-design copied to clipboard
Support Nats-Expected-Last-Subject-Sequence header
Overview
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
.
There is no ADR. The server PR is https://github.com/nats-io/nats-server/pull/2322
Clients and Tools
- [x] CLI
- [x] Go @wallyqs
- [x] Java @scottf
- [x] JavaScript
- [x] .Net @ColinSullivan1 @scottf
- [x] C
- [x] Python @wallyqs
- [ ] Rust @Jarema
Other Tasks
- [ ] docs.nats.io updated
- [x] Update client features spreadsheet
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.