Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dead letter support for RabbitMQ pubsub #1844

Merged
merged 5 commits into from
Nov 4, 2021

Conversation

Taction
Copy link
Member

@Taction Taction commented Oct 8, 2021

Thank you for helping make the Dapr documentation better!

Please follow this checklist before submitting:

  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within codetabs
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:

Description

Issue reference

Please reference the issue this PR will close: #1834

@Taction Taction requested review from a team as code owners October 8, 2021 14:02
@greenie-msft greenie-msft added the waiting-on-code-pr The code PR needs to be merged before the docs are updated label Oct 8, 2021
@greenie-msft
Copy link
Collaborator

Waiting on the code PR prior to reviewing: dapr/components-contrib#883

@greenie-msft greenie-msft removed the waiting-on-code-pr The code PR needs to be merged before the docs are updated label Oct 28, 2021
Copy link
Collaborator

@greenie-msft greenie-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Taction, can you also please add the 3 new options (enableDeadLetter, maxLen, maxLenBytes) into the yaml spec on this page?

@@ -69,6 +69,9 @@ The above example uses secrets as plain strings. It is recommended to use a secr
| 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. If both `maxLen` and `maxLenBytes` are set then both will apply; whichever limit is hit first will be enforced. Defaults to no limit | `"1000"` |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Taction Does maxLen and maxLenBytes apply to Dead Letter queue? Can you please clarify in the descriptions of the options?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants