You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nats Context allows a dev to load contexts locally to make it easier to work across nats systems.
Its part of the NATS cli.
So example should probably use this way of connecting, so that we can easily control if its using the docker nats cluster or the NATS on host.
nats context
error: a subcommand from the list below is required, use --help for full help including flags and arguments
usage: nats context <command> [<args> ...]
Manage nats configuration contexts
Subcommands:
context save Update or create a context
context copy Copies an existing context
context edit Edit a context in your EDITOR
context ls List known contexts
context rm Remove a context
context selectSelect the default context
context info Display information on the current or named context
context validate Validate one or all contexts
nats context ls
╭───────────────────────────────────────────╮
│ Known Contexts │
├─────────────────────┬─────────────────────┤
│ Name │ Description │
├─────────────────────┼─────────────────────┤
│ demo* │ │
│ gedw99-nats-cluster │ Nats cluster on fly │
╰─────────────────────┴─────────────────────╯
The text was updated successfully, but these errors were encountered:
Nats Context allows a dev to load contexts locally to make it easier to work across nats systems.
Its part of the NATS cli.
So example should probably use this way of connecting, so that we can easily control if its using the docker nats cluster or the NATS on host.
The text was updated successfully, but these errors were encountered: