mirror of https://github.com/dapr/docs.git
				
				
				
			Merge pull request #1318 from pkedy/pubsub_retry_and_redelivery_settings
MQTT & Hazelcast retries and Redis redelivery settings
This commit is contained in:
		
						commit
						a78445c430
					
				|  | @ -31,6 +31,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr | |||
| | Field              | Required | Details | Example | | ||||
| |--------------------|:--------:|---------|---------| | ||||
| | connectionString    | Y  | A comma delimited string of servers. Example: "hazelcast:3000,hazelcast2:3000"  | `"hazelcast:3000,hazelcast2:3000"` | ||||
| | backOffMaxRetries   | N  | The maximum number of retries to process the message before returning an error. Defaults to `"0"` which means the component will not retry processing the message. `"-1"` will retry indefinitely until the message is processed or the application is shutdown. And positive number is treated as the maximum retry count. The component will wait 5 seconds between retries. | `"3"` | | ||||
| 
 | ||||
| 
 | ||||
| ## Create a Hazelcast instance | ||||
|  |  | |||
|  | @ -39,6 +39,7 @@ spec: | |||
| | caCert | Required for using TLS | Certificate authority certificate. Can be `secretKeyRef` to use a secret reference | `0123456789-0123456789` | ||||
| | clientCert | Required for using TLS | Client certificate. Can be `secretKeyRef` to use a secret reference | `0123456789-0123456789` | ||||
| | clientKey | Required for using TLS | Client key. Can be `secretKeyRef` to use a secret reference | `012345` | ||||
| | backOffMaxRetries   | N  | The maximum number of retries to process the message before returning an error. Defaults to `"0"` which means the component will not retry processing the message. `"-1"` will retry indefinitely until the message is processed or the application is shutdown. And positive number is treated as the maximum retry count. The component will wait 5 seconds between retries. | `"3"` | ||||
| 
 | ||||
| 
 | ||||
| ### Communication using TLS | ||||
|  |  | |||
|  | @ -39,8 +39,12 @@ The above example uses secrets as plain strings. It is recommended to use a secr | |||
| |--------------------|:--------:|---------|---------| | ||||
| | redisHost          | Y        | Connection-string for the redis host  | `localhost:6379`, `redis-master.default.svc.cluster.local:6379` | ||||
| | redisPassword      | Y        | Password for Redis host. No Default. Can be `secretKeyRef` to use a secret reference  | `""`, `"KeFg23!"` | ||||
| | consumerID        | N         | The consumer group ID   | `"myGroup"` | ||||
| | enableTLS         | N         | If the Redis instance supports TLS with public certificates, can be configured to be enabled or disabled. Defaults to `"false"` | `"true"`, `"false"` | ||||
| | consumerID         | N        | The consumer group ID   | `"myGroup"` | ||||
| | enableTLS          | N        | If the Redis instance supports TLS with public certificates, can be configured to be enabled or disabled. Defaults to `"false"` | `"true"`, `"false"` | ||||
| | redeliverInterval  | N        | The interval between checking for pending messages to redelivery. Defaults to `"60s"`. `"0"` disables redelivery. | `"30s"` | ||||
| | processingTimeout  | N        | The amount time a message must be pending before attempting to redeliver it. Defaults to `"15s"`. `"0"` disables redelivery. | `"30s"` | ||||
| | queueDepth         | N        | The size of the message queue for processing. Defaults to `"100"`. | `"1000"` | ||||
| | concurrency        | N        | The number of concurrent workers that are processing messages. Defaults to `"10"`. | `"15"` | ||||
| 
 | ||||
| ## Create a Redis instance | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue