Skip to content

Batch publish - Nats-Expected-Last-Sequence and Nats-Rollup header support #6975

@MauriceVanVeen

Description

@MauriceVanVeen

Observed behavior

Headers like Nats-Expected-Last-Sequence and Nats-Rollup should be properly supported. This currently doesn't work because only replicas check these headers. The leader should check, and be able to fail the batch on a mismatch.

Expected behavior

Support these headers.

Server and client version

main

Host environment

No response

Steps to reproduce

No response

Metadata

Metadata

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