JetStream
最后更新于
最后更新于
In one window start a JetStream enabled nats server:
And make sure you have the CLI tools and installed
Now skip to the section.
You can join a JetStream instance to your account, first we need a credential for testing JetStream:
You'll want to do this outside of docker to keep the credentials that are generated.
You'll get a credential file somewhere like ~/.nkeys/creds/synadia/YourAccount/leafnode.creds
, mount this file into the docker container for JetStream using -v ~/.nkeys/creds/synadia/YourAccount/leafnode.creds:/leafnode.creds
.