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 ProxyClientConfig class #11678

Closed
2 tasks done
Tracked by #11564
gosonzhang opened this issue Jan 17, 2025 · 0 comments · Fixed by #11679
Closed
2 tasks done
Tracked by #11564

[Improve][SDK] Optimize the ProxyClientConfig class #11678

gosonzhang opened this issue Jan 17, 2025 · 0 comments · Fixed by #11679

Comments

@gosonzhang
Copy link
Contributor

Description

There are two types of senders, TCP and HTTP, in the DataProxy SDK, but the same ProxyClientConfig class[a] is used. After analysis, several problems exist:

  1. The configuration items of TCP and HTTP are different, which are easy to misuse in business use and need to be completely distinguished according to different uses;

  2. Some configurations are not named in a standardized way and have been abandoned, or the value settings have no range control and need to be modified;

  3. The necessary content printing and comparison functions are missing and need to be supplemented

  4. Some functions need to be configurable to facilitate subsequent business use

a. https://github.com/apache/inlong/blob/master/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/ProxyClientConfig.java

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