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][Sort] Fail to parse InlongMessage when exporting Pulsar #9038

Closed
2 tasks done
vernedeng opened this issue Oct 10, 2023 · 0 comments · Fixed by #9039
Closed
2 tasks done

[Bug][Sort] Fail to parse InlongMessage when exporting Pulsar #9038

vernedeng opened this issue Oct 10, 2023 · 0 comments · Fixed by #9039
Assignees
Labels
type/bug Something is wrong
Milestone

Comments

@vernedeng
Copy link
Contributor

vernedeng commented Oct 10, 2023

What happened

Fail to parse InlongMessage when exporting Pulsar.

The reason is that DataProxy puts the InlongGroupId and InlongStreamId into the Pulsar header with the key "groupId" and "streamId" when the transmission protocol is InlongMessage V0.
While the key with InlongMessage V1 is "inlongGroupId" and "inlongStreamId", which leads to the null value when the pulsar sink handler tries to parse this information from the message header.

image image

What you expected to happen

Parse correctly.

How to reproduce

Use InlongMessage V0 as the transmission protocol, and try to export Pulsar.

Environment

No response

InLong version

master

InLong Component

InLong Sort

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@vernedeng vernedeng added the type/bug Something is wrong label Oct 10, 2023
@vernedeng vernedeng added this to the 1.10.0 milestone Oct 10, 2023
@vernedeng vernedeng self-assigned this Oct 10, 2023
@vernedeng vernedeng changed the title [Bug][Sort] Fail to parse InlongMessage when exporting Pulsar and Kafka [Bug][Sort] Fail to parse InlongMessage when exporting Pulsar Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something is wrong
Projects
None yet
1 participant