-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support setting maxPoolSize for OIDC WebClients #17701
Conversation
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
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building af7dfb1
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 11 #📦 extensions/oidc/deployment✖ ⚙️ JVM Tests - JDK 16 #📦 extensions/oidc/deployment✖ ⚙️ Native Tests - Security2 #📦 integration-tests/oidc-tenancy✖ ✖ ✖ ✖ ✖ ✖ |
...sions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonConfig.java
Outdated
Show resolved
Hide resolved
Hmm, strange test errors, the PR does not seem to be related |
May be it is a rebase problem ? The other PRs seem to be OK |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 0f85d03
Full information is available in the Build summary check run. Test Failures⚙️ JVM Tests - JDK 11 #📦 extensions/oidc/deployment✖ ⚙️ JVM Tests - JDK 16 #📦 extensions/oidc/deployment✖ ⚙️ Native Tests - Security2 #📦 integration-tests/oidc-tenancy✖ ✖ ✖ ✖ ✖ ✖ |
@sberyozkin I addressed your comments and rebase, but I still have those weird failures.. |
@glefloch Good morning :-), this is strange as I can see other PRs being green. Do these tests pass locally in your branch ? |
...nsions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonUtils.java
Outdated
Show resolved
Hide resolved
...sions/oidc-common/runtime/src/main/java/io/quarkus/oidc/common/runtime/OidcCommonConfig.java
Outdated
Show resolved
Hide resolved
@glefloch Hi Guillaume, sorry it is proving a bit more difficult than it should've been :-). But indeed since we have the users sometimes creating |
@sberyozkin thanks for those tips, I updated the branch and tests pass locally. |
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.
@glefloch thanks for your help with fixing this issue :-)
* The maximum size of the connection pool used by the WebClient | ||
*/ | ||
@ConfigItem | ||
public OptionalInt webClientMaxPoolSize = OptionalInt.empty(); |
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.
Isn't connectionTimeout
also related to the web client? If so, being consistent and dropping the webClient
prefix would make sense.
Let's decide this before merging.
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.
Yes this is related, it is used in the same method to set WebClientOption
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.
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.
I updated the property name, and all related reference (getter/setter, ...)
webClient
qualifier has been dropped to make it consistent with the other properties affecting WebClientOptions
This allows a user setting the maxPoolSize of the Web client.
close #17666