1
minute
18. Add publish and subscribe components
Date: 2024-12-09
Status
Superceded by 20. Add publish and subscribe components
Context
We want to implement asynchronous component to process Markdown file.
Decision
As we rely on Dapr, we will use Pub/Sub component with Redis to implement asynchronous process as describe in Dapr documentation.
Consequences
We will implement a Python App based on Flask as a Dapr Subscriber to process our Markdown file.
---
config:
look: handDrawn
theme: neutral
---
flowchart LR
MS[Node Service] --> PUB{{Dapr Pub}} --Publish--> Redis[Redis] --Subsribe-->SUB{{Dapr Sub}} --> PR[Python Process]