NATS Streaming

要设置NATS Streaming pubsub,请创建类型为 的组件。 See this guide on how to create and apply a pubsub configuration.

Warning

以上示例将密钥明文存储, It is recommended to use a secret store for the secrets as described here.

然后,您可以使用 localhost:4222 与服务器进行交互。

使用 kubectl 在 Kubernetes 上安装 NATS:

例如,如果使用上面的例子安装, NATS Streaming地址是:

<YOUR-HOST>:4222