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

[BUG] HttpAsyncClientBuilder.defaultIOReactorConfig gets overwritten by default RestClientBuilderCustomizer #389

Open
nstdio opened this issue Dec 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nstdio
Copy link

nstdio commented Dec 6, 2024

What is the bug?

Cannot configure HttpAsyncClientBuilder.defaultIOReactorConfig using RestClientBuilderCustomizer because default customizer overwrites it.

How can one reproduce the bug?

Define a RestClientBuilderCustomizer and configure HttpAsyncClientBuilder.defaultIOReactorConfig and see that it does not have effect.

What is the expected behavior?

To user defined RestClientBuilderCustomizer have effect regarding HttpAsyncClientBuilder.defaultIOReactorConfig.

What is your host/environment?

Java: 21.0.5+11
Spring Data OpenSearch: 1.5.4
Spring Boot: 3.3.6

Do you have any additional context?

I've tried to use @Order to force my customizer be applied last (by the way overwriting whatever changes were made by default customizer), but default one does not define any order so it'll come as lowest precedence.

@nstdio nstdio added bug Something isn't working untriaged labels Dec 6, 2024
@nstdio nstdio changed the title HttpAsyncClientBuilder.defaultIOReactorConfig gets overwritten by default RestClientBuilderCustomizer [BUG] HttpAsyncClientBuilder.defaultIOReactorConfig gets overwritten by default RestClientBuilderCustomizer Dec 6, 2024
@reta reta self-assigned this Dec 10, 2024
@reta reta removed the untriaged label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants