-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix bug identified in diagnosis of production incident #727
Conversation
shaynevanasperen
commented
Jul 2, 2020
- Log when we don't have a matching handler for the given message type.
- If two consumers are subscribed to a queue that has multiple message types in it, one of them may not be able to handle all the messages (each handled a subset). So we need to return the message to the queue for the other subscriber to try handling it.
* Log when we don't have a matching handler for the given message type. * If two consumers are subscribed to a queue that has multiple message types in it, one of them may not be able to handle all the messages (each handled a subset). So we need to return the message to the queue for the other subscriber to try handling it.
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.
Needs a version bump for the v6 branch:
https://github.com/justeat/JustSaying/blob/162bdab29b0a44698457cae8f0eeb349ec89a742/version.props#L3
Co-authored-by: Martin Costello <martin@martincostello.com>
Thanks. Done 👍 |
Also need to make sure we don't forget to put this fix into the default branch as well. |
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.
Interesting bug
JustSaying.UnitTests/AwsTools/MessageHandling/MessageDispatcherTests/WhenDispatchingMessage.cs
Outdated
Show resolved
Hide resolved
Apparently I closed this! That's news to me |
…ed handler, and make log assertion in unit tests less strict