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.

質問済み 1年前1228ビュー
1回答
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
サポートエンジニア
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ