nats-architecture-and-design icon indicating copy to clipboard operation
nats-architecture-and-design copied to clipboard

Support Nats-Expected-Last-Subject-Sequence header

Open ripienaar opened this issue 3 years ago • 0 comments

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

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.

ripienaar avatar Jul 01 '21 20:07 ripienaar