2018-11-25 12:04:54.392 TRACE 7 --- [ main] c.h.i.metrics.impl.MetricsRegistryImpl : hz.client_0 [development] [3.11] Registered probeInstance executionService.userExecutorQueueSize
2018-11-25 12:04:54.411 WARN 7 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hazelcastInstance' defined in class path resource [digital/test/bootstrap/configuration/HazelcastConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.hazelcast.core.HazelcastInstance]: Factory method 'create' threw exception; nested exception is com.hazelcast.config.InvalidConfigurationException: Invalid configuration
2018-11-25 12:04:54.412 INFO 7 --- [ main] uration$$EnhancerBySpringCGLIB$$1bb041db : Shutdown hook called
I've got a headless service defined (ClusterIP, no ip address). I've tried using service-name/namespace, same error.
<hazelcast-client xmlns="http://www.hazelcast.com/schema/client-config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hazelcast.com/schema/client-config hazelcast-client-config-3.11.xsd">
<group>
<name>development</name>
<password/>
</group>
<properties>
<property name="hazelcast.client.statistics.enabled">true</property>
<!--property name="hazelcast.discovery.enabled">true</property-->
</properties>
<network>
<!--cluster-members>
<address>172.17.0.7:5701</address>
</cluster-members-->
<kubernetes enabled="true">
<service-dns>hazelcast.default.svc.cluster.local</service-dns>
<!--namespace>default</namespace>
<service-name>hazelcast</service-name-->
</kubernetes>
</network>
</hazelcast-client>