Closed Jarema closed 2 months ago
As republish will append new headers, using first value could lead to misleading data when a message is republish from one stream to another.
This commit fixes it by always picking the last header value.
reference ADR issue: https://github.com/nats-io/nats-architecture-and-design/issues/250
Signed-off-by: Tomasz Pietrek <tomasz@nats.io
As republish will append new headers, using first value could lead to misleading data when a message is republish from one stream to another.
This commit fixes it by always picking the last header value.
reference ADR issue: https://github.com/nats-io/nats-architecture-and-design/issues/250
Signed-off-by: Tomasz Pietrek <tomasz@nats.io