diff --git a/daprdocs/content/en/reference/resource-specs/subscription-schema.md b/daprdocs/content/en/reference/resource-specs/subscription-schema.md index 7f842f7150d..70cc0b2451c 100644 --- a/daprdocs/content/en/reference/resource-specs/subscription-schema.md +++ b/daprdocs/content/en/reference/resource-specs/subscription-schema.md @@ -38,6 +38,7 @@ spec: enabled: maxMessagesCount: maxAwaitDurationMs: + metadata: # Optional scopes: - ``` @@ -51,6 +52,7 @@ scopes: | pubsubname | N | The name of your pub/sub component. | `pubsub` | | deadLetterTopic | N | The name of the dead letter topic that forwards undeliverable messages. | `poisonMessages` | | bulkSubscribe | N | Enable bulk subscribe properties. | `true`, `false` | +| metadata | N | Set subscribe metadata. | `{"key": "value"}` | ## `v1alpha1` format @@ -67,6 +69,7 @@ spec: route: # Required pubsubname: # Required deadLetterTopic: # Optional + metadata: # Optional bulkSubscribe: # Optional - enabled: - maxMessagesCount: @@ -83,6 +86,7 @@ scopes: | route | Y | The endpoint to which all topic messages are sent. | `/checkout` | | pubsubname | N | The name of your pub/sub component. | `pubsub` | | deadlettertopic | N | The name of the dead letter topic that forwards undeliverable messages. | `poisonMessages` | +| metadata | N | Set subscribe metadata. | `{"key": "value"}` | | bulksubscribe | N | Enable bulk subscribe properties. | `true`, `false` | ## Related links