Description
Expected behavior
Expect more logs to help debug what is going on with decompression
Actual behavior
We get the message
{"log":{"consumerID":95,"level":"ERROR",
"msg":"Discarding corrupted message","msgID":{"entryId":1792,"ledgerId":758404,"partition":-1},"name":"","subscription":"reader-czjug","time":"2025-02-12T10:46:13.616639169Z",
"topic":"persistent://XXXX/wav/084b74e6-f4c6-4ff8-9bff-d35370e6a77b",
"validationError":1},"stream":"stdout","timestamp":1739357173616}
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 error
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
Activity