Matteo, Il giorno lun 9 mag 2022 alle ore 19:34 Matteo Merli <matteo.me...@gmail.com> ha scritto: > > We have already had several discussions on this subject, on the > by-weekly community call, on the PIP proposal and finally the PIP > vote.
I am sorry, I missed this discussion. But until we cut a release we are in time to change our minds, if we find out that we can do better. > > It is not that the PR came out of the blue. Obviously every decision > can be re-visited if there are additional details, though it would be > better if we get the feedback at the time the proposal. > > To reiterate the rationale for going directly to 17: > > 1. Requiring Java 11 won't buy us anything new and will at the same > time require changes from the part of the users. > 2. 17 is a Java LTS release that will be out for 1 year from the > moment in which we release Pulsar 2.11 > 3. It is a stable release with widely available packages for every > platform and from every Java vendor. > 4. We are setting up for 4 years of active support of Java 17, > compared to just 1 year of Java 11 > 5. There are several source-level features introduced in 12+ that we > can take advantage of in our codebase I understand your points, and I would be really excited to start using Records and other features (and Valhalla, Loop and Panama as soon as they are available) But on the other side now in the Pulsar ecosystem we have big enterprises that are not keen on changing JDK so quickly. Up to version 2.10 Pulsar still worked well on JDK8. We cannot require users to switch from JDK8 to JDK17 while upgrading Pulsar. We have been running, building and testing Pulsar on JDK11 for many major releases (from 2.7 onwards) (and the docker images in 2.10 are with JDK11) so it is time to require JDK11. I believe that the best plan, in the interest of our community and of the enterprises who choose to switch to Pulsar, is to still allow all Pulsar components to run on JDK11 (and the client on JDK8) for 2.11. We can switch to requiring JDK17 in 2.12. This is my PR https://github.com/apache/pulsar/pull/15512 Enrico > > > -- > Matteo Merli > <matteo.me...@gmail.com> > > On Mon, May 9, 2022 at 9:33 AM Neng Lu <nl...@apache.org> wrote: > > > > +1 for requiring JDK11 and prepare for JDK17 > > > > On 2022/05/09 11:03:27 Enrico Olivelli wrote: > > > I am sorry, > > > I have missed this thread. > > > > > > I believe that requiring JDK17 to build and especially to RUN the > > > Pulsar broker is not a good idea currently. > > > Many enterprises, especially the bigger, or banks, insurance > > > companies....have strict requirements on some components and they are > > > very slow to accept bleeding edge tecnologie. > > > > > > I believe that it is good to run CI on JDK17 and also to build the > > > docker images on JDK17. > > > But I know a few companies who won't be able to switch to JDK17 very > > > quickly. > > > > > > I think it is better to require JDK11 at this moment, and not JDK17, > > > otherwise users will be stuck with Pulsar 2.10 for a long time. > > > > > > Requiring JDK17 would be justified only if there is some required new > > > feature, but this is not the case. > > > > > > So I propose to change the required JDK version to build and run to > > > JDK11 for the server part and JDK8 for the client. > > > > > > Enrico > > > > > > Il giorno lun 9 mag 2022 alle ore 12:03 Lari Hotari > > > <lhot...@apache.org> ha scritto: > > > > > > > > PIP-156 PR https://github.com/apache/pulsar/pull/15264 has been merged > > > > to master branch. > > > > > > > > Please notice that Java 17 is now required for building Pulsar master > > > > branch. > > > > > > > > btw. https://sdkman.io/ is handy for managing multiple JDK versions in > > > > local development environments. > > > > > > > > -Lari > > > > > > > > > > > > On 2022/04/20 16:37:21 Heesung Sohn wrote: > > > > > Dear Pulsar Community, > > > > > > > > > > Please review and vote on this PIP. > > > > > > > > > > PIP link : https://github.com/apache/pulsar/issues/15207 > > > > > > > > > > Thank you, > > > > > -- > > > > > > > > > > <https://streamnative.io> > > > > > > > > > > Heesung Sohn > > > > > > > > > > Platform Engineer > > > > > > > > > > e: heesung.s...@streamnative.io > > > > > > > > > > streamnative.io > > > > > > > > > > <http://github.com/streamnative> > > > > > <https://www.linkedin.com/company/streamnative/> > > > > > <https://twitter.com/streamnativeio/> > > > > > > > >