Skip to content

Conversation

VeryStrongFingers
Copy link
Contributor

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)
@tidwall tidwall merged commit 30698b4 into tidwall:master Jun 17, 2025
1 check passed
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.

2 participants