12.6. Advanced Configuration Properties

There are some advanced configuration properties to tune some aspects of Hazelcast. These can be set as property name and value pairs through configuration xml, configuration API or JVM system property.

Table 12.1. Properties Table
Property Name Description Value Type Default
hazelcast.memcache.enabled Enable Memcache client request listener service boolean true
hazelcast.rest.enabled Enable REST client request listener service boolean true
hazelcast.logging.type Name of logging framework type to send logging events. enum jdk
hazelcast.map.load.chunk.size Chunk size for MapLoader 's map initialization process (MapLoder.loadAllKeys()) integer 1000
hazelcast.in.thread.priority Hazelcast Input Thread priority integer 7
hazelcast.out.thread.priority Hazelcast Output Thread priority integer 7
hazelcast.service.thread.priority Hazelcast Service Thread priority integer 8
hazelcast.merge.first.run.delay.seconds Inital run delay of split brain/merge process in seconds integer 300
hazelcast.merge.next.run.delay.seconds Run interval of split brain/merge process in seconds integer 120
hazelcast.redo.wait.millis Wait time before a redo operation in milliseconds integer 500
hazelcast.redo.log.threshold Minimum number of redo(s) before logging. integer 10
hazelcast.redo.giveup.threshold Number of maximum redo calls before giving up and throwing OperationTimeoutException. integer 60
hazelcast.backup.redo.enabled Enable (strict) redo for backup operations. Backup operations may fail due to node failures, but generally during partition re-assignment process missing backups are restored. When 'hazelcast.backup.redo.enabled' is set to true, #hazelcast.partition.migration.interval should be 0. boolean false
hazelcast.max.operation.timeout Maximum operation timeout in milliseconds if no timeout is specified for an operation. (default 300 seconds) integer 300000
hazelcast.max.concurrent.operation.limit Max number of concurrent operations can be submitted to Hazelcast without throwing OperationRejectedException (negative means undefined). integer -1
hazelcast.socket.bind.any Bind both server-socket and client-sockets to any local interface boolean true
hazelcast.socket.server.bind.any Bind server-socket to any local interface. If not set, hazelcast.socket.bind.any will be used as default. boolean true
hazelcast.socket.client.bind.any Bind client-sockets to any local interface. If not set, hazelcast.socket.bind.any will be used as default. boolean true
hazelcast.socket.receive.buffer.size Socket receive buffer size in KB integer 32
hazelcast.socket.send.buffer.size Socket send buffer size in KB integer 32
hazelcast.socket.keep.alive Socket set keep alive boolean true
hazelcast.socket.no.delay Socket set TCP no delay boolean true
hazelcast.prefer.ipv4.stack Prefer Ipv4 network interface when picking a local address. boolean true
hazelcast.shutdownhook.enabled Enable Hazelcast shutdownhook thread boolean true
hazelcast.wait.seconds.before.join Wait time before join operation integer 5
hazelcast.max.wait.seconds.before.join Maximum wait time before join operation integer 20
hazelcast.heartbeat.interval.seconds Heartbeat send interval in seconds integer 1
hazelcast.max.no.heartbeat.seconds Max timeout of heartbeat in seconds for a node to assume it is dead integer 300
hazelcast.icmp.enabled Enable ICMP ping boolean false
hazelcast.icmp.timeout ICMP timeout in ms int 1000
hazelcast.icmp.ttl ICMP TTL (maximum numbers of hops to try) int 0
hazelcast.master.confirmation.interval.seconds Interval at which nodes send master confirmation integer 30
hazelcast.max.no.master.confirmation.seconds Max timeout of master confirmation from other nodes integer 450
hazelcast.member.list.publish.interval.seconds Interval at which master node publishes a member list integer 600
hazelcast.prefer.ipv4.stack Prefer IPv4 Stack, don't use IPv6. See IPv6 doc. boolean true
hazelcast.initial.min.cluster.size Initial expected cluster size to wait before node to start completely integer 0
hazelcast.initial.wait.seconds Inital time in seconds to wait before node to start completely integer 0
hazelcast.restart.on.max.idle Restart node if service thread blocked for hazelcast.max.no.heartbeat.seconds boolean false
hazelcast.map.partition.count Distributed map partition count integer 271
hazelcast.map.max.backup.count Maximum map backup node count integer 5
hazelcast.map.remove.delay.seconds Remove delay time in seconds for dirty records integer 5
hazelcast.map.cleanup.delay.seconds Cleanup process delay time in seconds integer 10
hazelcast.executor.query.thread.count Query executor service max thread count integer 8
hazelcast.executor.event.thread.count Event executor service max thread count integer 16
hazelcast.executor.client.thread.count Client executor service max thread count integer 40
hazelcast.executor.store.thread.count Map store executor service max thread count integer 16
hazelcast.log.state Log cluster debug state periodically boolean false
hazelcast.jmx Enable JMX agent boolean false
hazelcast.jmx.detailed Enable detailed views on JMX boolean false
hazelcast.mc.map.excludes Comma seperated map names to exclude from Hazelcast Management Center CSV null
hazelcast.mc.queue.excludes Comma seperated queue names to exclude from Hazelcast Management Center CSV null
hazelcast.mc.topic.excludes Comma seperated topic names to exclude from Hazelcast Management Center CSV null
hazelcast.version.check.enabled Enable Hazelcast new version check on startup boolean true
hazelcast.topic.flow.control.enabled Enable waiting for the topic publish until messages are written through the sockets boolean true
hazelcast.mc.max.visible.instance.count Management Center maximum visible instance count integer 100
hazelcast.connection.monitor.interval Minimum interval to consider a connection error as critical in milliseconds. integer 100
hazelcast.connection.monitor.max.faults Maximum IO error count before disconnecting from a node. integer 3
hazelcast.partition.migration.interval Interval to run partition migration tasks in seconds. integer 0
hazelcast.partition.migration.timeout Timeout for partition migration tasks in seconds. integer 300
hazelcast.immediate.backup.interval Interval to run immediate backup tasks in seconds. integer 0
hazelcast.graceful.shutdown.max.wait Maximum wait seconds during graceful shutdown. integer 600
hazelcast.force.throw.interrupted.exception Force throw of RuntimeInterruptedException when a thread is interrupted, otherwise a warning log will be printed. boolean false
hazelcast.mc.url.change.enabled Management Center changing server url is enabled boolean true
hazelcast.elastic.memory.enabled Enable Hazelcast Elastic Memory off-heap storage boolean false
hazelcast.elastic.memory.total.size Hazelcast Elastic Memory storage total size in MB integer 128
hazelcast.elastic.memory.chunk.size Hazelcast Elastic Memory storage chunk size in KB integer 1
hazelcast.elastic.memory.shared.storage Enable Hazelcast Elastic Memory shared storage boolean false
hazelcast.enterprise.license.key Hazelcast Enterprise license key string null
hazelcast.system.log.enabled Enable system logs boolean true