-
Notifications
You must be signed in to change notification settings - Fork 345
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
Discarding Corrupt Message due to apparent decompression failure #1331
Comments
The consumer would print the error log here: pulsar-client-go/pulsar/internal/connection.go Lines 765 to 770 in 024e230
Could you check this log? Here is an example:
|
Thanks @RobertIndie yes I see a number of them all with the same message
|
Sorry for the late reply. Seems I misunderstood and thought it was just a logging issue.
Which compression algorithm were you using? |
@RobertIndie we are using We have other services consuming the same data that are in Java and they do not report any errors. |
That's strange. The LZ4 decompression doesn't seem to use the reader, so it shouldn't cause the EOF error. Maybe I missed something. I also submitted another PR to improve the decompression error message to include more useful information: #1342. After mering this PR, we can try it again and hope we can get more helpful info. |
Awesome - thank you @RobertIndie !!! @nodece would it be possible to include these two PRs (or at least the logging one) in the |
@frankjkelly It has been a long time since the last release candidate was submitted for voting, but no PMC members have participated in the vote. As a result, I will no longer proceed with the release process. If you want to use the latest version, please use the following command:
|
@nodece Sorry to hear about the release. My company has a contract with StreamNative so perhaps I can create an ask of the organization and see if that will help move the release along (with or without the changes). |
@frankjkelly The StreamNative has multiple PMC members, it will be helpful. |
@nodece I can help move the release forward. Or would you like to hand it over to me for 0.15.0 release? |
Expected behavior
Expect more logs to help debug what is going on with decompression
Actual behavior
We get the message
which looks like it is coming from here
pulsar-client-go/pulsar/consumer_partition.go
Lines 2172 to 2182 in 4e71a47
validationError:1
appears to be a decompression errorpulsar-client-go/pulsar/internal/pulsar_proto/PulsarApi.pb.go
Line 996 in 4e71a47
which means it is coming from here I guess?
pulsar-client-go/pulsar/consumer_partition.go
Lines 1228 to 1232 in 4e71a47
and given no other log lines then it suggests a cause is this
pulsar-client-go/pulsar/consumer_partition.go
Lines 2148 to 2151 in 4e71a47
Steps to reproduce
Sorry I don't have reproduction steps but maybe we could add some logging here?
pulsar-client-go/pulsar/consumer_partition.go
Lines 2148 to 2151 in 4e71a47
System configuration
Pulsar version: 2.11.3 and 3.3.2 (we upgraded brokers and still seeing same issue)
Pulsar Golang client:
0.14.0
The text was updated successfully, but these errors were encountered: