Skip to content

NATS Endpoint improvements (Jetstream support, user credentials, tls (transport)) #770

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VeryStrongFingers
Copy link

NATS Endpoint improvements, client dep update, support for Jetstream acks + user credentials + tls (transport, not credentials)

Describe your changes

NATS Endpoint options added:

  • credential (string) - path to user credentials (JWT + NKEY)
  • jetstream (bool) - publish via jetstream (i.e. wait for stream ack)
  • secure (bool) - nats server connection transport layer via TLS (not to be confused with 'TLS' option in endpoint)

example usage:
nats://connect.ngs.global:4222/mycoolstream?secure=true&jetstream=true&credential=/Users/user/.config/nats/auth/user.creds

Issue number and link

Pull request require a prior issue with discussion.
Include the issue number of link here.

…acks + user credentials + tls (transport, not credentials)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant