Appendix A: Common application properties

Various properties can be specified inside your application.properties file, inside your application.yml file, or as command line switches. This appendix provides a list of common Spring Cloud Hazelcast Registration properties and references to the underlying classes that consume them.

Property contributions can come from additional jar files on your classpath, so you should not consider this an exhaustive list. Also, you can define your own properties.
Name Default Description

spring.cloud.hazelcast.host

Advertised Hazelcast host. Defaults to Hazelcast node’s public address.

spring.cloud.hazelcast.port

Advertised Hazelcast port. Defaults to Hazelcast node’s port.

spring.cloud.hazelcast.consul

Consul service configuration.

spring.cloud.hazelcast.consul.serviceName

Hazelcast service name in Consul.

spring.cloud.hazelcast.consul.tags

Hazelcast service tags in Consul.

spring.cloud.hazelcast.consul.healthcheck

Consul healthcheck configuration for Hazelcast service.

spring.cloud.hazelcast.consul.healthcheck.enabled

false

If health check is enabled. Defaults to false.

spring.cloud.hazelcast.consul.healthcheck.host

Address for health checks of Hazelcast service. Defaults to Hazelcast node’s public address.

spring.cloud.hazelcast.consul.healthcheck.port

Port for health checks of Hazelcast service. Defaults to Hazelcast node’s port.