Skip to content
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

Ack messages when data not json serializable #141

Merged
merged 1 commit into from
Dec 31, 2019

Conversation

tobami
Copy link
Contributor

@tobami tobami commented Dec 20, 2019

🎩 What?

Catch JSONDecode errors and ack messages.

🤔 Why?

There is no possibility of processing such messages successfully so they have to be discarded.

🔗 Related issue

Fix #140

Copy link
Contributor

@andrewgy8 andrewgy8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tobami tobami merged commit 0f2e678 into master Dec 31, 2019
@tobami tobami deleted the discard-unparsable-messages branch December 31, 2019 09:22
csaroff pushed a commit to csaroff/rele that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consuming messages crashes when not json valid
2 participants