From 90816bed56a064ccecbc804288a457cbb3e9670a Mon Sep 17 00:00:00 2001 From: AbserAri <32089134+abserari@users.noreply.github.com> Date: Thu, 29 Oct 2020 05:34:39 +0800 Subject: [PATCH] Update setup-nats-streaming.md (#884) --- .../supported-pubsub/setup-nats-streaming.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/daprdocs/content/en/operations/components/setup-pubsub/supported-pubsub/setup-nats-streaming.md b/daprdocs/content/en/operations/components/setup-pubsub/supported-pubsub/setup-nats-streaming.md index 86cf07a61..473ca9d61 100644 --- a/daprdocs/content/en/operations/components/setup-pubsub/supported-pubsub/setup-nats-streaming.md +++ b/daprdocs/content/en/operations/components/setup-pubsub/supported-pubsub/setup-nats-streaming.md @@ -62,8 +62,13 @@ spec: # blow are subscription configuration. - name: subscriptionType value: # Required. Allowed values: topic, queue. - - name: consumerID - value: # Optional. Any String would be accept. + # - name: ackWaitTime + # value: "" # Optional. See: https://docs.nats.io/developing-with-nats-streaming/acks#acknowledgements + # - name: maxInFlight + # value: "" # Optional. See: https://docs.nats.io/developing-with-nats-streaming/acks#acknowledgements + # blow two, consumerID and durableSubscriptionName always uncomment together. See: More info: https://docs.nats.io/nats-streaming-concepts/client-connections + # - name: consumerID + # value: # Optional. Any String would be accept. # - name: durableSubscriptionName # value: "" # following subscription options - only one can be used @@ -92,4 +97,4 @@ The above example uses secrets as plain strings. It is recommended to use a secr Visit [this guide]({{< ref "howto-publish-subscribe.md#step-2-publish-a-topic" >}}) for instructions on configuring pub/sub components. ## Related links -- [Pub/Sub building block]({{< ref pubsub >}}) \ No newline at end of file +- [Pub/Sub building block]({{< ref pubsub >}})