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

[Bug] Get error while parse td msg with go client #1776

Closed
2 tasks done
hawickhuang opened this issue Nov 9, 2021 · 1 comment
Closed
2 tasks done

[Bug] Get error while parse td msg with go client #1776

hawickhuang opened this issue Nov 9, 2021 · 1 comment
Assignees
Labels
Milestone

Comments

@hawickhuang
Copy link

hawickhuang commented Nov 9, 2021

What happened

When call
for _, msg := range cr.Messages { log.Infof("msg id: %d, topic: %s", msg.ID, msg.Topic) if err != nil { log.Errorf("failed to parse td msg: %v", err) time.Sleep(1 * time.Second) break } }

I got:

code: 11, msg:parse message error: snappy uncompressed v4's compress's length failure

What you expected to happen

no error

How to reproduce

msg.Data:

Environment

Linux

InLong version

master

InLong Component

InLong TubeMQ

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@hawickhuang hawickhuang added the type/bug Something is wrong label Nov 9, 2021
@gosonzhang
Copy link
Contributor

@hawickhuang, thanks, this question has been merged by #1777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants