Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use last header value for JetStream messages #1239

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Commits on Apr 9, 2024

  1. Use last header value for JetStream messages

    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.
    
    Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
    Jarema committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    bea1b3b View commit details
    Browse the repository at this point in the history