On Tue, Aug 31, 2021 at 9:58 AM Ivan Kelly <iv...@apache.org> wrote:
> >  * Pulsar client should remain on JDK 8
> I'm sure this was discussed in the past, but who is the JDK8 support
> being maintained for?
> And wouldn't they just continue to use the 2.8 client which does support 8?

The effort required to switch client applications is typically much higher.

Each company might have a single team operating the Pulsar cluster,
but there will be many other teams and applications using that
cluster. In many cases it's difficult to even compile a list of which
applications are using Java 8.

Also, I think the expectation that users have on client libraries is a
bit different, compared to runtime systems. Libraries like Netty 4.x
are still requiring only Java 6 and will switch to Java 8 on Netty
5.x.

> And wouldn't they just continue to use the 2.8 client which does support 8?

This could be an option if we'd be able to support 2.8.X patch
releases for a long(er) time. Right now, we only maintain patches to 2
minor versions.

Definitely we should use this approach when we decide to switch
clients, but given this higher cost required in supporting, we should
weigh that and compare with what we gain from switching to newer JDK.

--
Matteo Merli
<matteo.me...@gmail.com>

Reply via email to