Demonstrates pubsub using Redis.
Install packages
npm i
Start docker-compose to app & dapr
docker compose up
Invoke endpoint to publish message
curl -X POST localhost:3000/pubsub
Observe handler received message
Un-comment the BadRequestException
throw to simulate handler failure
Observe retries defined in the resilience policy