-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delivery failure #1163
Merged
knative-prow
merged 30 commits into
knative-extensions:main
from
thomasjohansen:delivery-failure
Jul 31, 2023
Merged
Delivery failure #1163
Changes from 22 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
52e3b07
Add knativeerrordest to the event extension when delivery failure
thomasjohansen 24c39af
Check if the extension is set, else set it. If not act like nothing h…
thomasjohansen 4250b09
Cleanup and requeue variable
thomasjohansen 0371885
Merge branch 'knative-sandbox:main' into delivery-failure
thomasjohansen 51afdb7
Set hedders in msg and requeue
thomasjohansen 69ef0b3
Lint
thomasjohansen 30fdc1b
Wrong place to set headers
thomasjohansen 0c426b7
Forgot the status code
thomasjohansen 095834a
Nack if there's a header
thomasjohansen faea709
Send event directly to RabbitMQ
thomasjohansen d38fc3d
Handle error and send an event for it
thomasjohansen 6be7192
Add functions to handle DLQ in the new way
thomasjohansen 5fb51ca
Moved things around
thomasjohansen cf22797
Added missing arg
thomasjohansen 8db07c6
We should always Ack in dispatch to DLQ
thomasjohansen 4b1535f
Confirm mode. Added missing DLX argument
thomasjohansen 031cacc
Fix for DLX
thomasjohansen 0c14e46
Missed variable
thomasjohansen 4a69726
Initial testing work
thomasjohansen 29a2719
Improved tests
thomasjohansen 7d49b80
Quick push
thomasjohansen e5e6abe
now the failed messages are directly routed to the DLQ exchange defin…
gabo1208 3589e6f
Update test. Still failing
thomasjohansen fcfc5ad
fixed tests and removed event nil case when binding.ToEvent fails cau…
gabo1208 114be75
Added two simple test, to test the dlq function
thomasjohansen 4b38a8f
fixed unit tests
gabo1208 2c761bb
this is just an smoke test for consumefromqueue function to see if it…
gabo1208 b4852da
added defered confirmation to connection mock
gabo1208 8e2b28a
Extended tests
thomasjohansen 107f3c3
improving coverage
gabo1208 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need this if, the event probably is going to be nill anyways, so just set the headers and to the else part