You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by Zixuan Liu <no...@gmail.com> on 2023/03/01 04:10:24 UTC

Re: [questions] Which jakartaEE version we plan for pulsar 3.0.0?

IMO, I think we can upgrade to jersey 3.x from jersey 2.x on the
`pulsar-admin-client`.

Thanks,
Zixuan

ZhangJian He <sh...@gmail.com> 于2023年2月28日周二 17:44写道:

> ping @Zixuan Liu @Enrico Olivelli <eo...@apache.org>
> So, I am not sure if we can update to 3.x. Maybe we will need provider two
> versions of **pulsar-admin-client**?
>
> Thanks
> ZhangJian He
>
>
> On Mon, 27 Feb 2023 at 16:37, ZhangJian He <sh...@gmail.com> wrote:
>
> > Sorry, what I want to talk is `pulsar-admin-client`, it uses jersey
> > client, which depends on `jakarta.ws.rs-api`
> >
> > Thanks
> > ZhangJian He
> >
> >
> > On Mon, 27 Feb 2023 at 16:27, Enrico Olivelli <eo...@gmail.com>
> wrote:
> >
> >> Are we talking about the Server side or the Pulsar Admin Client (that
> >> uses HTTP) ?
> >> On the server side we don't care about "SpringBoot", we are not using it
> >>
> >> Can you please elaborate more ?
> >> Enrico
> >>
> >>
> >> Il giorno lun 27 feb 2023 alle ore 09:02 Zixuan Liu
> >> <no...@gmail.com> ha scritto:
> >> >
> >> > Only the `canal` module requires the spring, so don't worry.
> >> >
> >> > If I wrong, please let me know.
> >> >
> >> > Thanks,
> >> > Zixuan
> >> >
> >> > ZhangJian He <sh...@gmail.com> 于2023年2月27日周一 14:04写道:
> >> >
> >> > > Hi @Enrico Olivelli <eo...@apache.org> @Zixuan Liu
> >> > >
> >> > > I'm concerned that this change may create some complex compatibility
> >> issues
> >> > > between our client and Springboot. Springboot 2.x uses the package
> >> name
> >> > > "javax" while Springboot 3.x uses "jakarta". I'm still not entirely
> >> sure
> >> > > about the extent of its impact.
> >> > >
> >> > > Thanks
> >> > > ZhangJian He
> >> > >
> >> > >
> >> > > On Mon, 27 Feb 2023 at 13:12, Zixuan Liu <no...@gmail.com> wrote:
> >> > >
> >> > > > > IIUC the main pain point is for Custom Servlet developers who
> will
> >> > > > have to migrate to the jakarta.xxx packages
> >> > > > is this correct ?
> >> > > >
> >> > > > Sure!
> >> > > >
> >> > > > Our web service and some http client depend on the jersey. I
> >> checked on
> >> > > > jetty and our project. Looks like we can only use the Jakarta EE9.
> >> > > >
> >> > > > We neet to upgrade the jetty to the 11.0.x from the 9.x and jersey
> >> to
> >> > > > 3.0.x. from 2.x.
> >> > > >
> >> > > > jetty 11.0.x - JakartaEE 9 - Java 11, you can see this in the
> >> > > > https://www.eclipse.org/jetty/
> >> > > > jersey 3.0.x - JakartaEE 9 - Java 8+(It looks like it supports
> Java
> >> 8,
> >> > > not
> >> > > > sure how to implementation), you can see
> >> > > > https://eclipse-ee4j.github.io/jersey/ and
> >> > > >
> >> > > >
> >> > >
> >>
> https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest30x/modules-and-dependencies.html#d0e560
> >> > > >
> >> > > > Thanks,
> >> > > > Zixuan
> >> > > >
> >> > > > Enrico Olivelli <eo...@gmail.com> 于2023年2月26日周日 20:48写道:
> >> > > >
> >> > > > > +1 to upgrade.
> >> > > > >
> >> > > > > IIUC the main pain point is for Custom Servlet developers who
> will
> >> > > > > have to migrate to the jakarta.xxx packages
> >> > > > > is this correct ?
> >> > > > >
> >> > > > > Enrico
> >> > > > >
> >> > > > > Il giorno sab 25 feb 2023 alle ore 06:46 Zixuan Liu
> >> > > > > <no...@gmail.com> ha scritto:
> >> > > > > >
> >> > > > > > Sounds greate that migrating to jersey 3.x from jersey 2.x.
> >> > > > > >
> >> > > > > > Thanks,
> >> > > > > > Zixuan
> >> > > > > >
> >> > > > > > ZhangJian He <sh...@gmail.com> 于2023年2月25日周六 11:01写道:
> >> > > > > >
> >> > > > > > > Hello, community. I want to know Which jakartaEE version we
> >> plan
> >> > > for
> >> > > > > pulsar
> >> > > > > > > 3.0.0. Now we use jersey 2.x, which uses Jakarta EE8.
> >> > > > > > >
> >> > > > > > > Maybe we will need to update the jersey.
> >> > > > > > > Eclipse Jersey (eclipse-ee4j.github.io)
> >> > > > > > > <https://eclipse-ee4j.github.io/jersey/>
> >> > > > > > > 2.x is for Jakarta EE8. 3.0.x is for Jakarta EE9 and 3.1.x
> is
> >> for
> >> > > > > Jakarta
> >> > > > > > > EE10.
> >> > > > > > >
> >> > > > > > > Thank you for your time and consideration.
> >> > > > > > >
> >> > > > > > > Thanks
> >> > > > > > > ZhangJian He
> >> > > > > > >
> >> > > > >
> >> > > >
> >> > >
> >>
> >
>

Re: [questions] Which jakartaEE version we plan for pulsar 3.0.0?

Posted by ZhangJian He <sh...@gmail.com>.
Why? How could springboot 2.x users accept this update? What do you think
about this?

Thanks
ZhangJian He


On Wed, 1 Mar 2023 at 12:11, Zixuan Liu <no...@gmail.com> wrote:

> IMO, I think we can upgrade to jersey 3.x from jersey 2.x on the
> `pulsar-admin-client`.
>
> Thanks,
> Zixuan
>
> ZhangJian He <sh...@gmail.com> 于2023年2月28日周二 17:44写道:
>
> > ping @Zixuan Liu @Enrico Olivelli <eo...@apache.org>
> > So, I am not sure if we can update to 3.x. Maybe we will need provider
> two
> > versions of **pulsar-admin-client**?
> >
> > Thanks
> > ZhangJian He
> >
> >
> > On Mon, 27 Feb 2023 at 16:37, ZhangJian He <sh...@gmail.com> wrote:
> >
> > > Sorry, what I want to talk is `pulsar-admin-client`, it uses jersey
> > > client, which depends on `jakarta.ws.rs-api`
> > >
> > > Thanks
> > > ZhangJian He
> > >
> > >
> > > On Mon, 27 Feb 2023 at 16:27, Enrico Olivelli <eo...@gmail.com>
> > wrote:
> > >
> > >> Are we talking about the Server side or the Pulsar Admin Client (that
> > >> uses HTTP) ?
> > >> On the server side we don't care about "SpringBoot", we are not using
> it
> > >>
> > >> Can you please elaborate more ?
> > >> Enrico
> > >>
> > >>
> > >> Il giorno lun 27 feb 2023 alle ore 09:02 Zixuan Liu
> > >> <no...@gmail.com> ha scritto:
> > >> >
> > >> > Only the `canal` module requires the spring, so don't worry.
> > >> >
> > >> > If I wrong, please let me know.
> > >> >
> > >> > Thanks,
> > >> > Zixuan
> > >> >
> > >> > ZhangJian He <sh...@gmail.com> 于2023年2月27日周一 14:04写道:
> > >> >
> > >> > > Hi @Enrico Olivelli <eo...@apache.org> @Zixuan Liu
> > >> > >
> > >> > > I'm concerned that this change may create some complex
> compatibility
> > >> issues
> > >> > > between our client and Springboot. Springboot 2.x uses the package
> > >> name
> > >> > > "javax" while Springboot 3.x uses "jakarta". I'm still not
> entirely
> > >> sure
> > >> > > about the extent of its impact.
> > >> > >
> > >> > > Thanks
> > >> > > ZhangJian He
> > >> > >
> > >> > >
> > >> > > On Mon, 27 Feb 2023 at 13:12, Zixuan Liu <no...@gmail.com>
> wrote:
> > >> > >
> > >> > > > > IIUC the main pain point is for Custom Servlet developers who
> > will
> > >> > > > have to migrate to the jakarta.xxx packages
> > >> > > > is this correct ?
> > >> > > >
> > >> > > > Sure!
> > >> > > >
> > >> > > > Our web service and some http client depend on the jersey. I
> > >> checked on
> > >> > > > jetty and our project. Looks like we can only use the Jakarta
> EE9.
> > >> > > >
> > >> > > > We neet to upgrade the jetty to the 11.0.x from the 9.x and
> jersey
> > >> to
> > >> > > > 3.0.x. from 2.x.
> > >> > > >
> > >> > > > jetty 11.0.x - JakartaEE 9 - Java 11, you can see this in the
> > >> > > > https://www.eclipse.org/jetty/
> > >> > > > jersey 3.0.x - JakartaEE 9 - Java 8+(It looks like it supports
> > Java
> > >> 8,
> > >> > > not
> > >> > > > sure how to implementation), you can see
> > >> > > > https://eclipse-ee4j.github.io/jersey/ and
> > >> > > >
> > >> > > >
> > >> > >
> > >>
> >
> https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest30x/modules-and-dependencies.html#d0e560
> > >> > > >
> > >> > > > Thanks,
> > >> > > > Zixuan
> > >> > > >
> > >> > > > Enrico Olivelli <eo...@gmail.com> 于2023年2月26日周日 20:48写道:
> > >> > > >
> > >> > > > > +1 to upgrade.
> > >> > > > >
> > >> > > > > IIUC the main pain point is for Custom Servlet developers who
> > will
> > >> > > > > have to migrate to the jakarta.xxx packages
> > >> > > > > is this correct ?
> > >> > > > >
> > >> > > > > Enrico
> > >> > > > >
> > >> > > > > Il giorno sab 25 feb 2023 alle ore 06:46 Zixuan Liu
> > >> > > > > <no...@gmail.com> ha scritto:
> > >> > > > > >
> > >> > > > > > Sounds greate that migrating to jersey 3.x from jersey 2.x.
> > >> > > > > >
> > >> > > > > > Thanks,
> > >> > > > > > Zixuan
> > >> > > > > >
> > >> > > > > > ZhangJian He <sh...@gmail.com> 于2023年2月25日周六 11:01写道:
> > >> > > > > >
> > >> > > > > > > Hello, community. I want to know Which jakartaEE version
> we
> > >> plan
> > >> > > for
> > >> > > > > pulsar
> > >> > > > > > > 3.0.0. Now we use jersey 2.x, which uses Jakarta EE8.
> > >> > > > > > >
> > >> > > > > > > Maybe we will need to update the jersey.
> > >> > > > > > > Eclipse Jersey (eclipse-ee4j.github.io)
> > >> > > > > > > <https://eclipse-ee4j.github.io/jersey/>
> > >> > > > > > > 2.x is for Jakarta EE8. 3.0.x is for Jakarta EE9 and 3.1.x
> > is
> > >> for
> > >> > > > > Jakarta
> > >> > > > > > > EE10.
> > >> > > > > > >
> > >> > > > > > > Thank you for your time and consideration.
> > >> > > > > > >
> > >> > > > > > > Thanks
> > >> > > > > > > ZhangJian He
> > >> > > > > > >
> > >> > > > >
> > >> > > >
> > >> > >
> > >>
> > >
> >
>