-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Observed behavior
Hi,
I have been working a lot with scheduled messages recently and I have noticed that you can not schedule a message with the Nats-Rollup header. It seems that as this header is explicitly set by the server to ensure only a single schedule per subject, you cannot set this as a desired header on the target message when it is delivered.
Expected behavior
I would expect to be able to use message rollup on the final delivery message. I assume much like the we now have Nats-Schedule-TTL which sets the TTL header on the final delivered message, we may now require a Nats-Schedule-Rollup which can set the Nats-Rollup header on the final message.
Server and client version
Server v2.12, Client nats.go v1.47
Host environment
Any
Steps to reproduce
Publish message on schedule enabled stream with Nats-Rollup header set. It will be removed on final delivered message.