模板 / flowchart

带重试的 Webhook 投递

事件投递采用指数退避、重试上限和死信路径——API 平台文档中的常见图示。

在 Studio 中打开

预览

Mermaid 11 渲染器

正在渲染预览...

Mermaid 源码

flowchart

flowchart LR
    event[Domain event] --> enqueue[Enqueue delivery]
    enqueue --> send[POST to endpoint]
    send --> resp{2xx?}
    resp -->|yes| done[Mark delivered]
    resp -->|no| backoff[Exponential backoff]
    backoff --> attempts{Under retry limit?}
    attempts -->|yes| send
    attempts -->|no| dead[Dead letter + notify]

更多模板