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

[IMPROVED] Handling of sourcing into a WQ/Interest streamwith a limit and discard new #5372

Merged
merged 1 commit into from
May 1, 2024

Commits on May 1, 2024

  1. Improve the handling of sourcing into a WQ/Interest streamwith a limi…

    …t and discard new.
    
    - Avoids re-scanning the stream to find the consumer's starting sequence number for that source every time. Do not log a warning every time this happens as it becomes constant log spam for something that happens temporarily all the time.
    
    - Strengthen test TestJetStreamClusterSourceWorkingQueueWithLimit to also check the payload (to catch for example the same message being sourced more than once, or messages not getting sourced).
    
    Signed-off-by: Jean-Noël Moyne <jnmoyne@gmail.com>
    jnmoyne committed May 1, 2024
    Configuration menu
    Copy the full SHA
    ea08984 View commit details
    Browse the repository at this point in the history