Skip to content

Unable to use rollups on scheduled messages #7557

@m13t

Description

@m13t

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.

Metadata

Metadata

Assignees

Labels

defectSuspected defect such as a bug or regression

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions