At least com.hazelcast.kubernetes.KubernetesApiEndpointResolver and com.hazelcast.kubernetes.DnsEndpointResolver are using classes from the package com.hazelcast.cluster which is missing from the Import-Package configuration of the OSGI bundle information. Thus in an OSGI environment at least the above mentioned endpoint resolvers cannot be used with Hazelcast 4.x.
At least
com.hazelcast.kubernetes.KubernetesApiEndpointResolver
andcom.hazelcast.kubernetes.DnsEndpointResolver
are using classes from the packagecom.hazelcast.cluster
which is missing from the Import-Package configuration of the OSGI bundle information. Thus in an OSGI environment at least the above mentioned endpoint resolvers cannot be used with Hazelcast 4.x.Please see: https://github.com/payara/Payara/issues/5552