Open oleksandr-skoryi opened 1 year ago
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 aws-xray-sdk
and recommending our customers to use OpenTelemetry SDK for the auto/manual instrumentations in X-Ray. We're providing more richful features and support with OTel solutions. Any obstacle for you to onboard with OTel SDK in X-Ray? Please let us know. Thanks!
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?