AWSXRayServletFilter with Jakarta EE 10 / SpringBoot 3.x

0

We have an existing Java 17 app running SpringBoot 2.7.9 and are upgrading to SpringBoot 3.0.3
Spring Boot 3 uses the Jakarta EE 10 - as a result the javax.servlet.Filter is no longer available (instead its jakarta.servlet.Filter)
ref: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#jakarta-ee
Given the above, we can no longer trace incoming requests - https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java-filters.html Are there alternatives are available to resolve this? (eg updated AWS SDK, alternative filter suggestions?)

-- updated --
I see in the github repo that a Jakarta compatible servlet has been merged into the master branch, so I guess this is just pending a new release
ref : https://github.com/aws/aws-xray-sdk-java/pull/372

  • Would be appreciated and good to know when is the planned release so teams could plan accordingly.

posta un anno fa1228 visualizzazioni
1 Risposta
0

Hello,

Thank you for providing your valuable feedback on the service. The service team is aware of the issue regarding AWSXRayServletFilter/javax.servlet.Filter with respect to the new version of Spring and is working on providing a fix.

While I am unable to comment on when the support for jakarta.servlet.Filter may get released, I kindly suggest you to monitor the GitHub issue https://github.com/aws/aws-xray-sdk-java/issues/364 for further updates. Also, I request you to keep an eye on our Whats' New and Blog pages for any new feature announcements. As an alternative, kindly consider migrating to OpenTelemetry.

AWS
TECNICO DI SUPPORTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande