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

[Improve][SDK] Optimize the single message processing logic in the EncodeObject class #11469

Closed
2 tasks done
gosonzhang opened this issue Nov 8, 2024 · 0 comments · Fixed by #11470
Closed
2 tasks done

Comments

@gosonzhang
Copy link
Contributor

Description

Currently, a single message is processed through the EncodeObject.bodyBytes field, but in actual use, the bodylist field can be reused to save and process[1]
image

In order to reduce repeated implementation logic, this issue is used for implementation optimization

  1. https://github.com/apache/inlong/blob/master/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/codec/EncodeObject.java#L38

InLong Component

InLong SDK

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

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

Successfully merging a pull request may close this issue.

1 participant