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

[ADDED] JetStream: nats.DirectGet() and nats.DirectGetNext() options #1020

Merged
merged 2 commits into from Jul 29, 2022

Commits on Jul 25, 2022

  1. [ADDED] JetStream: DirectGetMsg API

    The AllowDirect boolean must be set in the stream configuration.
    When that is the case, then all servers (leader and replicas) are
    part of a DQ group and can respond to a "DIRECT.GET" request.
    
    The KeyValue store makes use of the direct get when connecting
    to a stream with the AllowDirect option.
    
    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed Jul 25, 2022
    Copy the full SHA
    6528169 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Add options instead of introducing new DirectGetMsg API.

    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed Jul 29, 2022
    Copy the full SHA
    b22f6cb View commit details
    Browse the repository at this point in the history