Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 464 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 464 Bytes

Basics: nest-dapr pubsub example

Demonstrates pubsub using Redis.

Getting Started

Install packages

npm i

Start docker-compose to app & dapr

docker compose up

pubsub test

Invoke endpoint to publish message

curl -X POST localhost:3000/pubsub

Observe handler received message

Resiliency

Un-comment the BadRequestException throw to simulate handler failure

Observe retries defined in the resilience policy