We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
gohangout版本:v1.10.12 kafka版本:1.1.1
kafka数据开了snappy压缩,在消费的过程中会出现消费失败导致中断退出
I1127 17:15:26.150972 1 bulk_http.go:170] bulk done with execution_id 23 3.250 24588 7565.538 E1127 17:15:26.479384 1 simple_consumer.go:469] "message error" err="uncompress records bytes error: uncompress snappy records error: malformed xerial framing" logger="healer" topic="tang_h72_istio_accesslog" partitionID=1 E1127 17:15:27.639333 1 simple_consumer.go:469] "message error" err="uncompress records bytes error: uncompress snappy records error: malformed xerial framing" logger="healer" topic="tang_h72_istio_accesslog" partitionID=1 E1127 17:15:29.238325 1 simple_consumer.go:469] "message error" err="uncompress records bytes error: uncompress snappy records error: malformed xerial framing" logger="healer" topic="tang_h72_istio_accesslog" partitionID=1 E1127 17:15:30.360828 1 simple_consumer.go:469] "message error" err="uncompress records bytes error: uncompress snappy records error: malformed xerial framing" logger="healer" topic="tang_h72_istio_accesslog" partitionID=1
用gohangout版本v1.10.10 ,则会出现一下异常
panic: runtime error: makeslice: len out of range goroutine 472 [running]: github.com/childe/healer.decodeHeader({0xc094ca60ea, 0x320de, 0x35f16}) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/message.go:36 +0x118 github.com/childe/healer.DecodeToRecord({0xc094ca6082, 0x32146, 0x35f7e}) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/message.go:96 +0x545 github.com/childe/healer.(*fetchResponseStreamDecoder).decodeRecordsMagic2(0xc0004b1440, {0xc09262dd40, 0x18}, 0x4, {0xc092cd41c8, 0x11, 0x11?}) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/fetch_response.go:236 +0x4fd github.com/childe/healer.(*fetchResponseStreamDecoder).decodeMessageSet(0xc0004b1440, {0xc09262dd40, 0x18}, 0x4, 0x9d8df0, 0x2dd8?) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/fetch_response.go:305 +0x171 github.com/childe/healer.(*fetchResponseStreamDecoder).decodePartitionResponse(0xc0004b1440, {0xc09262dd40, 0x18}, 0x0) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/fetch_response.go:365 +0x12b github.com/childe/healer.(*fetchResponseStreamDecoder).decodeResponses(0xc0004b1440, 0x0) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/fetch_response.go:398 +0xed github.com/childe/healer.(*fetchResponseStreamDecoder).streamDecode(0xc0004b1440, {0x128ddf0, 0xc0926399a0}, 0x17dfcc0?) #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/fetch_response.go:445 +0xa5 github.com/childe/healer.(*SimpleConsumer).consumeLoop.func1() #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/simple_consumer.go:436 +0x37 created by github.com/childe/healer.(*SimpleConsumer).consumeLoop in goroutine 236 #011/home/zcola/go/pkg/mod/github.com/childe/[email protected]/simple_consumer.go:435 +0x85f
更换为gohangout : v1.8.2 旧版,消费正常
The text was updated successfully, but these errors were encountered:
我这边使用 v1.10.12和v1.10.10,kafka使用 1.1.1,消费Snappy压缩的数据,一直未能复现这个报错。我再继续看看snappy相关的一些资料吧。
Sorry, something went wrong.
能否看一下
是broker端配置的snappy压缩
childe
No branches or pull requests
gohangout版本:v1.10.12
kafka版本:1.1.1
kafka数据开了snappy压缩,在消费的过程中会出现消费失败导致中断退出
用gohangout版本v1.10.10 ,则会出现一下异常
更换为gohangout : v1.8.2 旧版,消费正常
The text was updated successfully, but these errors were encountered: