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

err: gzip: invalid header #116

Open
butnet opened this issue Aug 9, 2019 · 3 comments
Open

err: gzip: invalid header #116

butnet opened this issue Aug 9, 2019 · 3 comments

Comments

@butnet
Copy link

butnet commented Aug 9, 2019

kafka/broker.go

Line 1218 in 1ad0bf3

c.msgbuf, err = c.consume()

the same message can be receive by client in java.

@dgellow
Copy link
Contributor

dgellow commented Sep 17, 2019

Hello @butnet,

Could you provide more context?

@butnet
Copy link
Author

butnet commented Sep 27, 2019

@dgellow :
it can't repet in my local environmental, it happen in prod environmental.
I just get the error message, no more.

@vma
Copy link

vma commented Feb 18, 2020

Hi,
I got the same issue after a module upgrade. I narrowed it down to the consumer's MaxFetchSize param. I had to set it explicitely to 0 to solve the issue as setting it to any number up to INT32_MAX didn't help.

As for the context, I am consuming big gziped json messages. Once unzipped, they can expand to 3 or 4MB but stay below 2MB when zipped.

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

No branches or pull requests

3 participants