Add ErrorChannel to Channelable#1838
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lionelvillard The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
0fe8c88 to
7a802e9
Compare
7a802e9 to
55c6e2f
Compare
| // subscribers. One message is sent to this channel per failing subscriber. | ||
| // | ||
| // +optional | ||
| ErrorChannel *apisv1alpha1.Destination `json:"errorChannel,omitempty"` |
There was a problem hiding this comment.
For each channel object, I can do a "custom" error channel? 🤔
There was a problem hiding this comment.
Yes, for security reason. Potentially each channel is associated with an ACL and by default the error channel should have the same ACL. In practice, most channels send failed messages to a globally shared error channel but we need to allow for restricted channels.
Does that make sense to you?
|
/hold Holding while we review the design. |
|
closing in favor of #1949 |
Helps #1573 and #1493
Proposed Changes
Baby step towards proper error handling.
Design document: https://docs.google.com/document/d/1qRrzGoHJQO-oc5p-yRK8IRfugd-FM_PXyM7lN5kcqks/edit#