Skip to content

Commit

Permalink
remove deadlettertopic for 1.8 declarative subscriptions
Browse files Browse the repository at this point in the history
Signed-off-by: Hannah Hunter <[email protected]>
  • Loading branch information
hhunter-ms committed Jul 18, 2023
1 parent 4c4e3f5 commit 68c8d78
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,6 @@ The diagram below is an example of how dead letter topics work. First a message

<img src="/images/pubsub_deadletter.png" width=1200>

## Configuring a dead letter topic with a declarative subscription

The following YAML shows how to configure a subscription with a dead letter topic named `poisonMessages` for messages consumed from the `orders` topic. This subscription is scoped to an app with a `checkout` ID.

```yaml
apiVersion: dapr.io/v1alpha1
kind: Subscription
metadata:
name: order
spec:
topic: orders
route: /checkout
pubsubname: pubsub
deadLetterTopic: poisonMessages
scopes:
- checkout
```
## Configuring a dead letter topic with programmatic subscription

The JSON returned from the `/subscribe` endpoint shows how to configure a dead letter topic named `poisonMessages` for messages consumed from the `orders` topic.
Expand Down

0 comments on commit 68c8d78

Please sign in to comment.