Skip to content

Dead-Letter Queue or other Error Handling #1573

@alexander-alvarez

Description

@alexander-alvarez

Problem
Brokers forward events to subscribers which in turn route traffic to revisions. Knative can work properly and get these events to the proper revision handler that is running correctly, but the execution of the events can fail for a variety of reasons (downstream system is down, application logic rejects the invalid message, a runtime exception occurs, etc) but right now there is no way to control or define the expected behavior in these situations.

Persona:
Event Consumer / System integrator

Exit Criteria

  • An event consumer can define a configuration that indicates when a message fails / exceeds the retry back-off in a service, the given message is considered "dead" and can be routed to another channel (for the eventual handing by another service: the "dead-letter handler")
    • Possibly implemented as an abstraction similar to Sequence is where try-catch functionality is provided, allowing a branching pattern with successful events going down one branch and unsucessful ones going down another

Time Estimate (optional):
I have no idea since I'm not familiar with the codebase

Additional context (optional)
N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions