Consumer
Cheat sheet · https://pcornel.dk/topic.php?topic=5321
Answer
The receiver endpoint that authenticates a webhook, acknowledges delivery and performs or queues downstream processing.
Remember
- HTTP endpoint reachable ≠ consumer ready; signature validation, schema handling, queue capacity or dependencies can still fail.
- 2xx acknowledgement ≠ processing complete; many handlers acknowledge before worker execution.
- Handler executed ≠ side effect unique; duplicate delivery can trigger the same logic again.
- Consumer log entry ≠ producer event authentic; source verification and replay protection remain required.
First checks
- Consumer endpoint logs — received events
- Signature check implementation — security
- Processing queue depth — backlog
Verify in this order
POST → verify → validate → enqueue → handle
Where it usually breaks
A 2xx from the consumer proves its HTTP response path completed; it does not prove durable queueing or downstream action succeeded.
Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.
Consumer webhook boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Source / delivery | Event, subscription, delivery ID and attempt metadata are attributable | Missing source event, stale subscription, wrong callback or delivery history gap |
| Trust / acknowledgement | Auth/signature and schema checks occur before safe acknowledgement | Unverified payload, slow handler, 2xx before durable receipt or replay weakness |
| Processing / proof | Durable dedupe/worker evidence matches downstream target state | Duplicate side effect, worker failure hidden by 2xx or no target reconciliation |
| Troubleshooting | First failed boundary is preserved, changed minimally and retested | Blind retries, credential rotation, replay or payload edits before evidence is captured |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5321