Thank you for the information and sorry for the late reply, I had to discuss this with some of my colleagues first. Currently we are still working on migrating some other libraries to jakarta that have a higher priority for our project, but it is possible that we will come back to this at a later date. In that case I will reach out to you again then.

But just to get an idea of how big of an undertaking this would be: I've taken a look into your WIP changes and they seem like quite a lot. On a spectrum from "just started" to "almost done", how far along are your changes (if you can make such an estimation)?


Christian


On 30.10.24 17:52, Lari Hotari wrote:
External Message - Please be cautious when opening links or attachments


In the Pulsar code base, there are some dependencies to javax / Java
EE interface libraries due to Jetty 9.4.x dependencies.
It will be necessary to upgrade to Jetty 12
(https://github.com/apache/pulsar/issues/22939) in order to get rid of
javax / Java EE interfaces in the Pulsar codebase.
In Jetty 12, you can choose between Java EE 8, Jakarta EE 9 or Jakarta
EE 10 interfaces. In my Jetty 12 upgrade WIP changes
(https://github.com/lhotari/pulsar/pull/190), I have made changes to
migrate to Java EE 8 without switching to use Jakarta interfaces.
However it might be useful to use Jakarta EE interfaces directly since
the plugin interface for "additional servlets" will break in any case
when we upgrade to Jetty 12.

This is the Jetty 12 upgrade thread:
https://lists.apache.org/thread/d7dqy4w9x1dyrcdrymoypv3v3p7bncxx . The
original plan was to target Pulsar 4.0, but that didn't happen. This
is the last update:
https://lists.apache.org/thread/mkxw56bt8jdf5b1zq1gdwvy50xgrdj30 .

Would you be interested in contributing to the Jetty 12 and Jakarta EE
migration?

-Lari

On Mon, 28 Oct 2024 at 18:03, Christian Ortlepp
<christian.ortl...@hypergene.com> wrote:
Hi,

are there any plans for pulsar to migrate to Jakarta EE? Is any work
going on in this regard? If not, are there any concrete reasons for this
(apart from nobody did it yet) and would you be open to merging
something in this regard? Are there any particular pain-points that one
should expect/know about beforehand.

I could only find a stale Github Issue
(https://github.com/apache/pulsar/issues/21297). Any further information
would be greatly appreciated.


Best Regards,

Christian


Reply via email to