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

Fix and simplify message decoding #528

Merged
merged 1 commit into from
Aug 31, 2015
Merged

Fix and simplify message decoding #528

merged 1 commit into from
Aug 31, 2015

Conversation

eapache
Copy link
Contributor

@eapache eapache commented Aug 31, 2015

  • Don't short-circuit return when inflating compressed messages. There are no
    other fields left, but we should still check the wrapping message's CRC32.
  • Do short-circuit return that CRC32 field, it's the last thing we do so there's
    no need for a manual if-not-nil return.

@Shopify/kafka found while testing #527

- Don't short-circuit return when inflating compressed messages. There are no
  other fields left, but we should still check the wrapping message's CRC32.
- Do short-circuit return that CRC32 field, it's the last thing we do so there's
  no need for a manual if-not-nil return.
@wvanbergen
Copy link
Contributor

👍

eapache added a commit that referenced this pull request Aug 31, 2015
Fix and simplify message decoding
@eapache eapache merged commit 18a3c62 into master Aug 31, 2015
@eapache eapache deleted the fix-message-decoding branch August 31, 2015 16:58
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.

2 participants