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

AWS: Add socket connection timeout for UrlConnectionHttpClient #5900

Conversation

JonasJ-ap
Copy link
Contributor

@JonasJ-ap JonasJ-ap commented Oct 1, 2022

User can use http-client.urlconnection.socket-timeout-ms and http-client.urlconnection.connection-timeout-ms tags to configure the connection and socket timeout for the UrlConnectionHttpClient.

Add unit test to check the timeout setting.

Copy link
Contributor

@jackye1995 jackye1995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@JonasJ-ap JonasJ-ap force-pushed the add_socket_connection_timeout_urlHttpClient branch from 7ce9135 to 40d4a2a Compare October 2, 2022 19:35
@JonasJ-ap
Copy link
Contributor Author

JonasJ-ap commented Oct 3, 2022

Thank you very much for your reviews! @rajarshisarkar @singhpk234 @amogh-jahagirdar May I ask if there is anything else you want to comment on this change? Thank you in advance.

Copy link
Contributor

@singhpk234 singhpk234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well !, Thanks @JonasJ-ap

@JonasJ-ap JonasJ-ap force-pushed the add_socket_connection_timeout_urlHttpClient branch from 174760b to 8556a0c Compare October 8, 2022 01:57
@jackye1995
Copy link
Contributor

Looks like we get a few approvals, thanks @JonasJ-ap for the contribution and thanks @Fokko and @singhpk234 for review!

@jackye1995 jackye1995 merged commit 8ac8bc1 into apache:master Oct 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants