-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow configuring (opt-in) IMC async handler (#8311)
* Allow configuring (opt-in) IMC async handler We switched to use the sync handler by default, however, it was reported that in some cases, this is not wanted as it slows down the source event senders since it needs to wait for all subscribers to receive events. While this is the best default behavior since reduces lost events in InMemoryChannel, we want to allow configuring this behavior, while documenting the downsides (follow up to docs repo) Signed-off-by: Pierangelo Di Pilato <[email protected]> * Propagate annotations and labels to channel Signed-off-by: Pierangelo Di Pilato <[email protected]> * Add E2E tests Signed-off-by: Pierangelo Di Pilato <[email protected]> * Use constant in tests Signed-off-by: Pierangelo Di Pilato <[email protected]> * Only propagates messaging.knative.dev annotations Signed-off-by: Pierangelo Di Pilato <[email protected]> * Add unit test Signed-off-by: Pierangelo Di Pilato <[email protected]> * Make annotation val explicit string....... Signed-off-by: Matthias Wessendorf <[email protected]> * channel impl did not support setting annotations before........ Signed-off-by: Matthias Wessendorf <[email protected]> * Instead of re-installing the channel_impl, lets update the annotations. Otherwise we loose the channel's Spec.Subscribers Signed-off-by: Matthias Wessendorf <[email protected]> --------- Signed-off-by: Pierangelo Di Pilato <[email protected]> Signed-off-by: Matthias Wessendorf <[email protected]> Co-authored-by: Matthias Wessendorf <[email protected]>
- Loading branch information
Showing
16 changed files
with
482 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.