Menu

One Platform Event Across Internal Consumers (Webhook Queue Recovery With Spend Caps)
📰

One Platform Event Across Internal Consumers (Webhook Queue Recovery With Spend Caps)

DEV Community: backend·JorisRhodes8286·10 days ago
#QzVJ3VSS
#devtobackend#devto#dev#event#consumer
Long article (2089 words) — no AI summary yet.
Reading 0:00
15s threshold

Deliver one platform event to several internal consumers through a single webhook and queue, with a durable admission boundary before retries can authorize more work. For a media pipeline, recovering a credential should not let a backlog restart every captioning or notification job at once. Acknowledgment timing, duplicate handling, and spending authority belong in the same design review.

Short answer: receive one platform event through a single webhook, publish it to a queue, and distribute it to internal consumers there. Give each consumer its own durable delivery state. Enforce the workload's spending allowance before admitting billable work; a delayed webhook is evidence for reconciliation, not a synchronous spending lock.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.