NATS Streaming
To setup NATS Streaming pubsub create a component of type . See this guide on how to create and apply a pubsub configuration.
Warning
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.
You can then interact with the server using the client port: localhost:4222
.
Install NATS on Kubernetes by using the kubectl:
For example, if installing using the example above, the NATS Streaming address would be:
<YOUR-HOST>:4222