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] Remove the timeout parameter in the MessageSender class functions #11475

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

Comments

@gosonzhang
Copy link
Contributor

Description

When initializing the MessageSender class, we passed in the ProxyClientConfig, which defines the request timeout. Therefore, it is not necessary to set the request timeout for each request. The MessageSender class functions[1] should use the request timeout definition in the ProxyClientConfig class.

image

  1. https://github.com/apache/inlong/blob/master/inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/MessageSender.java#L36

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
1 participant