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.

Warning

You can run a NATS server locally using Docker:

You can then interact with the server using the client port: localhost:4222.

This installs a single NATS-Streaming and Nats into the default namespace. To interact with NATS, find the service with: .

For example, if installing using the example above, the NATS Streaming address would be:

  • Read this guide for instructions on configuring pub/sub components