Update rabbitmq.md (#1086)

This commit is contained in:
Yaron Schneider 2021-01-12 14:28:49 -08:00 committed by GitHub
parent 359cd7a61e
commit d1f29fdc61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -29,6 +29,8 @@ spec:
value: 60
- name: prefetchCount
value: 0
- name: exclusive
value: false
```
- `queueName` is the RabbitMQ queue name.
@ -37,6 +39,7 @@ spec:
- `deleteWhenUnused` enables or disables auto-delete.
- `ttlInSeconds` is an optional parameter to set the [default message time to live at RabbitMQ queue level](https://www.rabbitmq.com/ttl.html). If this parameter is omitted, messages won't expire, continuing to exist on the queue until processed.
- `prefetchCount` is an optional parameter to set the [Channel Prefetch Setting (QoS)](https://www.rabbitmq.com/confirms.html#channel-qos-prefetch). If this parameter is omiited, QoS would set value to 0 as no limit.
- `exclusive` determines whether the topic will be an exclusive topic or not
{{% alert title="Warning" color="warning" %}}
The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described [here]({{< ref component-secrets.md >}}).
@ -74,4 +77,4 @@ curl -X POST http://localhost:3500/v1.0/bindings/myRabbitMQ \
- [Bindings building block]({{< ref bindings >}})
- [How-To: Trigger application with input binding]({{< ref howto-triggers.md >}})
- [How-To: Use bindings to interface with external resources]({{< ref howto-bindings.md >}})
- [Bindings API reference]({{< ref bindings_api.md >}})
- [Bindings API reference]({{< ref bindings_api.md >}})