-
Notifications
You must be signed in to change notification settings - Fork 67
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
Delivery failure #1163
Conversation
|
Welcome @thomasjohansen! It looks like this is your first PR to knative-sandbox/eventing-rabbitmq 🎉 |
Codecov Report
@@ Coverage Diff @@
## main #1163 +/- ##
==========================================
+ Coverage 74.22% 74.59% +0.37%
==========================================
Files 44 44
Lines 3309 3417 +108
==========================================
+ Hits 2456 2549 +93
- Misses 764 767 +3
- Partials 89 101 +12
|
…ed in the trigger, if its not defined in the trigger then in the broker, and if neither is defined then they are not rerouted
pkg/dispatcher/dispatcher.go
Outdated
err = msg.Nack(false, false) | ||
if err != nil { | ||
logging.FromContext(ctx).Warn("failed to NACK event: ", err) | ||
if event == nil { |
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
ac02b62
to
50752ba
Compare
…se its always going to be nil
… stops when a context cancel gets there
50752ba
to
2c761bb
Compare
44c9f9f
to
107f3c3
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gabo1208, thomasjohansen The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherry-pick release-1.11 |
@gabo1208: new pull request could not be created: failed to create pull request against knative-sandbox/eventing-rabbitmq#release-1.11 from head knative-prow-robot:cherry-pick-1163-to-release-1.11: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","field":"head","code":"invalid"}],"documentation_url":"https://docs.github.com/rest/pulls/pulls#create-a-pull-request"} In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-1.11 |
@gabo1208: new pull request created: #1187 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-1.11 |
@gabo1208: new pull request created: #1188 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Changes
/kind enhancement
Fixes #1154
Release Note