-
Notifications
You must be signed in to change notification settings - Fork 99
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
Spring boot 3, apache 5 client, inconsistency with aws-xray-sdk #379
Comments
Hello, Thanks for brining this to our attention! It looks like apache 4.x and 5.x are incompatible. And unfortunately there is not an abstract interface we can change to that will work with both. According to the migration guide, we will need a rewrite on some key classes. I'm afraid I do not see a short term easy fix for you. The solution will require making a parallel set of classe(s) for the new Apache version, specifically around TracedHttpClient. It looks like we just need to swap out the imports, but there may be some functional changes too. More investigation is needed. I have added a work item in our backlog to look into this. |
Hey @atshaw43, is there any update on this issue? |
Hi @raftheunis87 @oleksandr-skoryi , AWS X-Ray is slowing down the new features/changes support on |
Hey @atshaw43, is there any update on this issue? |
Hi all, spring boot 3 uses apache 5 client.
I want to use
com.amazonaws.xray.proxies.apache.http.HttpClientBuilder and inject it in the HttpComponentsClientHttpRequestFactory and then in the rest template.
Unfortunately it is not possible, because HttpClientBuilder returns the client for the apache v4. Do you plan to move forward with apache5 or what kind of the workaround do you suggest?
The text was updated successfully, but these errors were encountered: