Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
eec904d
Fix: codeblock wasn't properly closed
tmacam Oct 13, 2022
13101e5
Merge branch 'v1.9' into patch-1
hhunter-ms Oct 14, 2022
e56b4a0
update code examples
hhunter-ms Oct 14, 2022
490f437
Fix broken link in components-concept page
tmacam Oct 14, 2022
dc8f225
Merge pull request #2891 from tmacam/patch-1
greenie-msft Oct 14, 2022
b4bdbea
Merge branch 'v1.9' into patch-2
greenie-msft Oct 14, 2022
b4eb9da
Merge pull request #2898 from tmacam/patch-2
greenie-msft Oct 14, 2022
8fb7d50
Add Resiliency to the concepts page
greenie-msft Oct 14, 2022
962d241
Merge branch 'v1.9' into resiliency_concepts
greenie-msft Oct 14, 2022
914b219
Update redis.md
wxbty Oct 17, 2022
e34f93b
Merge branch 'v1.9' of https://github.com/dapr/docs into v1.9
hhunter-ms Oct 17, 2022
ba4b8be
Remove ServiceInvocation.NoDefaultContentType feature flag
ItalyPaleAle Oct 17, 2022
8fdeb61
dotnet submodule
hhunter-ms Oct 17, 2022
1fdcfbd
Simplifying kubernetes YAML config (#2908)
mcandeia Oct 18, 2022
aeeaa7a
Merge branch 'v1.9' into issue_2738
hhunter-ms Oct 19, 2022
767e86e
Merge branch 'v1.9' into resiliency_concepts
greenie-msft Oct 19, 2022
63495e4
Clarify GH actions doc (#2906)
hhunter-ms Oct 20, 2022
cae4de6
dotnet submodule (#2904)
hhunter-ms Oct 20, 2022
54e1547
Update latest Python SDK version
berndverst Oct 20, 2022
292e10d
Merge branch 'v1.9' into issue_2738
msfussell Oct 20, 2022
b5ed151
etag true for dynamodb (#2902)
hhunter-ms Oct 20, 2022
ae717fb
Merge branch 'v1.9' into issue_2738
msfussell Oct 20, 2022
3422654
[Run w/o docker] Add tabs and port number (#2905)
hhunter-ms Oct 20, 2022
ec00a5c
Merge branch 'v1.9' into issue_2738
hhunter-ms Oct 20, 2022
802186e
Merge branch 'v1.9' into patch-15
msfussell Oct 21, 2022
ded9852
Merge branch 'v1.9' into fix-2869
artursouza Oct 24, 2022
471ad4c
Merge pull request #2903 from ItalyPaleAle/fix-2869
greenie-msft Oct 26, 2022
c8e3745
Merge branch 'v1.9' into patch-15
hhunter-ms Oct 26, 2022
da2e9ff
Merge branch 'v1.9' into issue_2738
hhunter-ms Oct 26, 2022
da5e7a2
1/3 update per alecor191
hhunter-ms Oct 26, 2022
3e24788
Merge branch 'v1.9' of https://github.com/dapr/docs into v1.9
hhunter-ms Oct 26, 2022
830b4c2
Update redis.md
wxbty Oct 27, 2022
6187878
Add missing rocketmq pubsub to table
berndverst Oct 27, 2022
08455c7
Update aws-secret-manager.md
vishalsignity Oct 28, 2022
2972c26
Update daprdocs/content/en/concepts/resiliency-concept.md
greenie-msft Oct 31, 2022
0292942
Update daprdocs/content/en/concepts/resiliency-concept.md
greenie-msft Oct 31, 2022
93eb7c0
Update daprdocs/content/en/concepts/resiliency-concept.md
greenie-msft Oct 31, 2022
d8a6414
Merge branch 'v1.9' into resiliency_concepts
greenie-msft Oct 31, 2022
717ef39
Apply feedback to resiliency concept page
greenie-msft Oct 31, 2022
ac919b9
Mark pubsub.hazelcast as deprecated
ItalyPaleAle Oct 31, 2022
638ab77
Update daprdocs/content/en/reference/components-reference/supported-p…
ItalyPaleAle Oct 31, 2022
d714395
Merge pull request #2919 from berndverst/addmissingrocketmq
greenie-msft Oct 31, 2022
f98df1c
Merge branch 'v1.9' into patch-15
greenie-msft Oct 31, 2022
e82fbcd
Merge pull request #2911 from berndverst/patch-15
greenie-msft Oct 31, 2022
e024c0a
update supported versions list (#2916)
mukundansundar Nov 1, 2022
e05cfba
Merge branch 'v1.9' into resiliency_concepts
greenie-msft Nov 1, 2022
16d2155
Merge branch 'v1.9' into issue_2738
hhunter-ms Nov 2, 2022
47bd872
Update daprdocs/content/en/concepts/resiliency-concept.md
greenie-msft Nov 2, 2022
47ad833
Merge branch 'v1.9' into fix-2708
ItalyPaleAle Nov 2, 2022
0a8e4d1
Merge branch 'v1.9' into patch-1
greenie-msft Nov 2, 2022
51d3a55
Merge branch 'v1.9' into patch-3
greenie-msft Nov 2, 2022
528d695
Update azure-kubernetes-service-extension.md
greenie-msft Nov 2, 2022
1939325
Update redis.md
wxbty Nov 3, 2022
80b61c4
Update redis.md
wxbty Nov 3, 2022
5cfba9f
Update eventgrid.md command typos (#2932)
ana-cozma Nov 3, 2022
a64803c
Add sidecar health image and fix broken links
greenie-msft Nov 3, 2022
36b7e2c
Merge branch 'v1.9' into resiliency_concepts
greenie-msft Nov 3, 2022
8b29dcc
Merge pull request #2899 from greenie-msft/resiliency_concepts
hhunter-ms Nov 3, 2022
3e46718
Merge branch 'v1.9' into patch-1
greenie-msft Nov 3, 2022
71c4a86
Merge pull request #2920 from vishalsignity/patch-1
greenie-msft Nov 3, 2022
9930c56
update python to be declarative example
hhunter-ms Nov 3, 2022
b2d97e1
Merge branch 'issue_2738' of https://github.com/hhunter-ms/docs into …
hhunter-ms Nov 3, 2022
54d43c2
Start of resiliency quickstart
greenie-msft Nov 3, 2022
8bf29a5
Update daprdocs/content/en/getting-started/quickstarts/resiliency-qui…
greenie-msft Nov 4, 2022
802aaf1
Update docs runtime version to 1.9.3
greenie-msft Nov 7, 2022
2782ac4
Merge pull request #2940 from greenie-msft/hotfix_1.9.3
greenie-msft Nov 7, 2022
53b1521
Update azure-api-management.md
mountain65 Nov 8, 2022
0422117
Use Google Analytics 4 ID (#2941)
chalin Nov 8, 2022
5783d9a
Fix Python SDK version
greenie-msft Nov 8, 2022
4b0b126
Merge pull request #2944 from dapr/greenie-msft-patch-8
greenie-msft Nov 8, 2022
3cf224f
update code snippets
hhunter-ms Nov 8, 2022
b33dfb6
Merge branch 'v1.9' of https://github.com/dapr/docs into issue_2738
hhunter-ms Nov 8, 2022
7a69b98
Merge branch 'v1.9' into patch-1
hhunter-ms Nov 8, 2022
c0f9f3b
Merge pull request #2942 from mountain65/patch-1
hhunter-ms Nov 8, 2022
a5f7570
Merge branch 'v1.9' into patch-3
hhunter-ms Nov 8, 2022
5cecc7d
Merge branch 'v1.9' into fix-2708
hhunter-ms Nov 8, 2022
ddc252e
Azurite queue default port is 10001
ThumNet Nov 9, 2022
a3864fa
Merge branch 'v1.9' into resiliency_quickstart
hhunter-ms Nov 9, 2022
ddeffad
Merge branch 'v1.9' into issue_2738
hhunter-ms Nov 9, 2022
5558ab3
Merge pull request #2901 from wxbty/patch-3
hhunter-ms Nov 10, 2022
1b1214c
Merge branch 'v1.9' into patch-1
hhunter-ms Nov 10, 2022
5665fba
Merge branch 'v1.9' into greenie-msft-patch-7
hhunter-ms Nov 10, 2022
c9f61fa
Merge branch 'v1.9' into issue_2738
msfussell Nov 10, 2022
9840c1d
Merge pull request #2896 from hhunter-ms/issue_2738
hhunter-ms Nov 10, 2022
fc6fc9f
Merge branch 'v1.9' into resiliency_quickstart
hhunter-ms Nov 11, 2022
37844bc
updates per resiliency example
hhunter-ms Nov 12, 2022
5b7b832
Add resiliency images for quickstarts
greenie-msft Nov 15, 2022
8bf5bdd
Merge branch 'v1.9' into patch-1
ThumNet Nov 16, 2022
b80a59a
Updates to resiliency svc invoke quickstart
greenie-msft Nov 16, 2022
68f8951
updates per Nick review
hhunter-ms Nov 16, 2022
c4f8b25
pull in update
hhunter-ms Nov 16, 2022
1769f15
Update daprdocs/content/en/developing-applications/integrations/Azure…
greenie-msft Nov 16, 2022
c493def
Merge branch 'v1.9' into greenie-msft-patch-7
greenie-msft Nov 16, 2022
4093682
Merge pull request #2949 from ThumNet/patch-1
greenie-msft Nov 16, 2022
149669d
Merge branch 'v1.9' into resiliency_quickstart
greenie-msft Nov 17, 2022
2d7f4cd
capitalize Dapr
hhunter-ms Nov 17, 2022
302f3dc
Update daprdocs/content/en/getting-started/quickstarts/resiliency/res…
greenie-msft Nov 17, 2022
21a7611
Update daprdocs/content/en/getting-started/quickstarts/resiliency/res…
greenie-msft Nov 17, 2022
c8bac81
Update daprdocs/content/en/getting-started/quickstarts/resiliency/res…
greenie-msft Nov 17, 2022
ea5ae8d
Update daprdocs/content/en/getting-started/quickstarts/resiliency/res…
greenie-msft Nov 17, 2022
081f0bf
Update daprdocs/content/en/getting-started/quickstarts/resiliency/res…
greenie-msft Nov 17, 2022
1154bc7
Fix resiliency component quickstart
greenie-msft Nov 17, 2022
0f67669
Merge branch 'v1.9' of https://github.com/dapr/docs into v1.9
hhunter-ms Nov 17, 2022
320ed53
Update runtime version to 1.9.4
greenie-msft Nov 17, 2022
e2fa30d
Update subscription examples (#2957)
hhunter-ms Nov 18, 2022
3c0dad5
Merge branch 'v1.9' into v1.9.4
msfussell Nov 18, 2022
0d4a790
Merge branch 'v1.9' into resiliency_quickstart
msfussell Nov 18, 2022
44e3f68
Merge pull request #2958 from greenie-msft/v1.9.4
greenie-msft Nov 18, 2022
b540fa3
Kafka SASL SCRAM Authentication (#2939)
mindovermiles262 Nov 20, 2022
e72c401
Merge branch 'v1.9' into resiliency_quickstart
greenie-msft Nov 21, 2022
d922b92
Merge pull request #2935 from greenie-msft/resiliency_quickstart
hhunter-ms Nov 21, 2022
d55d2f2
Merge branch 'v1.9' into greenie-msft-patch-7
hhunter-ms Nov 21, 2022
74d4abd
Merge pull request #2930 from dapr/greenie-msft-patch-7
hhunter-ms Nov 21, 2022
09cc2db
Merge branch 'v1.9' into fix-2708
ItalyPaleAle Nov 22, 2022
18f5e66
Update fluentd.md (#2967)
vikram-thiru Nov 23, 2022
976dcab
Adding missing brace for json document example (#2968)
ckchessmaster Nov 23, 2022
9ee2e27
Update Kubernetes job page (#2973)
renatolfc Nov 25, 2022
f5f5017
Merge branch 'v1.9' into fix-2708
yaron2 Nov 28, 2022
661a8ff
Remove backoffmaxretries from pubsub.mqtt metadata spec
shivamkm07 Nov 28, 2022
1da9cb4
Fix resiliency run command in quickstart (#2983)
greenie-msft Nov 30, 2022
495f88f
Merge branch 'v1.9' into fix-mqttsetup-1.9
greenie-msft Nov 30, 2022
350b764
Merge pull request #2976 from shivamkm07/fix-mqttsetup-1.9
greenie-msft Nov 30, 2022
f5bccb7
Update version to 1.9.5 (#2987)
greenie-msft Dec 2, 2022
a0006f8
Merge branch 'v1.9' into fix-2708
yaron2 Dec 4, 2022
28f05d2
Updated per feedback
ItalyPaleAle Dec 5, 2022
e1e001f
Merge pull request #2925 from ItalyPaleAle/fix-2708
hhunter-ms Dec 8, 2022
3cc3f37
Merge branch 'v1.9' of https://github.com/dapr/docs into v1.9
hhunter-ms Dec 12, 2022
d6d51ba
clarify app namespace
hhunter-ms Dec 12, 2022
02675d0
Merge pull request #3002 from hhunter-ms/clarify_namespace
greenie-msft Dec 12, 2022
05850e7
Improve Hashicorp Vault documentation on CA certificates. (#2988)
tmacam Dec 14, 2022
eac8e9f
Removing stored procedure references from cosmosDB docs (#3000)
RyanLettieri Dec 14, 2022
7d07eb9
fix broken ref in distributed_lock_api
LENSHOOD Dec 14, 2022
cc6aa19
Merge pull request #3004 from LENSHOOD/patch-1
greenie-msft Dec 14, 2022
6d3f537
Adding `helm repo update` (#3010)
Dec 15, 2022
6f5788a
remove duplicate table row
hhunter-ms Dec 15, 2022
15cf08d
update acquire lock dotnet
hhunter-ms Dec 15, 2022
8fdb4ca
update unlock dotnet code
hhunter-ms Dec 15, 2022
4f717d9
change link for sidecar security (#3011)
hhunter-ms Dec 16, 2022
4cfafa1
Merge branch 'v1.9' into issue_2984
msfussell Dec 16, 2022
5d33c61
update port to match go code (#3014)
hhunter-ms Dec 16, 2022
24417b1
Small suggestion to save resources for local dev
salaboy Dec 14, 2022
6411364
fix broken ref in distributed_lock_api
LENSHOOD Dec 14, 2022
aefd255
Update daprdocs/content/en/getting-started/tutorials/configure-state-…
salaboy Dec 15, 2022
a21176e
Update daprdocs/content/en/getting-started/tutorials/configure-state-…
salaboy Dec 16, 2022
7f51c02
Merge branch 'v1.9' into issue_2984
hhunter-ms Dec 16, 2022
58902c6
Remove mentions of backoff from rabbitmq docs (#2978)
renatolfc Dec 17, 2022
7fa05d6
Merge branch 'v1.9' into issue_2984
hhunter-ms Dec 19, 2022
efb1275
Merge pull request #3012 from hhunter-ms/issue_2984
hhunter-ms Dec 19, 2022
b734287
fix description of Redis maxRetryBackoff metadata (#3020)
Syuparn Dec 21, 2022
20e3158
Merge branch 'v1.9' into issue_2937
msfussell Dec 21, 2022
e172996
Add lightweight analytics pixel to dapr website (#3025)
arjundevarajan Dec 22, 2022
e65f589
Merge branch 'v1.9' into patch-2
yaron2 Dec 29, 2022
37bc862
Merge branch 'v1.9' into issue_2937
hhunter-ms Jan 3, 2023
3ce9862
fix link
hhunter-ms Jan 3, 2023
e1086e7
Merge branch 'issue_2937' of https://github.com/hhunter-ms/docs into …
hhunter-ms Jan 3, 2023
a92c380
Merge pull request #3013 from hhunter-ms/issue_2937
hhunter-ms Jan 3, 2023
4bc895a
Merge branch 'v1.9' into patch-2
hhunter-ms Jan 3, 2023
57aae50
Merge pull request #3006 from salaboy/patch-2
hhunter-ms Jan 3, 2023
a6175ea
upmerge
hhunter-ms Jan 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,14 @@ namespace LockService
{
class Program
{
[Obsolete("Distributed Lock API is in Alpha, this can be removed once it is stable.")]
static async Task Main(string[] args)
{
string DAPR_LOCK_NAME = "lockstore";
string fileName = "my_file_name";
var client = new DaprClientBuilder().Build();

using (var fileLock = await client.Lock(DAPR_LOCK_NAME, "my_file_name", "random_id_abc123", 60))
await using (var fileLock = await client.Lock(DAPR_LOCK_NAME, fileName, "random_id_abc123", 60))
{
if (fileLock.Success)
{
Expand Down Expand Up @@ -147,7 +149,7 @@ namespace LockService
var client = new DaprClientBuilder().Build();

var response = await client.Unlock(DAPR_LOCK_NAME, "my_file_name", "random_id_abc123"));
Console.WriteLine(response.LockStatus);
Console.WriteLine(response.status);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ helm install redis bitnami/redis --set image.tag=6.2
```

For Dapr's Pub/sub functionality, you'll need at least Redis version 5. For state store, you can use a lower version.
Note that adding `--set architecture=standalone` to the `install` command creates a single replica Redis setup, which can save memory and resources if you are working in a local environment.

Run `kubectl get pods` to see the Redis containers now running in your cluster:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
| redisPassword | Y | Password for Redis host. No Default. Can be `secretKeyRef` to use a secret reference | `""`, `"KeFg23!"`
| enableTLS | N | If the Redis instance supports TLS with public certificates, can be configured to be enabled or disabled. Defaults to `"false"` | `"true"`, `"false"`
| maxRetries | N | Maximum number of retries before giving up. Defaults to `3` | `5`, `10`
| maxRetryBackoff | N | Minimum backoff between each retry. Defaults to `2` seconds; `"-1"` disables backoff. | `3000000000`
| maxRetryBackoff | N | Maximum backoff between each retry. Defaults to `2` seconds; `"-1"` disables backoff. | `3000000000`
| failover | N | Property to enabled failover configuration. Needs sentinalMasterName to be set. The redisHost should be the sentinel host address. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/). Defaults to `"false"` | `"true"`, `"false"`
| sentinelMasterName | N | The sentinel master name. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/) | `""`, `"127.0.0.1:6379"`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
| redisUsername | N | Username for Redis host. Defaults to empty. Make sure your redis server version is 6 or above, and have created acl rule correctly. | `""`, `"default"`
| enableTLS | N | If the Redis instance supports TLS with public certificates, can be configured to be enabled or disabled. Defaults to `"false"` | `"true"`, `"false"`
| maxRetries | N | Maximum number of retries before giving up. Defaults to `3` | `5`, `10`
| maxRetryBackoff | N | Minimum backoff between each retry. Defaults to `2` seconds; `"-1"` disables backoff. | `3000000000`
| maxRetryBackoff | N | Maximum backoff between each retry. Defaults to `2` seconds; `"-1"` disables backoff. | `3000000000`
| failover | N | Property to enabled failover configuration. Needs sentinalMasterName to be set. The redisHost should be the sentinel host address. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/). Defaults to `"false"` | `"true"`, `"false"`
| sentinelMasterName | N | The sentinel master name. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/) | `""`, `"127.0.0.1:6379"`
| redeliverInterval | N | The interval between checking for pending messages to redelivery. Defaults to `"60s"`. `"0"` disables redelivery. | `"30s"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ spec:
value: parallel
- name: publisherConfirm
value: false
- name: backOffPolicy
value: exponential
- name: backOffInitialInterval
value: 100
- name: backOffMaxRetries
value: 16
- name: enableDeadLetter # Optional enable dead Letter or not
value: true
- name: maxLen # Optional max message count in a queue
Expand Down Expand Up @@ -75,24 +69,22 @@ The above example uses secrets as plain strings. It is recommended to use a secr
| publisherConfirm | N | If enabled, client waits for [publisher confirms](https://www.rabbitmq.com/confirms.html#publisher-confirms) after publishing a message. Defaults to `"false"` | `"true"`, `"false"`
| reconnectWait | N | How long to wait (in seconds) before reconnecting if a connection failure occurs | `"0"`
| concurrencyMode | N | `parallel` is the default, and allows processing multiple messages in parallel (limited by the `app-max-concurrency` annotation, if configured). Set to `single` to disable parallel processing. In most situations there's no reason to change this. | `parallel`, `single`
| backOffPolicy | N | Retry policy, `"constant"` is a backoff policy that always returns the same backoff delay. `"exponential"` is a backoff policy that increases the backoff period for each retry attempt using a randomization function that grows exponentially. Defaults to `"constant"`. | `constant`、`exponential` |
| backOffDuration | N | The fixed interval only takes effect when the policy is constant. There are two valid formats, one is the fraction with a unit suffix format, and the other is the pure digital format that will be processed as milliseconds. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Defaults to `"5s"`. | `"5s"`、`"5000"` |
| backOffInitialInterval | N | The backoff initial interval on retry. Only takes effect when the policy is exponential. There are two valid formats, one is the fraction with a unit suffix format, and the other is the pure digital format that will be processed as milliseconds. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Defaults to `"500"` | `"50"` |
| backOffMaxInterval | N | The backoff initial interval on retry. Only takes effect when the policy is exponential. There are two valid formats, one is the fraction with a unit suffix format, and the other is the pure digital format that will be processed as milliseconds. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Defaults to `"60s"` | `"60000"` |
| 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. Any positive number is treated as the maximum retry count. | `"3"` |
| backOffRandomizationFactor | N | Randomization factor, between 1 and 0, including 0 but not 1. Randomized interval = RetryInterval * (1 ± backOffRandomizationFactor). Defaults to `"0.5"`. | `"0.5"` |
| backOffMultiplier | N | Backoff multiplier for the policy. Increments the interval by multiplying it with the multiplier. Defaults to `"1.5"` | `"1.5"` |
| backOffMaxElapsedTime | N | After MaxElapsedTime the ExponentialBackOff returns Stop. There are two valid formats, one is the fraction with a unit suffix format, and the other is the pure digital format that will be processed as milliseconds. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". Defaults to `"15m"` | `"15m"` |
| enableDeadLetter | N | Enable forwarding Messages that cannot be handled to a dead-letter topic. Defaults to `"false"` | `"true"`, `"false"` |
| maxLen | N | The maximum number of messages of a queue and its dead letter queue (if dead letter enabled). If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit. | `"1000"` |
| maxLenBytes | N | Maximum length in bytes of a queue and its dead letter queue (if dead letter enabled). If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit. | `"1048576"` |
| exchangeKind | N | Exchange kind of the rabbitmq exchange. Defaults to `"fanout"`. | `"fanout"`,`"topic"` |

### Backoff policy introduction
### Enabling message delivery retries

Backoff retry strategy can instruct the dapr sidecar how to resend the message. By default, the retry strategy is turned off, which means that the sidecar will send a message to the service once. When the service returns a result, the message will be marked as consumption regardless of whether it is correct or not. The above is based on the condition of `autoAck` and `requeueInFailure` is setting to false(if `requeueInFailure` is set to true, the message will get a second chance).
The RabbitMQ pub/sub component has no built-in support for retry strategies. This means that the sidecar sends a message to the service only once. When the service returns a result, the message will be marked as consumed regardless of whether it was processed correctly or not. Note that this is common among all Dapr PubSub components and not just RabbitMQ.
Dapr can try redelivering a message a second time, when `autoAck` is set to `false` and `requeueInFailure` is set to `true`.

But in some cases, you may want dapr to retry pushing message with an (exponential or constant) backoff strategy until the message is processed normally or the number of retries is exhausted. This maybe useful when your service breaks down abnormally but the sidecar is not stopped together. Adding backoff policy will retry the message pushing during the service downtime, instead of marking these message as consumed.
To make Dapr use more sophisticated retry policies, you can apply a [retry resiliency policy]({{< ref "policies.md#retries" >}}) to the RabbitMQ pub/sub component.

There is a crucial difference between the two ways to retry messages:

1. When using `autoAck = false` and `requeueInFailure = true`, RabbitMQ is the one responsible for re-delivering messages and _any_ subscriber can get the redelivered message. If you have more than one instance of your consumer, then it’s possible that another consumer will get it. This is usually the better approach because if there’s a transient failure, it’s more likely that a different worker will be in a better position to successfully process the message.
2. Using Resiliency makes the same Dapr sidecar retry redelivering the messages. So it will be the same Dapr sidecar and the same app receiving the same message.

## Create a RabbitMQ server

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ spec:
|--------------------|:--------:|-------------------------------------------------------------------------|--------------------------|
| secretsFile | Y | The path to the file where secrets are stored | `"path/to/file.json"` |
| nestedSeparator | N | Used by the store when flattening the JSON hierarchy to a map. Defaults to `":"` | `":"`
| multiValued | N | Allows one level of multi-valued key/value pairs before flattening JSON hierarchy. Defaults to `"false"` | `"true"` |
| multiValued | N | `"true"` sets the `multipleKeyValuesPerSecret` behavior. Allows one level of multi-valued key/value pairs before flattening JSON hierarchy. Defaults to `"false"` | `"true"` |

## Setup JSON file to hold the secrets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ If you wish to use Redis as an actor store, append the following to the yaml.
| redisUsername | N | Username for Redis host. Defaults to empty. Make sure your redis server version is 6 or above, and have created acl rule correctly. | `""`, `"default"`
| enableTLS | N | If the Redis instance supports TLS with public certificates, can be configured to be enabled or disabled. Defaults to `"false"` | `"true"`, `"false"`
| maxRetries | N | Maximum number of retries before giving up. Defaults to `3` | `5`, `10`
| maxRetryBackoff | N | Minimum backoff between each retry. Defaults to `2` seconds; `"-1"` disables backoff. | `3000000000`
| maxRetryBackoff | N | Maximum backoff between each retry. Defaults to `2` seconds; `"-1"` disables backoff. | `3000000000`
| failover | N | Property to enabled failover configuration. Needs sentinalMasterName to be set. The redisHost should be the sentinel host address. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/). Defaults to `"false"` | `"true"`, `"false"`
| sentinelMasterName | N | The sentinel master name. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/) | `""`, `"127.0.0.1:6379"`
| redeliverInterval | N | The interval between checking for pending messages to redelivery. Defaults to `"60s"`. `"0"` disables redelivery. | `"30s"`
Expand Down
1 change: 1 addition & 0 deletions daprdocs/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
</div>
</div>
</div>
<img referrerpolicy="no-referrer-when-downgrade" src="https://static.scarf.sh/a.png?x-pxid=4848fb3b-3edb-4329-90a9-a9d79afff054" />
</footer>
{{ define "footer-links-block" }}
<ul class="list-inline mb-0">
Expand Down