-
Notifications
You must be signed in to change notification settings - Fork 129
Add support to handle HttpClient options for external routing group selector #580
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
Conversation
willmostly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This explicit configuration can be avoided by injecting the airlift HttpClient. See ProxyRequestHandler as an example. This approach will allow configuration of any supported HttpClient options and be consistent with the proxy and monitor configs
54248cc to
158c388
Compare
|
@willmostly @oneonestar PTAL. I added |
willmostly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a couple minor comments from me
gateway-ha/src/main/java/io/trino/gateway/ha/router/ExternalRoutingGroupSelector.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/ha/router/ExternalRoutingGroupSelector.java
Outdated
Show resolved
Hide resolved
158c388 to
5d3491c
Compare
willmostly
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
gateway-ha/src/main/java/io/trino/gateway/ha/router/ExternalRoutingGroupSelector.java
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/ha/router/ForRouter.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/ha/router/RoutingGroupSelector.java
Outdated
Show resolved
Hide resolved
5d3491c to
46f4ff0
Compare
gateway-ha/src/main/java/io/trino/gateway/ha/clustermonitor/ForMonitor.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/ha/router/ForRouter.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/proxyserver/ForProxy.java
Outdated
Show resolved
Hide resolved
gateway-ha/src/main/java/io/trino/gateway/ha/router/ExternalRoutingGroupSelector.java
Outdated
Show resolved
Hide resolved
46f4ff0 to
23a22f6
Compare
gateway-ha/src/main/java/io/trino/gateway/ha/router/ExternalRoutingGroupSelector.java
Outdated
Show resolved
Hide resolved
23a22f6 to
cca34bb
Compare
cca34bb to
0a27f9d
Compare
Description
Adds config options for users to change timeouts when making external routing requests.
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text: