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

Updates to KV #901

Merged
merged 1 commit into from Feb 9, 2022
Merged

Updates to KV #901

merged 1 commit into from Feb 9, 2022

Commits on Feb 9, 2022

  1. Updates to KV

    Relying on ConsumerInfo.NumPending on create was not realiable
    if the NATS subscription exists before (which is normal case)
    due to a design in the server that process the add consumer
    request and then computes the consumer info (after the consumer
    is setup which means it could start to deliver messages).
    
    Changed a bit so that we add a JS consumer without attached
    subscription and use internal option to allow a js.Subscribe()
    with a bind to existing consumer.
    
    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed Feb 9, 2022
    Copy the full SHA
    85e8c7f View commit details
    Browse the repository at this point in the history