Skip to content

Commit 87ee428

Browse files
authored
Merge pull request #3740 from Taction/fix_pubsub_rabbit_mq_client_name
add clientName and heartBeat
2 parents ad50b79 + d338e54 commit 87ee428

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

daprdocs/content/en/reference/components-reference/supported-pubsub/setup-rabbitmq.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ spec:
6262
value: false
6363
- name: ttlInSeconds
6464
value: 60
65+
- name: clientName
66+
value: {podName}
67+
- name: heartBeat
68+
value: 10s
6569
```
6670
6771
{{% alert title="Warning" color="warning" %}}
@@ -96,6 +100,8 @@ The above example uses secrets as plain strings. It is recommended to use a secr
96100
| caCert | Required for using TLS | Certificate Authority (CA) certificate in PEM format for verifying server TLS certificates. | `"-----BEGIN CERTIFICATE-----\n<base64-encoded DER>\n-----END CERTIFICATE-----"`
97101
| clientCert | Required for using TLS | TLS client certificate in PEM format. Must be used with `clientKey`. | `"-----BEGIN CERTIFICATE-----\n<base64-encoded DER>\n-----END CERTIFICATE-----"`
98102
| clientKey | Required for using TLS | TLS client key in PEM format. Must be used with `clientCert`. Can be `secretKeyRef` to use a secret reference. | `"-----BEGIN RSA PRIVATE KEY-----\n<base64-encoded PKCS8>\n-----END RSA PRIVATE KEY-----"`
103+
| clientName | N | This RabbitMQ [client-provided connection name](https://www.rabbitmq.com/connections.html#client-provided-names) is a custom identifier. If set, the identifier is mentioned in RabbitMQ server log entries and management UI. Can be set to {uuid}, {podName}, or {appID}, which is replaced by Dapr runtime to the real value. | `"app1"`, `{uuid}`, `{podName}`, `{appID}`
104+
| heartBeat | N | Defines the heartbeat interval with the server, detecting the aliveness of the peer TCP connection with the RabbitMQ server. Defaults to `10s` . | `"10s"`
99105

100106

101107
## Communication using TLS

0 commit comments

Comments
 (0)