Re: Pulsar Server on JDK11 - initial discussion

2021-02-25 Thread Enrico Olivelli
Just an update. I have started to tests failures on CI regarding JDK11 I am using my github fork in order not to pollute the shared CI If you are curious you can see the results in this branch https://github.com/eolivelli/pulsar/pull/6 I will create issues for every finding, like this https://gi

Re: Pulsar Server on JDK11 - initial discussion

2021-02-10 Thread Enrico Olivelli
Renkai, Il giorno mer 10 feb 2021 alle ore 09:35 Renkai Ge ha scritto: > LGTM if I don’t understand wrong. > > The key point is to build docker image in Java 11 so that new Pulsar users > can start with Java 11 easier, but existing users can still have freedom to > choose Java 8 or 11 as they wi

Re: Pulsar Server on JDK11 - initial discussion

2021-02-10 Thread Renkai Ge
LGTM if I don’t understand wrong. The key point is to build docker image in Java 11 so that new Pulsar users can start with Java 11 easier, but existing users can still have freedom to choose Java 8 or 11 as they wish. > 2021年2月9日 下午5:41,Enrico Olivelli 写道: > > Yunze, > It's not exactly as yo

Re: Pulsar Server on JDK11 - initial discussion

2021-02-09 Thread Enrico Olivelli
Yunze, It's not exactly as you write. We will be building and testing on JDK11. Binaries, both server and client, will be able to run on jdk8 Building on jdk11 targeting jdk8 does not bring much benefit as you cannot use jdk11 features and also the byte code will look like the jdk8 version (for

Re: Pulsar Server on JDK11 - initial discussion

2021-02-09 Thread Yunze Xu
LGTM if I don’t understand wrong. In short, there’re two key points: 1. Keep the code compatible with Java 8. 2. Release the binaries that are built on JDK 11 to get the benefit. So Java 8 users can still build Pulsar with JDK 8 but the default releases are built on JDK 11. - Yunze

Re: Pulsar Server on JDK11 - initial discussion

2021-02-09 Thread Enrico Olivelli
Lari, We know that there will be work to do, I am happy to do what is needed in order to make this work Thanks for pointing it out Enrico Il giorno mar 9 feb 2021 alle ore 09:44 Enrico Olivelli ha scritto: > Sijie, > > Il giorno mar 9 feb 2021 alle ore 09:42 Sijie Guo ha > scritto: > >> Can we

Re: Pulsar Server on JDK11 - initial discussion

2021-02-09 Thread Enrico Olivelli
Sijie, Il giorno mar 9 feb 2021 alle ore 09:42 Sijie Guo ha scritto: > Can we start with making Pulsar is able to run with both Java 8 and Java > 11? > That's exactly my proposal for the short term (2.8) in the footer of my initial message: >> I believe that enforcing JDK11 on the server side

Re: Pulsar Server on JDK11 - initial discussion

2021-02-09 Thread Sijie Guo
Can we start with making Pulsar is able to run with both Java 8 and Java 11? Because I think there are still a lot of users running with Java 8. - Sijie On Mon, Feb 8, 2021 at 2:32 AM Enrico Olivelli wrote: > Hello Pulsar community, > I would like to start a discussion about Java 11 support an

Re: Pulsar Server on JDK11 - initial discussion

2021-02-08 Thread Lari Hotari
Thanks for the proposal Enrico. On Mon, Feb 8, 2021 at 12:32 PM Enrico Olivelli wrote: > 2) Building Pulsar and running Tests > We can require Pulsar to be built on JDK11. > We can set maven.compiler.release to 11 in generale and > maven.compiler.release to 8 for all of the modules that concur

Pulsar Server on JDK11 - initial discussion

2021-02-08 Thread Enrico Olivelli
Hello Pulsar community, I would like to start a discussion about Java 11 support and about dropping support for JDK8 on the server side. It will take time, see my points below. At the moment we have these use cases about Java compatibility: - Java client users - Building Pulsar and running Pulsar