diff --git a/hazelcast/clients-and-apis/clients/java.mdx b/hazelcast/clients-and-apis/clients/java.mdx index 27ac6c92..200a469a 100644 --- a/hazelcast/clients-and-apis/clients/java.mdx +++ b/hazelcast/clients-and-apis/clients/java.mdx @@ -2189,7 +2189,7 @@ It has two configuration properties: :::note -The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-max-no), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. +The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-connections), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. ::: diff --git a/hazelcast/develop-and-build/sql/predicate-overview.mdx b/hazelcast/develop-and-build/sql/predicate-overview.mdx index f2bb4029..cf40c72f 100644 --- a/hazelcast/develop-and-build/sql/predicate-overview.mdx +++ b/hazelcast/develop-and-build/sql/predicate-overview.mdx @@ -367,7 +367,7 @@ The query-orchestrating thread uses the threads from the query-thread pool in th - if you run a `PagingPredicate` (since each page runs as a separate task) - if you set the system property `hazelcast.query.predicate.parallel.evaluation` to true (since the predicates are evaluated in parallel) -See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#parallel-predicates) for information about paging predicates and for description of the above system property. +See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#queries-and-indexes) for information about paging predicates and for description of the above system property. Below is an example of that declarative configuration. diff --git a/hazelcast/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx b/hazelcast/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx index 855fb80d..1df9dd45 100644 --- a/hazelcast/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx +++ b/hazelcast/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx @@ -107,4 +107,4 @@ MapConfig sessionsWithoutBackup = new MapConfig("sessions").setBackupCount(0); instance.getConfig().addMapConfig(sessionsWithoutBackup); ``` -To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#ignore-dynamic-conf-conflicts) system property to `true`. +To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#configuration-and-security) system property to `true`. diff --git a/hazelcast/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx b/hazelcast/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx index 9ef44b9d..ccbeea9e 100644 --- a/hazelcast/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx +++ b/hazelcast/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx @@ -22,8 +22,8 @@ After the merging side is decided, the oldest cluster member of the merging side :::note -- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-check-interval). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-first-check) seconds after the startup. -- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#tcp-try-count). +- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery) seconds after the startup. +- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#cluster-formation-and-joining). - Only the master member searches for other clusters for possible split-brain situations. - The split-brain recovery process initiates when the master member of smaller cluster detects that of the larger cluster. However, if the master of larger cluster communicates with that of the smaller cluster, and not the other way around, the recovery process cannot commence. diff --git a/hazelcast/operate-and-manage/maintaining-a-cluster/shutdown.mdx b/hazelcast/operate-and-manage/maintaining-a-cluster/shutdown.mdx index 274a9871..8ba876d1 100644 --- a/hazelcast/operate-and-manage/maintaining-a-cluster/shutdown.mdx +++ b/hazelcast/operate-and-manage/maintaining-a-cluster/shutdown.mdx @@ -83,7 +83,7 @@ When you gracefully shut down a member, it allows a Hazelcast cluster to migrate During a graceful shutdown the oldest cluster member (master member) migrates all the replicas owned by the shutdown-requesting member to the other running cluster members. -While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#hazelcast.graceful.shutdown.max.wait). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. +While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. :::note @@ -137,9 +137,9 @@ Execute the `stop.sh` script in your member's `bin` directory. This option releases most of the member's used resources. -If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.enabled) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. +If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. -If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.policy) to `GRACEFUL` your member will be gracefully shutdown. +If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `GRACEFUL` your member will be gracefully shutdown. diff --git a/hazelcast/reference/system-properties.mdx b/hazelcast/reference/system-properties.mdx index 1dd21b6d..85ae6fa5 100644 --- a/hazelcast/reference/system-properties.mdx +++ b/hazelcast/reference/system-properties.mdx @@ -1,10 +1,10 @@ --- -title: "System Properties" +title: "System properties" sidebar_position: 2 slug: /system-properties --- -The table below lists the system properties with their descriptions in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. +This page lists the system properties, grouped by area. Within each section, the properties are in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. :::note @@ -12,1321 +12,376 @@ When you want to reconfigure a system property, you need to [restart](../operate ::: - ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property NameDefault ValueTypeDescription
`hazelcast.aggregation.accumulation.parallel.evaluation`trueboolSpecifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel.
`hazelcast.async.join.strategy.enabled`trueboolControls the behaviour of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members will return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members will behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters.
`hazelcast.backpressure.backoff.timeout.millis`60000intControls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0.
`hazelcast.backpressure.enabled`falseboolEnable back pressure.
`hazelcast.backpressure.max.concurrent.invocations.per.partition`100intThe maximum number of concurrent invocations per partition.
`hazelcast.backpressure.syncwindow`1000stringUsed when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup.
`hazelcast.cache.invalidation.batch.enabled`trueboolSpecifies whether the cache invalidation event batch sending is enabled or not.
`hazelcast.cache.invalidation.batch.size`100intDefines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
`hazelcast.cache.invalidation.batchfrequency.seconds`5intDefines cache invalidation event batch sending frequency in seconds.
`hazelcast.client.cleanup.period.millis`10000intPeriod, in milliseconds, to check if a client is still part of the cluster.
`hazelcast.client.cleanup.timeout.millis`120000intTimeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client.
`hazelcast.client.max.no.heartbeat.seconds`300intTime after which the member assumes the client is dead and closes its connections to the client.
`hazelcast.client.internal.skip.cluster.namecheck.during.connection`falseboolAllows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication.
`hazelcast.client.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on client.
`hazelcast.client.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.client.protocol.max.message.bytes`1024intClient protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message.
`hazelcast.clientengine.blocking.thread.count`-1intNumber of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20.
`hazelcast.clientengine.query.thread.count`intNumber of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1.
`hazelcast.clientengine.thread.count`intMaximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20.
`hazelcast.cluster.shutdown.timeout.seconds`900intOnce a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator will give up and shut itself down regardless.
`hazelcast.cluster.version.auto.upgrade.enabled`falseboolSpecifies whether the automatic cluster version upgrading is enabled.
`hazelcast.cluster.version.auto.upgrade.min.cluster.size`1intWhen set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed.
`hazelcast.concurrent.window.ms`100intProperty needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it will keep that way. Setting it too low could lead to suboptimal performance because the system will try write through and other optimizations even though the system is concurrent.
`hazelcast.config.instance.tracking.file`stringThe JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking)
`hazelcast.connect.all.wait.seconds`120intTimeout to connect all other cluster members when a member is joining to a cluster.
`hazelcast.connection.monitor.interval`100intMinimum interval in milliseconds to consider a connection error as critical.
`hazelcast.connection.monitor.max.faults`3intMaximum I/O error count before disconnecting from a member.
`hazelcast.data.search.dynamic.config.first.enabled`falseboolEnables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations.
`hazelcast.diagnostics.directory``user.dir`string - -Output directory of the diagnostic log files. +## Cluster formation and joining -:::note +These properties control how members discover each other and join a cluster: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.async.join.strategy.enabled` | `true` | `bool` | Controls the behavior of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters. | +| `hazelcast.connect.all.wait.seconds` | 120 | `int` | Timeout to connect all other cluster members when a member is joining a cluster. | +| `hazelcast.discovery.enabled` | `false` | `bool` | Enables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information. | +| `hazelcast.discovery.public.ip.enabled` | `false` | `bool` | Enable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, make sure you have set the public addresses for your target members. They are discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address). | +| `hazelcast.initial.min.cluster.size` | 0 | `int` | Initial expected cluster size to wait before the member starts completely. | +| `hazelcast.initial.wait.seconds` | 0 | `int` | Initial time in seconds to wait before the member starts completely. | +| `hazelcast.mastership.claim.timeout.seconds` | 120 | `int` | The timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member is removed from the member list. | +| `hazelcast.max.join.merge.target.seconds` | 20 | `int` | Split-brain merge timeout for a specific target. | +| `hazelcast.max.join.seconds` | 300 | `int` | Join timeout, maximum time to try to join before giving up. | +| `hazelcast.max.wait.seconds.before.join` | 20 | `int` | Maximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request. It ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase. During the join phase, it only admits members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master again starts admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | +| `hazelcast.member.list.publish.interval.seconds` | 60 | `int` | Interval at which master member publishes a member list. | +| `hazelcast.member.naming.moby.enabled` | `true` | `bool` | Defines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided. | +| `hazelcast.multicast.group` | N/A | `long` | IP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element). | +| `hazelcast.multicast.socket.set.interface` | N/A | `long` | Allows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called. | +| `hazelcast.tcp.join.port.try.count` | 3 | `int` | The number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host. This applies to a host that is defined without a port in the TCP/IP member list, while a member is searching for a cluster. | +| `hazelcast.tcp.join.previously.joined.member.address.retention.seconds` | 14400 | `int` | Specifies how long the address of a member that has previously joined the cluster is retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, these member addresses are used to discover the other cluster by the split-brain handler. | +| `hazelcast.wait.seconds.before.join` | 5 | `int` | Wait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. A first-timer join request is one from a member that has not made any previous join request. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request, or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | + +## Failure detection and split-brain recovery + +These properties control how members detect failed members, and when a cluster checks for a split-brain to merge: -For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connection.monitor.interval` | 100 | `int` | Minimum interval in milliseconds to consider a connection error as critical. | +| `hazelcast.connection.monitor.max.faults` | 3 | `int` | Maximum I/O error count before disconnecting from a member. | +| `hazelcast.heartbeat.failuredetector.type` | `deadline` | `string` | Type of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx). | +| `hazelcast.heartbeat.interval.seconds` | 5 | `int` | Heartbeat send interval in seconds. | +| `hazelcast.max.no.heartbeat.seconds` | 60 | `int` | Maximum timeout of heartbeat in seconds for a member to assume it is dead. | +| `hazelcast.merge.first.run.delay.seconds` | 300 | `int` | Initial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.merge.next.run.delay.seconds` | 120 | `int` | Run interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds` | 5 | `int` | Timeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters. | +| `hazelcast.partial.member.disconnection.resolution.heartbeat.count` | 0 | `int` | When the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds. This allows other members to report their problems, if there are any. This property sets the number of these rounds. | + +:::warning + +Setting `hazelcast.max.no.heartbeat.seconds` too low may cause members to be evicted from the cluster when they are under heavy load. These members are unable to send heartbeat operations in time, and other members assume that they are dead. ::: -
`hazelcast.diagnostics.enabled`falseboolSpecifies whether diagnostics tool is enabled or not for the cluster.
`hazelcast.diagnostics.filename.prefix`stringOptional prefix for the diagnostics log file.
`hazelcast.diagnostics.invocation.sample.period.seconds`0longFrequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled.
`hazelcast.diagnostics.invocation.slow.threshold.seconds`5longThreshold period, in seconds, that makes an invocation to be considered as slow.
`hazelcast.diagnostics.max.rolled.file.count`10intAllowed count of diagnostic files within each roll.
`hazelcast.diagnostics.max.rolled.file.size.mb`50intSize of each diagnostic file to be rolled.
`hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`100intMaximum allowed deviation for a member-to-member heartbeats.
`hazelcast.diagnostics.member-heartbeat.period.seconds`10longPeriod for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.memberinfo.period.seconds`60longFrequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
`hazelcast.diagnostics.metrics.period.seconds`60longFrequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file.
`hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`33intMaximum allowed deviation for a member-to-member operation heartbeats.
`hazelcast.diagnostics.operation-heartbeat.seconds`10longPeriod, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.pending.invocations.period.seconds`0longPeriod, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.stdout``FILE`stringConfigures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`.
`hazelcast.diagnostics.slowoperations.period.seconds`60longPeriod, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.period.seconds`0longPeriod, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.reset.period.seconds`0longPeriod, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool.
`hazelcast.diagnostics.systemlog.enabled`trueboolSpecifies whether the SystemLog plugin of the diagnostics tool is enabled or not.
`hazelcast.diagnostics.systemlog.partitions`falseboolSpecifies whether the SystemLog plugin collects information about partition migrations.
`hazelcast.discovery.enabled`falseboolEnables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information.
`hazelcast.discovery.public.ip.enabled`falseboolEnable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members since they will be discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address).
`hazelcast.dynamicconfig.ignore.conflicts`boolWhen it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it will throw an exception regardless this property.
`hazelcast.enterprise.license.key`nullstring[Hazelcast Enterprise](https://hazelcast.com/products/) license key.
`hazelcast.event.queue.capacity`1000000intCapacity of internal event queue.
`hazelcast.event.queue.timeout.millis`250intTimeout to enqueue events to event queue.
`hazelcast.event.sync.timeout.millis`5000intTo prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled growth of the outbound write queue of the connection.
`hazelcast.event.thread.count`5intNumber of event handler threads.
`hazelcast.graceful.shutdown.max.wait`600intMaximum wait in seconds during graceful shutdown.
`hazelcast.hd.global.index.enabled`trueboolSpecifies whether the global concurrent High-Density Memory Store indexes are enabled or not.
`hazelcast.health.monitoring.delay.seconds`20intHealth monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring).
`hazelcast.health.monitoring.level`SILENTstringHealth monitoring log level. When **SILENT**, logs are printed only when values exceed some predefined threshold. When **NOISY**, logs are always printed periodically. Set **OFF** to turn off completely.
`hazelcast.health.monitoring.threshold.cpu.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the CPU usage exceeds this threshold.
`hazelcast.health.monitoring.threshold.memory.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the memory usage exceeds this threshold.
`hazelcast.heartbeat.failuredetector.type``deadline`stringType of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
`hazelcast.heartbeat.interval.seconds`5intHeartbeat send interval in seconds.
`hazelcast.hidensity.check.freememory`trueboolIf enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded.
`hazelcast.hotrestart.free.native.memory.percentage` (deprecated)15longPercentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx).
`hazelcast.ignoreXxeProtectionFailures`falsebool - -If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. - -This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. - -
`hazelcast.index.copy.behavior`COPY\_ON\_READstringDefines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes).
`hazelcast.init.cluster.version`stringUsed to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version.
`hazelcast.initial.min.cluster.size`0intInitial expected cluster size to wait before member to start completely.
`hazelcast.initial.wait.seconds`0intInitial time in seconds to wait before member to start completely.
`hazelcast.internal.map.expiration.cleanup.operation.count`N/AintCount of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count.
`hazelcast.internal.map.expiration.cleanup.percentage`10intScannable percentage of the entries in the maps' partitions in each run of the background expiration task.
`hazelcast.internal.map.expiration.task.period.seconds`5intInterval, in seconds, at which the background expiration task is going to run.
`hazelcast.internal.map.expired.key.scan.timeout.nanos`1000000intTimeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size grows.
`hazelcast.internal.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on member.
`hazelcast.internal.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.invalidation.max.tolerated.miss.count`10intIf missed invalidation count is bigger than this value, relevant cached data is made unreachable.
`hazelcast.invalidation.reconciliation.interval.seconds`60intPeriod for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache.
`hazelcast.invocation.max.retry.count`250intMaximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed.
`hazelcast.invocation.retry.pause.millis`500intPause time between each retry cycle of an invocation in milliseconds.
`hazelcast.io.balancer.interval.seconds`20intInterval in seconds between IOBalancer executions.
`hazelcast.io.input.thread.count`3intNumber of socket input threads.
`hazelcast.io.output.thread.count`3intNumber of socket output threads.
`hazelcast.io.thread.count`3intNumber of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are 3 threads performing input and 3 threads performing output (6 threads in total).
`hazelcast.io.write.through`trueboolOptimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments.
`hazelcast.jcache.provider.type`stringType of the JCache provider. Values can be `client` or `server`.
`hazelcast.jmx`falseboolEnable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent.
`hazelcast.jet.custom.lib.dir``custom-lib`stringThe directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline.
`hazelcast.jet.idle.cooperative.min.microseconds`25intThe minimum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit throughput.
`hazelcast.jet.idle.cooperative.max.microseconds`500intThe maximum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.min.microseconds`25intThe minimum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.max.microseconds`5000intThe maximum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.job.results.max.size`1000intMaximum number of job results to keep in the cluster; the oldest results will be automatically deleted after this size is reached.
`hazelcast.jet.job.results.ttl.seconds`604800intMaximum number of time in seconds the job results are kept in the cluster. They will be automatically deleted after this period is reached.
`hazelcast.jet.job.scan.period`5000intThe Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds.
`hazelcast.jmx.update.interval.seconds`5intSome JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale.
`hazelcast.journal.cleanup.threshold`1.0floatThe cleanup threshold for the event journal, expressed as a fraction of its capacity (a value between 0.0 and 1.0). When the remaining capacity falls below this threshold, a cleanup may be triggered during put operations to remove expired events (only if a [time-to-live](../develop-and-build/distributed-data-structures/streaming-data-structures/event-journal.mdx#configuring-event-journal-ttl) for event journal is configured). A value of 0.0 means that no cleanup is performed, while a value of 1.0 means cleanup is triggered after each put operation.
`hazelcast.local.localAddress`stringIt is an overrider property for the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to.
`hazelcast.local.publicAddress`stringIt is an overrider property for the default public address to be advertised to other cluster members and clients.
`hazelcast.lock.max.lease.time.seconds`Long.MAX\_VALUElongAll locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value.
`hazelcast.logging.details.enabled`trueboolSpecifies whether the cluster name, IP and version should be included in all log messages.
`hazelcast.logging.emoji.enabled`falseboolSpecifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging.
`hazelcast.logging.type`jdkenumName of [logging](../operate-and-manage/logging.mdx) framework type to send logging events.
`hazelcast.map.entry.filtering.natural.event.types`falseboolNotify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space.
`hazelcast.map.eviction.batch.size`1intMaximum number of IMap entries Hazelcast will evict during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted.
`hazelcast.map.eviction.sample.count`15intCount of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction.
`hazelcast.map.expiry.delay.seconds`10intDelays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas.
`hazelcast.map.invalidation.batchfrequency.seconds`10intIf the collected invalidations do not reach the configured batch size, a background process sends them at this interval.
`hazelcast.map.invalidation.batch.enabled`trueboolEnable or disable batching. When it is set to `false`, all invalidations are sent immediately.
`hazelcast.map.invalidation.batch.size`100intMaximum number of invalidations in a batch.
`hazelcast.map.load.chunk.size`1000intMaximum size of the key batch sent to the partition owners for value loading and the maximum size of a key batch for which values are loaded in a single partition.
`hazelcast.map.loaded.key.limit.per.node`50000intMaximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member.
`hazelcast.map.replica.scheduled.task.delay.seconds`10intScheduler delay for map tasks those are executed on backup members.
`hazelcast.map.write.behind.queue.capacity`50000stringMaximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element.
`hazelcast.mastership.claim.timeout.seconds`120intThe timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member will be removed from the member list.
`hazelcast.max.join.merge.target.seconds`20intSplit-brain merge timeout for a specific target.
`hazelcast.max.join.seconds`300intJoin timeout, maximum time to try to join before giving.
`hazelcast.max.no.heartbeat.seconds`60int - -Maximum timeout of heartbeat in seconds for a member to assume it is dead. - -:::caution - -Setting this value too low may cause members to be evicted from the cluster when they are under heavy load: they will be unable to send heartbeat operations in time, so other members will assume that it is dead. +## Cluster versions and shutdown + +These properties control cluster version upgrades, and how members and clusters shut down: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cluster.shutdown.timeout.seconds` | 900 | `int` | Once a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator gives up and shuts itself down regardless. | +| `hazelcast.cluster.version.auto.upgrade.enabled` | `false` | `bool` | Specifies whether the automatic cluster version upgrading is enabled. | +| `hazelcast.cluster.version.auto.upgrade.min.cluster.size` | 1 | `int` | When set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed. | +| `hazelcast.graceful.shutdown.max.wait` | 600 | `int` | Maximum wait in seconds during graceful shutdown. | +| `hazelcast.init.cluster.version` | | `string` | Used to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version. | +| `hazelcast.member.demote.max.wait` | 600 | `int` | Maximum wait duration in seconds during the demotion of a data member to a lite member. | +| `hazelcast.shutdownhook.enabled` | `true` | `bool` | Enables/disables Hazelcast shutdown hook thread. When enabled, the shutdown action is determined according to the value of `hazelcast.shutdownhook.policy`. | +| `hazelcast.shutdownhook.policy` | `TERMINATE` | `string` | Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. | + +:::note + +Always shut down Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It is not recommended to rely on the shutdown hook, because this is a last-effort measure. ::: -
`hazelcast.max.wait.seconds.before.join`20intMaximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request, and ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase, during which it will only admit members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master will again start admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.mc.executor.thread.count`int2Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance.
`hazelcast.mc.max.visible.slow.operations.count`10intManagement Center maximum visible slow operations count.
`hazelcast.member.demote.max.wait`600intMaximum wait duration in seconds during the demotion of a data member to a lite member.
`hazelcast.member.list.publish.interval.seconds`60intInterval at which master member publishes a member list.
`hazelcast.member.naming.moby.enabled`trueboolDefines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided.
`hazelcast.merge.first.run.delay.seconds`300intInitial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.merge.next.run.delay.seconds`120intRun interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.metrics.collection.frequency`5intFrequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.datastructures.enabled`trueboolSpecifies whether collecting metrics from the distributed data structures is enabled.
`hazelcast.metrics.debug.enabled`falseboolEnables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only.
`hazelcast.metrics.enabled`trueboolEnables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.enabled`trueboolEnables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.retention`5intDuration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.jmx.enabled`trueboolEnables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.multicast.group`N/AlongIP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element).
`hazelcast.multicast.socket.set.interface`N/AlongAllows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called.
`hazelcast.network.stats.refresh.interval.seconds`3intInterval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used.
`hazelcast.nio.tcp.spoofing.checks`falseboolControls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed under NAT'ed infrastructure.
`hazelcast.operation.backup.timeout.millis`5000intMaximum time a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even no backup response is received.
`hazelcast.operation.call.timeout.millis`60000intTimeout to wait for a response when a remote call is sent, in milliseconds.
`hazelcast.operation.fail.on.indeterminate.state`falseboolWhen enabled, an operation fails with `IndeterminateOperationStateException`, if it does not receive backup acks in time with respect to backup configuration of its data structure, or the member which owns primary replica of the target partition leaves the cluster.
`hazelcast.operation.generic.thread.count`2intNumber of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`.
`hazelcast.operation.priority.generic.thread.count`1intNumber of priority generic operation handler threads per member. Having at least 1 priority generic operation thread helps to improve cluster stability since a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations don't get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least 1 thread.
`hazelcast.operation.response.thread.count`2intNumber of threads the process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput.
`hazelcast.operation.responsequeue.idlestrategy`blockstringSpecifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance.
`hazelcast.operation.thread.count`2intNumber of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors.
`hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds`5intTimeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters.
`hazelcast.partial.member.disconnection.resolution.heartbeat.count`0intWhen the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds to allow other members to report their problems, if there is any. This property sets the number of these rounds.
`hazelcast.partition.backup.sync.interval`30intInterval for syncing backup replicas in seconds.
`hazelcast.partition.count`271intTotal partition count.
`hazelcast.partition.max.parallel.migrations`10intMaximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups.
`hazelcast.partition.max.parallel.replications`10intMaximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups.
`hazelcast.partition.migration.chunks.enabled`trueboolSubdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations.
`hazelcast.partition.migration.chunks.max.migrating.data.in.mb`250intLimits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value.
`hazelcast.partition.migration.fragments.enabled`trueboolWhen enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete.
`hazelcast.partition.migration.interval`0intInterval to run partition migration tasks in seconds.
`hazelcast.partition.migration.stale.read.disabled`falseboolHazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed.
`hazelcast.partition.migration.timeout`300intTimeout for partition migration tasks in seconds.
`hazelcast.partition.table.send.interval`15intInterval for publishing partition table periodically to all cluster members in seconds.
`hazelcast.partitioning.strategy.class`stringClass name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping.
`hazelcast.persistence.auto.cluster.state`trueboolEnables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes Statefulset, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions.
`hazelcast.persistence.auto.cluster.state.strategy`string`NO_MIGRATION`Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes Statefulset which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`.
`hazelcast.phone.home.enabled`trueboolEnable or disable the sending of phone home data to Hazelcast's phone home server.
`hazelcast.prefer.ipv4.stack`trueboolPrefer IPv4 network interface when picking a local address.
`hazelcast.query.max.local.partition.limit.for.precheck`3intMaximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps.
`hazelcast.query.optimizer.type`RULESStringType of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`.
`hazelcast.query.predicate.parallel.evaluation`falseboolEach Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications overweight can benefit from parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member.
`hazelcast.query.result.size.limit`-1intResult size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit.
`hazelcast.rest.allow.config.templating`falseboolEnables [configuration variables or templating](../operate-and-manage/configuration/static-configuration/configuring-declaratively.mdx#variables) for updating configuration over the [REST API](../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
`hazelcast.security.recommendations`nullstringWhen set to any non-null value, security recommendations are logged at the `INFO` level during the member startup.
`hazelcast.serialization.compact.allowlist.classes`string +## Networking and I/O + +These properties control sockets, I/O threads, and the network addresses that members use: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.internal.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on member. | +| `hazelcast.internal.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.io.balancer.interval.seconds` | 20 | `int` | Interval in seconds between IOBalancer executions. | +| `hazelcast.io.input.thread.count` | 3 | `int` | Number of socket input threads. | +| `hazelcast.io.output.thread.count` | 3 | `int` | Number of socket output threads. | +| `hazelcast.io.thread.count` | 3 | `int` | Number of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are three threads performing input and three threads performing output (six threads in total). | +| `hazelcast.io.write.through` | `true` | `bool` | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. | +| `hazelcast.local.localAddress` | | `string` | It overrides the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to. | +| `hazelcast.local.publicAddress` | | `string` | It overrides the default public address to be advertised to other cluster members and clients. | +| `hazelcast.network.stats.refresh.interval.seconds` | 3 | `int` | Interval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used. | +| `hazelcast.nio.tcp.spoofing.checks` | `false` | `bool` | Controls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed behind NAT. | +| `hazelcast.prefer.ipv4.stack` | `true` | `bool` | Prefer IPv4 network interface when picking a local address. | +| `hazelcast.socket.bind.any` | `true` | `bool` | Bind both server-socket and client-sockets to any local interface. For ZIP and TAR distributions, this is overridden by false in configuration files. | +| `hazelcast.socket.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` instead of `ByteBuffer.allocate`. This method makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See the [`ByteBuffer` Javadoc](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information. | +| `hazelcast.socket.client.bind` | `true` | `bool` | Bind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface. | +| `hazelcast.socket.client.bind.any` | `true` | `bool` | Bind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `hazelcast.socket.client.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one. | +| `hazelcast.socket.client.receive.buffer.size` | -1 | `int` | Hazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.client.send.buffer.size` | -1 | `int` | Hazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.connect.timeout.seconds` | 10 | `int` | Socket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite. | +| `hazelcast.socket.keep.alive` | `true` | `bool` | Sets a socket to be in the `SO_KEEPALIVE` option. | +| `hazelcast.socket.linger.seconds` | 0 | `int` | Sets the linger value (timeout) for a socket in the `SO_LINGER` option. | +| `hazelcast.socket.no.delay` | `true` | `bool` | Specifies whether the delay of sending successive small packets on the network is disabled. | +| `hazelcast.socket.receive.buffer.size` | 128 | `int` | Socket receive buffer (`SO_RCVBUF`) size in KB. If you have a fast network (e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below to tune the size. | +| `hazelcast.socket.send.buffer.size` | 128 | `int` | Socket send buffer (`SO_SNDBUF`) size in KB. | +| `hazelcast.socket.server.bind.any` | `true` | `bool` | Bind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `tcp.channels.per.connection` | 1 | `int` | Number of parallel connections between members. Not having more connections than IO threads is recommended. | + +## Client connections + +These properties control how members handle client connections: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.client.cleanup.period.millis` | 10000 | `int` | Period, in milliseconds, to check if a client is still part of the cluster. | +| `hazelcast.client.cleanup.timeout.millis` | 120000 | `int` | Timeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client. | +| `hazelcast.client.internal.skip.cluster.namecheck.during.connection` | `false` | `bool` | Allows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication. | +| `hazelcast.client.max.no.heartbeat.seconds` | 300 | `int` | Time after which the member assumes the client is dead and closes its connections to the client. | +| `hazelcast.client.protocol.max.message.bytes` | 1024 | `int` | Client protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message. | +| `hazelcast.client.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on client. | +| `hazelcast.client.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.clientengine.blocking.thread.count` | -1 | `int` | Number of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20. | +| `hazelcast.clientengine.query.thread.count` | | `int` | Number of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1. | +| `hazelcast.clientengine.thread.count` | | `int` | Maximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20. | + +## Operations, invocations, and events + +These properties control operation threads, invocation retries, backpressure, and event delivery: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.backpressure.backoff.timeout.millis` | 60000 | `int` | Controls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0. | +| `hazelcast.backpressure.enabled` | `false` | `bool` | Enable back pressure. | +| `hazelcast.backpressure.max.concurrent.invocations.per.partition` | 100 | `int` | The maximum number of concurrent invocations per partition. | +| `hazelcast.backpressure.syncwindow` | 1000 | `string` | Used when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup. | +| `hazelcast.event.queue.capacity` | 1000000 | `int` | Capacity of internal event queue. | +| `hazelcast.event.queue.timeout.millis` | 250 | `int` | Timeout to enqueue events to event queue. | +| `hazelcast.event.sync.timeout.millis` | 5000 | `int` | To prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled increase in the size of the outbound write queue of the connection. | +| `hazelcast.event.thread.count` | 5 | `int` | Number of event handler threads. | +| `hazelcast.invocation.max.retry.count` | 250 | `int` | Maximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed. | +| `hazelcast.invocation.retry.pause.millis` | 500 | `int` | Pause time between each retry cycle of an invocation in milliseconds. | +| `hazelcast.operation.backup.timeout.millis` | 5000 | `int` | Maximum time for a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even if no backup response is received. | +| `hazelcast.operation.call.timeout.millis` | 60000 | `int` | Timeout to wait for a response when a remote call is sent, in milliseconds. | +| `hazelcast.operation.fail.on.indeterminate.state` | `false` | `bool` | When enabled, an operation fails with `IndeterminateOperationStateException` if it does not receive backup acks in time with respect to backup configuration of its data structure. It also fails if the member which owns primary replica of the target partition leaves the cluster. | +| `hazelcast.operation.generic.thread.count` | 2 | `int` | Number of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`. | +| `hazelcast.operation.priority.generic.thread.count` | 1 | `int` | Number of priority generic operation handler threads per member. Having at least one priority generic operation thread helps to improve cluster stability. This is because a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations do not get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least one thread. | +| `hazelcast.operation.response.thread.count` | 2 | `int` | Number of threads that process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput. | +| `hazelcast.operation.responsequeue.idlestrategy` | `block` | `string` | Specifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance. | +| `hazelcast.operation.thread.count` | 2 | `int` | Number of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors. | + +## Partitions and migration + +These properties control partitions and how members migrate them: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.partition.backup.sync.interval` | 30 | `int` | Interval for syncing backup replicas in seconds. | +| `hazelcast.partition.count` | 271 | `int` | Total partition count. | +| `hazelcast.partition.max.parallel.migrations` | 10 | `int` | Maximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups. | +| `hazelcast.partition.max.parallel.replications` | 10 | `int` | Maximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups. | +| `hazelcast.partition.migration.chunks.enabled` | `true` | `bool` | Subdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations. | +| `hazelcast.partition.migration.chunks.max.migrating.data.in.mb` | 250 | `int` | Limits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value. | +| `hazelcast.partition.migration.fragments.enabled` | `true` | `bool` | When enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete. | +| `hazelcast.partition.migration.interval` | 0 | `int` | Interval to run partition migration tasks in seconds. | +| `hazelcast.partition.migration.stale.read.disabled` | `false` | `bool` | Hazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed. | +| `hazelcast.partition.migration.timeout` | 300 | `int` | Timeout for partition migration tasks in seconds. | +| `hazelcast.partition.table.send.interval` | 15 | `int` | Interval for publishing partition table periodically to all cluster members in seconds. | +| `hazelcast.partitioning.strategy.class` | | `string` | Class name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping. | + +## Maps, caches, and Near Cache + +These properties control maps, caches, Near Cache invalidation, locks, and the event journal: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cache.invalidation.batch.enabled` | `true` | `bool` | Specifies whether the cache invalidation event batch sending is enabled or not. | +| `hazelcast.cache.invalidation.batch.size` | 100 | `int` | Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch. | +| `hazelcast.cache.invalidation.batchfrequency.seconds` | 5 | `int` | Defines cache invalidation event batch sending frequency in seconds. | +| `hazelcast.concurrent.window.ms` | 100 | `int` | Property needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it keeps that way. Setting it too low could lead to suboptimal performance because the system tries write through and other optimizations even though the system is concurrent. | +| `hazelcast.internal.map.expiration.cleanup.operation.count` | N/A | `int` | Count of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count. | +| `hazelcast.internal.map.expiration.cleanup.percentage` | 10 | `int` | Scannable percentage of the entries in the maps' partitions in each run of the background expiration task. | +| `hazelcast.internal.map.expiration.task.period.seconds` | 5 | `int` | Interval, in seconds, at which the background expiration task is going to run. | +| `hazelcast.internal.map.expired.key.scan.timeout.nanos` | 1000000 | `int` | Timeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size increases. | +| `hazelcast.invalidation.max.tolerated.miss.count` | 10 | `int` | If missed invalidation count is bigger than this value, relevant cached data is made unreachable. | +| `hazelcast.invalidation.reconciliation.interval.seconds` | 60 | `int` | Period for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache. | +| `hazelcast.jcache.provider.type` | | `string` | Type of the JCache provider. Values can be `client` or `server`. | +| `hazelcast.journal.cleanup.threshold` | 1.0 | `float` | The cleanup threshold for the event journal, expressed as a fraction of its capacity (a value between 0.0 and 1.0). When the remaining capacity falls below this threshold, a cleanup may be triggered during put operations to remove expired events (only if a [time-to-live](../develop-and-build/distributed-data-structures/streaming-data-structures/event-journal.mdx#configuring-event-journal-ttl) for event journal is configured). A value of 0.0 means that no cleanup is performed, while a value of 1.0 means cleanup is triggered after each put operation. | +| `hazelcast.lock.max.lease.time.seconds` | `Long.MAX_VALUE` | `long` | All locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value. | +| `hazelcast.map.entry.filtering.natural.event.types` | `false` | `bool` | Notify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space. | +| `hazelcast.map.eviction.batch.size` | 1 | `int` | Maximum number of IMap entries Hazelcast evicts during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted. | +| `hazelcast.map.eviction.sample.count` | 15 | `int` | Count of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction. | +| `hazelcast.map.expiry.delay.seconds` | 10 | `int` | Delays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas. | +| `hazelcast.map.invalidation.batch.enabled` | `true` | `bool` | Enable or disable batching. When it is set to `false`, all invalidations are sent immediately. | +| `hazelcast.map.invalidation.batch.size` | 100 | `int` | Maximum number of invalidations in a batch. | +| `hazelcast.map.invalidation.batchfrequency.seconds` | 10 | `int` | If the collected invalidations do not reach the configured batch size, a background process sends them at this interval. | +| `hazelcast.map.load.chunk.size` | 1000 | `int` | Maximum size of the key batch sent to the partition owners for value loading. This is also the maximum size of a key batch for which values are loaded in a single partition. | +| `hazelcast.map.loaded.key.limit.per.node` | 50000 | `int` | Maximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member. | +| `hazelcast.map.replica.scheduled.task.delay.seconds` | 10 | `int` | Scheduler delay for map tasks that are executed on backup members. | +| `hazelcast.map.write.behind.queue.capacity` | 50000 | `string` | Maximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element. | + +## Queries and indexes + +These properties control query execution, aggregations, and indexes: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.aggregation.accumulation.parallel.evaluation` | `true` | `bool` | Specifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel. | +| `hazelcast.hd.global.index.enabled` | `true` | `bool` | Specifies whether the global concurrent High-Density Memory Store indexes are enabled or not. | +| `hazelcast.index.copy.behavior` | `COPY_ON_READ` | `string` | Defines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes). | +| `hazelcast.query.max.local.partition.limit.for.precheck` | 3 | `int` | Maximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps. | +| `hazelcast.query.optimizer.type` | `RULES` | `string` | Type of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`. | +| `hazelcast.query.predicate.parallel.evaluation` | `false` | `bool` | Each Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications outweighs the benefit of parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member. | +| `hazelcast.query.result.size.limit` | -1 | `int` | Result size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit. | + +## Diagnostics, metrics, and logging + +The properties in this section control diagnostics, health monitoring, slow operation detection, metrics, and logging. + +### Diagnostics log + +These properties control the diagnostics log. :::note -We recommend configuring the zero-config Compact serialization filter through the [`zero-config-filter` element](../develop-and-build/serialization/compact-serialization/overview.mdx#zero-config-filter) in your member or client configuration, rather than through these system properties. The system properties are provided mainly to ease upgrades from pre-5.7 versions that rely on them for hardened configuration. +For detailed information about the diagnostic tool and the diagnostics properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). ::: -Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. - -
`hazelcast.serialization.compact.allowlist.packages`stringComma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.allowlist.prefixes`stringComma-separated list of class-name prefixes to allow for ZCCS.
`hazelcast.serialization.compact.blocklist.classes`stringComma-separated list of fully qualified class names to block from ZCCS. Default is empty.
`hazelcast.serialization.compact.blocklist.defaults`trueboolControls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options.
`hazelcast.serialization.compact.blocklist.packages`stringComma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.blocklist.prefixes`stringComma-separated list of class-name prefixes to block from ZCCS.
`hazelcast.serialization.version`longVersion of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version.
`hazelcast.shutdownhook.enabled`trueboolEnables/disables Hazelcast shutdownhook thread. When enabled, the shutdown action is determined according to the value of [`hazelcast.shutdownhook.policy`](#hazelcast.shutdownhook.policy).
`hazelcast.shutdownhook.policy`TERMINATEstring - -Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. +The diagnostics properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.diagnostics.directory` | `user.dir` | `string` | Output directory of the diagnostic log files. | +| `hazelcast.diagnostics.enabled` | `false` | `bool` | Specifies whether diagnostics tool is enabled or not for the cluster. | +| `hazelcast.diagnostics.filename.prefix` | | `string` | Optional prefix for the diagnostics log file. | +| `hazelcast.diagnostics.invocation.sample.period.seconds` | 0 | `long` | Frequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled. | +| `hazelcast.diagnostics.invocation.slow.threshold.seconds` | 5 | `long` | Threshold period, in seconds, that makes an invocation to be considered as slow. | +| `hazelcast.diagnostics.max.rolled.file.count` | 10 | `int` | Allowed count of diagnostic files within each roll. | +| `hazelcast.diagnostics.max.rolled.file.size.mb` | 50 | `int` | Size of each diagnostic file to be rolled. | +| `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage` | 100 | `int` | Maximum allowed deviation for member-to-member heartbeats. | +| `hazelcast.diagnostics.member-heartbeat.period.seconds` | 10 | `long` | Period for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.memberinfo.period.seconds` | 60 | `long` | Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file. | +| `hazelcast.diagnostics.metrics.period.seconds` | 60 | `long` | Frequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file. | +| `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage` | 33 | `int` | Maximum allowed deviation for member-to-member operation heartbeats. | +| `hazelcast.diagnostics.operation-heartbeat.seconds` | 10 | `long` | Period, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.pending.invocations.period.seconds` | 0 | `long` | Period, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.slowoperations.period.seconds` | 60 | `long` | Period, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.stdout` | `FILE` | `string` | Configures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`. | +| `hazelcast.diagnostics.storeLatency.period.seconds` | 0 | `long` | Period, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.storeLatency.reset.period.seconds` | 0 | `long` | Period, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool. | +| `hazelcast.diagnostics.systemlog.enabled` | `true` | `bool` | Specifies whether the SystemLog plugin of the diagnostics tool is enabled or not. | +| `hazelcast.diagnostics.systemlog.partitions` | `false` | `bool` | Specifies whether the SystemLog plugin collects information about partition migrations. | + +### Health monitoring + +These properties control the health monitor: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.health.monitoring.delay.seconds` | 20 | `int` | Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). | +| `hazelcast.health.monitoring.level` | `SILENT` | `string` | Health monitoring log level. When `SILENT`, logs are printed only when values exceed some predefined threshold. When `NOISY`, logs are always printed periodically. Set `OFF` to turn off completely. | +| `hazelcast.health.monitoring.threshold.cpu.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the CPU usage exceeds this threshold. | +| `hazelcast.health.monitoring.threshold.memory.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the memory usage exceeds this threshold. | + +### Slow operation detector + +These properties control the slow operation detector: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.slow.operation.detector.enabled` | `true` | `bool` | Enables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx). | +| `hazelcast.slow.operation.detector.log.purge.interval.seconds` | 300 | `int` | Purge interval for slow operation logs. | +| `hazelcast.slow.operation.detector.log.retention.seconds` | 3600 | `int` | Defines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted. | +| `hazelcast.slow.operation.detector.stacktrace.logging.enabled` | `false` | `bool` | Defines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small. | +| `hazelcast.slow.operation.detector.threshold.millis` | 10000 | `int` | Defines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. The value should be set at least 1000 ms. The detector cannot reliably detect all operations taking under 1000 ms. | + +### Metrics, JMX, and Management Center + +These properties control metrics collection, JMX, and the data that members send to Management Center: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jmx` | `false` | `bool` | Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. | +| `hazelcast.jmx.update.interval.seconds` | 5 | `int` | Some JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale. | +| `hazelcast.mc.executor.thread.count` | 2 | `int` | Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance. | +| `hazelcast.mc.max.visible.slow.operations.count` | 10 | `int` | Management Center maximum visible slow operations count. | +| `hazelcast.metrics.collection.frequency` | 5 | `int` | Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.datastructures.enabled` | `true` | `bool` | Specifies whether collecting metrics from the distributed data structures is enabled. | +| `hazelcast.metrics.debug.enabled` | `false` | `bool` | Enables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only. | +| `hazelcast.metrics.enabled` | `true` | `bool` | Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.jmx.enabled` | `true` | `bool` | Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.enabled` | `true` | `bool` | Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.retention` | 5 | `int` | Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | + +### Logging + +These properties control logging: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.logging.details.enabled` | `true` | `bool` | Specifies whether the cluster name, IP and version should be included in all log messages. | +| `hazelcast.logging.emoji.enabled` | `false` | `bool` | Specifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging. | +| `hazelcast.logging.type` | `jdk` | `enum` | Name of [logging](../operate-and-manage/logging.mdx) framework type to send logging events. | + +## Persistence and native memory + +These properties control Persistence and native memory: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.hidensity.check.freememory` | `true` | `bool` | If enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded. | +| `hazelcast.hotrestart.free.native.memory.percentage` (deprecated) | 15 | `long` | Percentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx). | +| `hazelcast.persistence.auto.cluster.state` | `true` | `bool` | Enables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes StatefulSet, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions. | +| `hazelcast.persistence.auto.cluster.state.strategy` | `NO_MIGRATION` | `string` | Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes StatefulSet which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`. | + +## Jet + +These properties control the Jet engine, which runs data pipelines and jobs: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jet.custom.lib.dir` | `custom-lib` | `string` | The directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline. | +| `hazelcast.jet.idle.cooperative.max.microseconds` | 500 | `int` | The maximum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.cooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit throughput. | +| `hazelcast.jet.idle.noncooperative.max.microseconds` | 5000 | `int` | The maximum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.noncooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.job.results.max.size` | 1000 | `int` | Maximum number of job results to keep in the cluster; the oldest results are automatically deleted after this size is reached. | +| `hazelcast.jet.job.results.ttl.seconds` | 604800 | `int` | Maximum amount of time in seconds the job results are kept in the cluster. They are automatically deleted after this period is reached. | +| `hazelcast.jet.job.scan.period` | 5000 | `int` | The Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds. | + +## WAN replication + +These properties control WAN replication: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.wan.consumer.ack.delay.backoff.init` | 1 | `int` | Defines the initial backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.max` | 100 | `int` | Defines the maximum backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.multiplier` | `1.5D` | `string` | Defines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.invocation.threshold`| 50000 | `int` | Defines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member delay the WAN acknowledgment. This slows down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature. | +| `hazelcast.wan.replicate.icache.evictions` | `false` | `bool` | Specifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | +| `hazelcast.wan.replicate.imap.evictions` | `false` | `bool` | Specifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | + +## Configuration and security + +These properties control configuration loading, licensing, security checks, and phone home: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.config.instance.tracking.file` | | `string` | The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking). | +| `hazelcast.data.search.dynamic.config.first.enabled` | `false` | `bool` | Enables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations. | +| `hazelcast.dynamicconfig.ignore.conflicts` | | `bool` | When it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it throws an exception regardless of this property. | +| `hazelcast.enterprise.license.key` | `null` | `string` | [Hazelcast Enterprise](https://hazelcast.com/products/) license key. | +| `hazelcast.ignoreXxeProtectionFailures` | `false` | `bool` | If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. | +| `hazelcast.phone.home.enabled` | `true` | `bool` | Enable or disable the sending of phone home data to Hazelcast's phone home server. | +| `hazelcast.rest.allow.config.templating` | `false` | `bool` | Enables [configuration variables or templating](../operate-and-manage/configuration/static-configuration/configuring-declaratively.mdx#variables) for updating configuration over the [REST API](../clients-and-apis/apis/enterprise-rest-api/overview.mdx). | +| `hazelcast.security.recommendations` | `null` | `string` | When set to any non-null value, security recommendations are logged at the `INFO` level during the member startup. | + +## Serialization + +These properties control serialization, including the filter for zero-config Compact serialization. :::note -Always shutdown Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It's not recommended to rely on the shutdown hook, this is a last-effort measure. +We recommend configuring the zero-config Compact serialization filter through the [`zero-config-filter` element](../develop-and-build/serialization/compact-serialization/overview.mdx#zero-config-filter) in your member or client configuration, rather than through the `hazelcast.serialization.compact.allowlist.*` and `hazelcast.serialization.compact.blocklist.*` system properties. The system properties are provided mainly to ease upgrades from pre-5.7 versions that rely on them for hardened configuration. ::: -
`hazelcast.slow.operation.detector.enabled`trueboolEnables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx).
`hazelcast.slow.operation.detector.log.purge.interval.seconds`300intPurge interval for slow operation logs.
`hazelcast.slow.operation.detector.log.retention.seconds`3600intDefines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted.
`hazelcast.slow.operation.detector.stacktrace.logging.enabled`falseboolDefines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small.
`hazelcast.slow.operation.detector.threshold.millis`10000intDefines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. The value should be set at least 1000 ms. The detector cannot reliably detect all operations taking under 1000 ms.
`hazelcast.socket.bind.any`trueboolBind both server-socket and client-sockets to any local interface. For ZIP and TAR distributions, this is overridden by false in configuration files.
`hazelcast.socket.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` (instead of `ByteBuffer.allocate`) which makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See [here](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information.
`hazelcast.socket.client.bind`trueboolBind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface.
`hazelcast.socket.client.bind.any`trueboolBind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.socket.client.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one.
`hazelcast.socket.client.receive.buffer.size`-1intHazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.client.send.buffer.size`-1intHazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.connect.timeout.seconds`10intSocket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite.
`hazelcast.socket.keep.alive`trueboolSets a socket to be in the `SO_KEEPALIVE` option.
`hazelcast.socket.linger.seconds`0intSets the linger value (timeout) for a socket in the `SO_LINGER` option.
`hazelcast.socket.no.delay`trueboolSpecifies whether the delay of sending successive small packets on the network is disabled.
`hazelcast.socket.receive.buffer.size`128intSocket receive buffer (`SO_RCVBUF`) size in KB. If you have a very fast network, e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below tune the size.
`hazelcast.socket.send.buffer.size`128intSocket send buffer (`SO_SNDBUF`) size in KB.
`hazelcast.socket.server.bind.any`trueboolBind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.tcp.join.port.try.count`3intThe number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host (which is defined without a port in TCP/IP member list while a member is searching for a cluster).
`hazelcast.tcp.join.previously.joined.member.address.retention.seconds`14400intSpecifies how long the address of a member that has previously joined the cluster will be retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, this member addresses is used to discover the other cluster by the split-brain handler.
`hazelcast.wait.seconds.before.join`5intWait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request (i.e., where the member hasn't made any previous join request), or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.wan.consumer.ack.delay.backoff.init`1intDefines the initial backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.max`100intDefines the maximum backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.multiplier`1.5DstringDefines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled
`hazelcast.wan.consumer.invocation.threshold`50000intDefines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member to delay the WAN acknowledgment, thus slowing down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature.
`hazelcast.wan.replicate.imap.evictions`falseboolSpecifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`hazelcast.wan.replicate.icache.evictions`falseboolSpecifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`tcp.channels.per.connection`1intNumber of parallel connections between members. Not having more connections than IO threads is recommended.
+The serialization properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.serialization.compact.allowlist.classes` | | `string` | Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. | +| `hazelcast.serialization.compact.allowlist.packages` | | `string` | Comma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.allowlist.prefixes` | | `string` | Comma-separated list of class-name prefixes to allow for ZCCS. | +| `hazelcast.serialization.compact.blocklist.classes` | | `string` | Comma-separated list of fully qualified class names to block from ZCCS. Default is empty. | +| `hazelcast.serialization.compact.blocklist.defaults` | `true` | `bool` | Controls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options. | +| `hazelcast.serialization.compact.blocklist.packages` | | `string` | Comma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.blocklist.prefixes` | | `string` | Comma-separated list of class-name prefixes to block from ZCCS. | +| `hazelcast.serialization.version` | | `long` | Version of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version. | diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx index fc71854b..af929aff 100644 --- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx +++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx @@ -107,4 +107,4 @@ MapConfig sessionsWithoutBackup = new MapConfig("sessions").setBackupCount(0); instance.getConfig().addMapConfig(sessionsWithoutBackup); ``` -To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#ignore-dynamic-conf-conflicts) system property to `true`. +To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#configuration-and-security) system property to `true`. diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx index d59ab74e..daf83333 100644 --- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx +++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx @@ -22,8 +22,8 @@ After the merging side is decided, the oldest cluster member of the merging side :::note -- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-check-interval). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-first-check) seconds after the startup. -- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#tcp-try-count). +- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery) seconds after the startup. +- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#cluster-formation-and-joining). - Only the master member searches for other clusters for possible split-brain situations. - The split-brain recovery process initiates when the master member of smaller cluster detects that of the larger cluster. However, if the master of larger cluster communicates with that of the smaller cluster, and not the other way around, the recovery process cannot commence. diff --git a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/shutdown.mdx b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/shutdown.mdx index 6a273908..c001917d 100644 --- a/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/shutdown.mdx +++ b/hazelcast_versioned_docs/version-5.3/configure-and-manage-clusters/maintaining-a-cluster/shutdown.mdx @@ -77,7 +77,7 @@ When you gracefully shut down a member, it allows a Hazelcast cluster to migrate During a graceful shutdown the oldest cluster member (master member) migrates all the replicas owned by the shutdown-requesting member to the other running cluster members. -While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#hazelcast.graceful.shutdown.max.wait). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. +While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. :::note @@ -131,9 +131,9 @@ Execute the `stop.sh` script in your member's `bin` directory. This option releases most of the member's used resources. -If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.enabled) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. +If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. -If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.policy) to `GRACEFUL` your member will be gracefully shutdown. +If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `GRACEFUL` your member will be gracefully shutdown. diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx index 421ca3ee..4dde68d5 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/connecting-to-a-cluster/java.mdx @@ -1692,7 +1692,7 @@ Hazelcast Java client has two built-in failure detectors: Deadline Failure Detec :::note -The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-max-no), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. +The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-connections), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. ::: diff --git a/hazelcast_versioned_docs/version-5.3/develop-solutions/predicate-overview.mdx b/hazelcast_versioned_docs/version-5.3/develop-solutions/predicate-overview.mdx index 00a43fbd..4c0e7e36 100644 --- a/hazelcast_versioned_docs/version-5.3/develop-solutions/predicate-overview.mdx +++ b/hazelcast_versioned_docs/version-5.3/develop-solutions/predicate-overview.mdx @@ -361,7 +361,7 @@ The query-orchestrating thread uses the threads from the query-thread pool in th - if you run a `PagingPredicate` (since each page runs as a separate task) - if you set the system property `hazelcast.query.predicate.parallel.evaluation` to true (since the predicates are evaluated in parallel) -See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../reference/system-properties.mdx#parallel-predicates) for information about paging predicates and for description of the above system property. +See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../reference/system-properties.mdx#queries-and-indexes) for information about paging predicates and for description of the above system property. Below is an example of that declarative configuration. diff --git a/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx index fec13d64..96414239 100644 --- a/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.3/reference/system-properties.mdx @@ -1,10 +1,10 @@ --- -title: "System Properties" +title: "System properties" sidebar_position: 2 slug: /system-properties --- -The table below lists the system properties with their descriptions in alphabetical order. See [Configuring with System Properties](../configure-and-manage-clusters/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. +This page lists the system properties, grouped by area. Within each section, the properties are in alphabetical order. See [Configuring with System Properties](../configure-and-manage-clusters/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. :::note @@ -12,1221 +12,353 @@ When you want to reconfigure a system property, you need to restart the members ::: - ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property NameDefault ValueTypeDescription
`hazelcast.aggregation.accumulation.parallel.evaluation`trueboolSpecifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel.
`hazelcast.backpressure.backoff.timeout.millis`60000intControls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0.
`hazelcast.backpressure.enabled`falseboolEnable back pressure.
`hazelcast.backpressure.max.concurrent.invocations.per.partition`100intThe maximum number of concurrent invocations per partition.
`hazelcast.backpressure.syncwindow`1000stringUsed when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup.
`hazelcast.cache.invalidation.batch.enabled`trueboolSpecifies whether the cache invalidation event batch sending is enabled or not.
`hazelcast.cache.invalidation.batch.size`100intDefines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
`hazelcast.cache.invalidation.batchfrequency.seconds`5intDefines cache invalidation event batch sending frequency in seconds.
`hazelcast.client.cleanup.period.millis`10000intPeriod, in milliseconds, to check if a client is still part of the cluster.
`hazelcast.client.cleanup.timeout.millis`120000intTimeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client.
`hazelcast.client.max.no.heartbeat.seconds`300intTime after which the member assumes the client is dead and closes its connections to the client.
`hazelcast.client.internal.skip.cluster.namecheck.during.connection`falseboolAllows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication.
`hazelcast.client.protocol.max.message.bytes`1024intClient protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message.
`hazelcast.clientengine.blocking.thread.count`-1intNumber of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20.
`hazelcast.clientengine.query.thread.count`intNumber of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1.
`hazelcast.clientengine.thread.count`intMaximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20.
`hazelcast.cluster.shutdown.timeout.seconds`900intOnce a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator will give up and shut itself down regardless.
`hazelcast.cluster.version.auto.upgrade.enabled`falseboolSpecifies whether the automatic cluster version upgrading is enabled.
`hazelcast.cluster.version.auto.upgrade.min.cluster.size`1intWhen set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed.
`hazelcast.concurrent.window.ms`100intProperty needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it will keep that way. Setting it too low could lead to suboptimal performance because the system will try write through and other optimizations even though the system is concurrent.
`hazelcast.config.instance.tracking.file`stringThe JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#instance-tracking)
`hazelcast.connect.all.wait.seconds`120intTimeout to connect all other cluster members when a member is joining to a cluster.
`hazelcast.connection.monitor.interval`100intMinimum interval in milliseconds to consider a connection error as critical.
`hazelcast.connection.monitor.max.faults`3intMaximum I/O error count before disconnecting from a member.
`hazelcast.data.search.dynamic.config.first.enabled`falseboolEnables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations.
`hazelcast.diagnostics.directory``user.dir`string - -Output directory of the diagnostic log files. +## Cluster formation and joining -:::note +These properties control how members discover each other and join a cluster: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connect.all.wait.seconds` | 120 | `int` | Timeout to connect all other cluster members when a member is joining a cluster. | +| `hazelcast.discovery.enabled` | `false` | `bool` | Enables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../configure-and-manage-clusters/extending-hazelcast/discovery-spi.mdx) for more information. | +| `hazelcast.discovery.public.ip.enabled` | `false` | `bool` | Enable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members. They are discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../configure-and-manage-clusters/partition-groups-and-networking/network-configuration.mdx#public-address). | +| `hazelcast.initial.min.cluster.size` | 0 | `int` | Initial expected cluster size to wait before the member starts completely. | +| `hazelcast.initial.wait.seconds` | 0 | `int` | Initial time in seconds to wait before the member starts completely. | +| `hazelcast.mastership.claim.timeout.seconds` | 120 | `int` | The timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member is removed from the member list. | +| `hazelcast.max.join.merge.target.seconds` | 20 | `int` | Split-brain merge timeout for a specific target. | +| `hazelcast.max.join.seconds` | 300 | `int` | Join timeout, maximum time to try to join before giving up. | +| `hazelcast.max.wait.seconds.before.join` | 20 | `int` | Maximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request. It ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase. During the join phase, it only admits members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master again starts admitting new members. | +| `hazelcast.member.list.publish.interval.seconds` | 60 | `int` | Interval at which master member publishes a member list. | +| `hazelcast.member.naming.moby.enabled` | `true` | `bool` | Defines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided. | +| `hazelcast.multicast.group` | N/A | `long` | IP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../configure-and-manage-clusters/partition-groups-and-networking/network-configuration.mdx#multicast-element). | +| `hazelcast.multicast.socket.set.interface` | N/A | `long` | Allows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called. | +| `hazelcast.tcp.join.port.try.count` | 3 | `int` | The number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host. This applies to a host that is defined without a port in the TCP/IP member list, while a member is searching for a cluster. | +| `hazelcast.tcp.join.previously.joined.member.address.retention.seconds` | 14400 | `int` | Specifies how long the address of a member that has previously joined the cluster is retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, these member addresses are used to discover the other cluster by the split-brain handler. | +| `hazelcast.wait.seconds.before.join` | 5 | `int` | Wait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. A first-timer join request is one from a member that has not made any previous join request. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request, or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. | + +## Failure detection and split-brain recovery + +These properties control how members detect failed members, and when a cluster checks for a split-brain to merge: -For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#diagnostics). +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connection.monitor.interval` | 100 | `int` | Minimum interval in milliseconds to consider a connection error as critical. | +| `hazelcast.connection.monitor.max.faults` | 3 | `int` | Maximum I/O error count before disconnecting from a member. | +| `hazelcast.heartbeat.failuredetector.type` | `deadline` | `string` | Type of the heartbeat failure detector. See the [Failure Detector Configuration section](../configure-and-manage-clusters/configuring-for-fault-tolerance/detecting-failures/failure-detector-configuration.mdx). | +| `hazelcast.heartbeat.interval.seconds` | 5 | `int` | Heartbeat send interval in seconds. | +| `hazelcast.max.no.heartbeat.seconds` | 60 | `int` | Maximum timeout of heartbeat in seconds for a member to assume it is dead. | +| `hazelcast.merge.first.run.delay.seconds` | 300 | `int` | Initial run delay of [split-brain/merge process](../configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.merge.next.run.delay.seconds` | 120 | `int` | Run interval of [split-brain/merge process](../configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds` | 5 | `int` | Timeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters. | +| `hazelcast.partial.member.disconnection.resolution.heartbeat.count` | 0 | `int` | When the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds. This allows other members to report their problems, if there are any. This property sets the number of these rounds. | + +:::warning + +Setting `hazelcast.max.no.heartbeat.seconds` too low may cause members to be evicted from the cluster when they are under heavy load. These members are unable to send heartbeat operations in time, and other members assume that they are dead. ::: -
`hazelcast.diagnostics.enabled`falseboolSpecifies whether diagnostics tool is enabled or not for the cluster.
`hazelcast.diagnostics.filename.prefix`stringOptional prefix for the diagnostics log file.
`hazelcast.diagnostics.invocation.sample.period.seconds`0longFrequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled.
`hazelcast.diagnostics.invocation.slow.threshold.seconds`5longThreshold period, in seconds, that makes an invocation to be considered as slow.
`hazelcast.diagnostics.max.rolled.file.count`10intAllowed count of diagnostic files within each roll.
`hazelcast.diagnostics.max.rolled.file.size.mb`50intSize of each diagnostic file to be rolled.
`hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`100intMaximum allowed deviation for a member-to-member heartbeats.
`hazelcast.diagnostics.member-heartbeat.period.seconds`10longPeriod for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.memberinfo.period.seconds`60longFrequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
`hazelcast.diagnostics.metrics.period.seconds`60longFrequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file.
`hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`33intMaximum allowed deviation for a member-to-member operation heartbeats.
`hazelcast.diagnostics.operation-heartbeat.seconds`10longPeriod, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.pending.invocations.period.seconds`0longPeriod, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.stdout``FILE`stringConfigures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`.
`hazelcast.diagnostics.slowoperations.period.seconds`60longPeriod, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.period.seconds`0longPeriod, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.reset.period.seconds`0longPeriod, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool.
`hazelcast.diagnostics.systemlog.enabled`trueboolSpecifies whether the SystemLog plugin of the diagnostics tool is enabled or not.
`hazelcast.diagnostics.systemlog.partitions`falseboolSpecifies whether the SystemLog plugin collects information about partition migrations.
`hazelcast.discovery.enabled`falseboolEnables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../configure-and-manage-clusters/extending-hazelcast/discovery-spi.mdx) for more information.
`hazelcast.discovery.public.ip.enabled`falseboolEnable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members since they will be discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../configure-and-manage-clusters/partition-groups-and-networking/network-configuration.mdx#public-address).
`hazelcast.dynamicconfig.ignore.conflicts`boolWhen it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it will throw an exception regardless this property.
`hazelcast.enterprise.license.key`nullstring[Hazelcast Enterprise](https://hazelcast.com/products/) license key.
`hazelcast.event.queue.capacity`1000000intCapacity of internal event queue.
`hazelcast.event.queue.timeout.millis`250intTimeout to enqueue events to event queue.
`hazelcast.event.sync.timeout.millis`5000intTo prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled growth of the outbound write queue of the connection.
`hazelcast.event.thread.count`5intNumber of event handler threads.
`hazelcast.graceful.shutdown.max.wait`600intMaximum wait in seconds during graceful shutdown.
`hazelcast.hd.global.index.enabled`trueboolSpecifies whether the global concurrent High-Density Memory Store indexes are enabled or not.
`hazelcast.health.monitoring.delay.seconds`20intHealth monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring).
`hazelcast.health.monitoring.level`SILENTstringHealth monitoring log level. When **SILENT**, logs are printed only when values exceed some predefined threshold. When **NOISY**, logs are always printed periodically. Set **OFF** to turn off completely.
`hazelcast.health.monitoring.threshold.cpu.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the CPU usage exceeds this threshold.
`hazelcast.health.monitoring.threshold.memory.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the memory usage exceeds this threshold.
`hazelcast.heartbeat.failuredetector.type``deadline`stringType of the heartbeat failure detector. See the [Failure Detector Configuration section](../configure-and-manage-clusters/configuring-for-fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
`hazelcast.heartbeat.interval.seconds`5intHeartbeat send interval in seconds.
`hazelcast.hidensity.check.freememory`trueboolIf enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded.
`hazelcast.hotrestart.free.native.memory.percentage` (deprecated)15longPercentage of the free memory space that is required for [Persistence](../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx).
`hazelcast.ignoreXxeProtectionFailures`falsebool - -If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. - -This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. - -
`hazelcast.index.copy.behavior`COPY\_ON\_READstringDefines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-solutions/improving-query-performance/indexing-maps.mdx#copying-indexes).
`hazelcast.init.cluster.version`stringUsed to override the cluster version to use while a Hazlecast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version.
`hazelcast.initial.min.cluster.size`0intInitial expected cluster size to wait before member to start completely.
`hazelcast.initial.wait.seconds`0intInitial time in seconds to wait before member to start completely.
`hazelcast.internal.map.expiration.cleanup.operation.count`N/AintCount of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count.
`hazelcast.internal.map.expiration.cleanup.percentage`10intScannable percentage of the entries in the maps' partitions in each run of the background expiration task.
`hazelcast.internal.map.expiration.task.period.seconds`5intInterval, in seconds, at which the background expiration task is going to run.
`hazelcast.internal.map.expired.key.scan.timeout.nanos`1000000intTimeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size grows.
`hazelcast.invalidation.max.tolerated.miss.count`10intIf missed invalidation count is bigger than this value, relevant cached data is made unreachable.
`hazelcast.invalidation.reconciliation.interval.seconds`60intPeriod for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache.
`hazelcast.invocation.max.retry.count`250intMaximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed.
`hazelcast.invocation.retry.pause.millis`500intPause time between each retry cycle of an invocation in milliseconds.
`hazelcast.io.balancer.interval.seconds`20intInterval in seconds between IOBalancer executions.
`hazelcast.io.input.thread.count`3intNumber of socket input threads.
`hazelcast.io.output.thread.count`3intNumber of socket output threads.
`hazelcast.io.thread.count`3intNumber of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are 3 threads performing input and 3 threads performing output (6 threads in total).
`hazelcast.io.write.through`trueboolOptimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments.
`hazelcast.jcache.provider.type`stringType of the JCache provider. Values can be `client` or `server`.
`hazelcast.jmx`falseboolEnable [JMX](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent.
`hazelcast.jet.custom.lib.dir``custom-lib`stringThe directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline.
`hazelcast.jet.idle.cooperative.min.microseconds`25intThe minimum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit throughput.
`hazelcast.jet.idle.cooperative.max.microseconds`500intThe maximum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.min.microseconds`25intThe minimum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.max.microseconds`5000intThe maximum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.job.results.max.size`1000intMaximum number of job results to keep in the cluster; the oldest results will be automatically deleted after this size is reached.
`hazelcast.jet.job.results.ttl.seconds`604800intMaximum number of time in seconds the job results are kept in the cluster. They will be automatically deleted after this period is reached.
`hazelcast.jet.job.scan.period`5000intThe Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds.
`hazelcast.jmx.update.interval.seconds`5intSome JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale.
`hazelcast.local.localAddress`stringIt is an overrider property for the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to.
`hazelcast.local.publicAddress`stringIt is an overrider property for the default public address to be advertised to other cluster members and clients.
`hazelcast.lock.max.lease.time.seconds`Long.MAX\_VALUElongAll locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value.
`hazelcast.logging.details.enabled`trueboolSpecifies whether the cluster name, IP and version should be included in all log messages.
`hazelcast.logging.emoji.enabled`falseboolSpecifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging.
`hazelcast.logging.type`jdkenumName of [logging](../configure-and-manage-clusters/logging.mdx) framework type to send logging events.
`hazelcast.map.entry.filtering.natural.event.types`falseboolNotify [entry listeners with predicates](../develop-solutions/distributed-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space.
`hazelcast.map.eviction.batch.size`1intMaximum number of IMap entries Hazelcast will evict during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted.
`hazelcast.map.eviction.sample.count`15intCount of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction.
`hazelcast.map.expiry.delay.seconds`10intDelays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas.
`hazelcast.map.invalidation.batchfrequency.seconds`10intIf the collected invalidations do not reach the configured batch size, a background process sends them at this interval.
`hazelcast.map.invalidation.batch.enabled`trueboolEnable or disable batching. When it is set to `false`, all invalidations are sent immediately.
`hazelcast.map.invalidation.batch.size`100intMaximum number of invalidations in a batch.
`hazelcast.map.load.chunk.size`1000intMaximum size of the key batch sent to the partition owners for value loading and the maximum size of a key batch for which values are loaded in a single partition.
`hazelcast.map.loaded.key.limit.per.node`50000intMaximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member.
`hazelcast.map.replica.scheduled.task.delay.seconds`10intScheduler delay for map tasks those are executed on backup members.
`hazelcast.map.write.behind.queue.capacity`50000stringMaximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-solutions/cache/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element.
`hazelcast.mastership.claim.timeout.seconds`120intThe timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member will be removed from the member list.
`hazelcast.max.join.merge.target.seconds`20intSplit-brain merge timeout for a specific target.
`hazelcast.max.join.seconds`300intJoin timeout, maximum time to try to join before giving.
`hazelcast.max.no.heartbeat.seconds`60int - -Maximum timeout of heartbeat in seconds for a member to assume it is dead. - -:::caution - -Setting this value too low may cause members to be evicted from the cluster when they are under heavy load: they will be unable to send heartbeat operations in time, so other members will assume that it is dead. +## Cluster versions and shutdown + +These properties control cluster version upgrades, and how members and clusters shut down: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cluster.shutdown.timeout.seconds` | 900 | `int` | Once a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator gives up and shuts itself down regardless. | +| `hazelcast.cluster.version.auto.upgrade.enabled` | `false` | `bool` | Specifies whether the automatic cluster version upgrading is enabled. | +| `hazelcast.cluster.version.auto.upgrade.min.cluster.size` | 1 | `int` | When set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed. | +| `hazelcast.graceful.shutdown.max.wait` | 600 | `int` | Maximum wait in seconds during graceful shutdown. | +| `hazelcast.init.cluster.version` | | `string` | Used to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version. | +| `hazelcast.shutdownhook.enabled` | `true` | `bool` | Enables/disables Hazelcast shutdown hook thread. When enabled, the shutdown action is determined according to the value of `hazelcast.shutdownhook.policy`. | +| `hazelcast.shutdownhook.policy` | `TERMINATE` | `string` | Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. | + +:::note + +Always shut down Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../configure-and-manage-clusters/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It is not recommended to rely on the shutdown hook, because this is a last-effort measure. ::: -
`hazelcast.max.wait.seconds.before.join`20intMaximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request, and ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase, during which it will only admit members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master will again start admitting new members.
`hazelcast.mc.executor.thread.count`int2Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance.
`hazelcast.mc.max.visible.slow.operations.count`10intManagement Center maximum visible slow operations count.
`hazelcast.member.list.publish.interval.seconds`60intInterval at which master member publishes a member list.
`hazelcast.member.naming.moby.enabled`trueboolDefines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided.
`hazelcast.merge.first.run.delay.seconds`300intInitial run delay of [split-brain/merge process](../configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.merge.next.run.delay.seconds`120intRun interval of [split-brain/merge process](../configure-and-manage-clusters/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.metrics.collection.frequency`5intFrequency, in seconds, of the [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.datastructures.enabled`trueboolSpecifies whether collecting metrics from the distributed data structures is enabled.
`hazelcast.metrics.debug.enabled`falseboolEnables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only.
`hazelcast.metrics.enabled`trueboolEnables the [metrics collection](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.enabled`trueboolEnables buffering the collected [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.retention`5intDuration, in seconds, that the [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.jmx.enabled`trueboolEnables exposing the collected [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.multicast.group`N/AlongIP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../configure-and-manage-clusters/partition-groups-and-networking/network-configuration.mdx#multicast-element).
`hazelcast.multicast.socket.set.interface`N/AlongAllows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called.
`hazelcast.network.stats.refresh.interval.seconds`3intInterval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../configure-and-manage-clusters/partition-groups-and-networking/network-configuration.mdx) is used.
`hazelcast.nio.tcp.spoofing.checks`falseboolControls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed under NAT'ed infrastructure.
`hazelcast.operation.backup.timeout.millis`5000intMaximum time a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even no backup response is received.
`hazelcast.operation.call.timeout.millis`60000intTimeout to wait for a response when a remote call is sent, in milliseconds.
`hazelcast.operation.fail.on.indeterminate.state`falseboolWhen enabled, an operation fails with `IndeterminateOperationStateException`, if it does not receive backup acks in time with respect to backup configuration of its data structure, or the member which owns primary replica of the target partition leaves the cluster.
`hazelcast.operation.generic.thread.count`2intNumber of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`.
`hazelcast.operation.priority.generic.thread.count`1intNumber of priority generic operation handler threads per member. Having at least 1 priority generic operation thread helps to improve cluster stability since a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations don't get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least 1 thread.
`hazelcast.operation.response.thread.count`2intNumber of threads the process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput.
`hazelcast.operation.responsequeue.idlestrategy`blockstringSpecifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance.
`hazelcast.operation.thread.count`2intNumber of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors.
`hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds`5intTimeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters.
`hazelcast.partial.member.disconnection.resolution.heartbeat.count`0intWhen the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds to allow other members to report their problems, if there is any. This property sets the number of these rounds.
`hazelcast.partition.backup.sync.interval`30intInterval for syncing backup replicas in seconds.
`hazelcast.partition.count`271intTotal partition count.
`hazelcast.partition.max.parallel.migrations`10intMaximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups.
`hazelcast.partition.max.parallel.replications`10intMaximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups.
`hazelcast.partition.migration.chunks.enabled`trueboolSubdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations.
`hazelcast.partition.migration.chunks.max.migrating.data.in.mb`250intLimits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value.
`hazelcast.partition.migration.fragments.enabled`trueboolWhen enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete.
`hazelcast.partition.migration.interval`0intInterval to run partition migration tasks in seconds.
`hazelcast.partition.migration.stale.read.disabled`falseboolHazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed.
`hazelcast.partition.migration.timeout`300intTimeout for partition migration tasks in seconds.
`hazelcast.partition.table.send.interval`15intInterval for publishing partition table periodically to all cluster members in seconds.
`hazelcast.partitioning.strategy.class`stringClass name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping.
`hazelcast.persistence.auto.cluster.state`trueboolEnables/disables [automatic state management](../deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx#running-hazelcast-enterprise-with-persistence-under-kubernetes) of clusters in Kubernetes Statefulset, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions.
`hazelcast.persistence.auto.cluster.state.strategy`string`NO_MIGRATION`Selects the [cluster state](../deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx#configuration) to be used when members are temporarily missing from a cluster in Kubernetes Statefulset which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`.
`hazelcast.phone.home.enabled`trueboolEnable or disable the sending of phone home data to Hazelcast's phone home server.
`hazelcast.prefer.ipv4.stack`trueboolPrefer IPv4 network interface when picking a local address.
`hazelcast.query.max.local.partition.limit.for.precheck`3intMaximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps.
`hazelcast.query.optimizer.type`RULESStringType of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`.
`hazelcast.query.predicate.parallel.evaluation`falseboolEach Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications overweight can benefit from parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member.
`hazelcast.query.result.size.limit`-1intResult size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-solutions/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit.
`hazelcast.security.recommendations`nullstringWhen set to any non-null value, security recommendations are logged at the `INFO` level during the member startup.
`hazelcast.serialization.version`longVersion of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version.
`hazelcast.shutdownhook.enabled`trueboolEnables/disables Hazelcast shutdownhook thread. When enabled, the shutdown action is determined according to the value of [`hazelcast.shutdownhook.policy`](#hazelcast.shutdownhook.policy).
`hazelcast.shutdownhook.policy`TERMINATEstring - -Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. +## Networking and I/O + +These properties control sockets, I/O threads, and the network addresses that members use: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.io.balancer.interval.seconds` | 20 | `int` | Interval in seconds between IOBalancer executions. | +| `hazelcast.io.input.thread.count` | 3 | `int` | Number of socket input threads. | +| `hazelcast.io.output.thread.count` | 3 | `int` | Number of socket output threads. | +| `hazelcast.io.thread.count` | 3 | `int` | Number of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are three threads performing input and three threads performing output (six threads in total). | +| `hazelcast.io.write.through` | `true` | `bool` | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. | +| `hazelcast.local.localAddress` | | `string` | It overrides the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to. | +| `hazelcast.local.publicAddress` | | `string` | It overrides the default public address to be advertised to other cluster members and clients. | +| `hazelcast.network.stats.refresh.interval.seconds` | 3 | `int` | Interval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../configure-and-manage-clusters/partition-groups-and-networking/network-configuration.mdx) is used. | +| `hazelcast.nio.tcp.spoofing.checks` | `false` | `bool` | Controls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed behind NAT. | +| `hazelcast.prefer.ipv4.stack` | `true` | `bool` | Prefer IPv4 network interface when picking a local address. | +| `hazelcast.socket.bind.any` | `true` | `bool` | Bind both server-socket and client-sockets to any local interface. | +| `hazelcast.socket.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` instead of `ByteBuffer.allocate`. This method makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See the [`ByteBuffer` Javadoc](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information. | +| `hazelcast.socket.client.bind` | `true` | `bool` | Bind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface. | +| `hazelcast.socket.client.bind.any` | `true` | `bool` | Bind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `hazelcast.socket.client.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one. | +| `hazelcast.socket.client.receive.buffer.size` | -1 | `int` | Hazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.client.send.buffer.size` | -1 | `int` | Hazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.connect.timeout.seconds` | 10 | `int` | Socket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite. | +| `hazelcast.socket.keep.alive` | `true` | `bool` | Sets a socket to be in the `SO_KEEPALIVE` option. | +| `hazelcast.socket.linger.seconds` | 0 | `int` | Sets the linger value (timeout) for a socket in the `SO_LINGER` option. | +| `hazelcast.socket.no.delay` | `true` | `bool` | Specifies whether the delay of sending successive small packets on the network is disabled. | +| `hazelcast.socket.receive.buffer.size` | 128 | `int` | Socket receive buffer (`SO_RCVBUF`) size in KB. If you have a fast network (e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below to tune the size. | +| `hazelcast.socket.send.buffer.size` | 128 | `int` | Socket send buffer (`SO_SNDBUF`) size in KB. | +| `hazelcast.socket.server.bind.any` | `true` | `bool` | Bind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `tcp.channels.per.connection` | 1 | `int` | Number of parallel connections between members. Not having more connections than IO threads is recommended. | + +## Client connections + +These properties control how members handle client connections: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.client.cleanup.period.millis` | 10000 | `int` | Period, in milliseconds, to check if a client is still part of the cluster. | +| `hazelcast.client.cleanup.timeout.millis` | 120000 | `int` | Timeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client. | +| `hazelcast.client.internal.skip.cluster.namecheck.during.connection` | `false` | `bool` | Allows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication. | +| `hazelcast.client.max.no.heartbeat.seconds` | 300 | `int` | Time after which the member assumes the client is dead and closes its connections to the client. | +| `hazelcast.client.protocol.max.message.bytes` | 1024 | `int` | Client protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message. | +| `hazelcast.clientengine.blocking.thread.count` | -1 | `int` | Number of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20. | +| `hazelcast.clientengine.query.thread.count` | | `int` | Number of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1. | +| `hazelcast.clientengine.thread.count` | | `int` | Maximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20. | + +## Operations, invocations, and events + +These properties control operation threads, invocation retries, backpressure, and event delivery: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.backpressure.backoff.timeout.millis` | 60000 | `int` | Controls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0. | +| `hazelcast.backpressure.enabled` | `false` | `bool` | Enable back pressure. | +| `hazelcast.backpressure.max.concurrent.invocations.per.partition` | 100 | `int` | The maximum number of concurrent invocations per partition. | +| `hazelcast.backpressure.syncwindow` | 1000 | `string` | Used when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup. | +| `hazelcast.event.queue.capacity` | 1000000 | `int` | Capacity of internal event queue. | +| `hazelcast.event.queue.timeout.millis` | 250 | `int` | Timeout to enqueue events to event queue. | +| `hazelcast.event.sync.timeout.millis` | 5000 | `int` | To prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled increase in the size of the outbound write queue of the connection. | +| `hazelcast.event.thread.count` | 5 | `int` | Number of event handler threads. | +| `hazelcast.invocation.max.retry.count` | 250 | `int` | Maximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed. | +| `hazelcast.invocation.retry.pause.millis` | 500 | `int` | Pause time between each retry cycle of an invocation in milliseconds. | +| `hazelcast.operation.backup.timeout.millis` | 5000 | `int` | Maximum time for a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even if no backup response is received. | +| `hazelcast.operation.call.timeout.millis` | 60000 | `int` | Timeout to wait for a response when a remote call is sent, in milliseconds. | +| `hazelcast.operation.fail.on.indeterminate.state` | `false` | `bool` | When enabled, an operation fails with `IndeterminateOperationStateException` if it does not receive backup acks in time with respect to backup configuration of its data structure. It also fails if the member which owns primary replica of the target partition leaves the cluster. | +| `hazelcast.operation.generic.thread.count` | 2 | `int` | Number of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`. | +| `hazelcast.operation.priority.generic.thread.count` | 1 | `int` | Number of priority generic operation handler threads per member. Having at least one priority generic operation thread helps to improve cluster stability. This is because a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations do not get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least one thread. | +| `hazelcast.operation.response.thread.count` | 2 | `int` | Number of threads that process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput. | +| `hazelcast.operation.responsequeue.idlestrategy` | `block` | `string` | Specifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance. | +| `hazelcast.operation.thread.count` | 2 | `int` | Number of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors. | + +## Partitions and migration + +These properties control partitions and how members migrate them: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.partition.backup.sync.interval` | 30 | `int` | Interval for syncing backup replicas in seconds. | +| `hazelcast.partition.count` | 271 | `int` | Total partition count. | +| `hazelcast.partition.max.parallel.migrations` | 10 | `int` | Maximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups. | +| `hazelcast.partition.max.parallel.replications` | 10 | `int` | Maximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups. | +| `hazelcast.partition.migration.chunks.enabled` | `true` | `bool` | Subdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations. | +| `hazelcast.partition.migration.chunks.max.migrating.data.in.mb` | 250 | `int` | Limits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value. | +| `hazelcast.partition.migration.fragments.enabled` | `true` | `bool` | When enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete. | +| `hazelcast.partition.migration.interval` | 0 | `int` | Interval to run partition migration tasks in seconds. | +| `hazelcast.partition.migration.stale.read.disabled` | `false` | `bool` | Hazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed. | +| `hazelcast.partition.migration.timeout` | 300 | `int` | Timeout for partition migration tasks in seconds. | +| `hazelcast.partition.table.send.interval` | 15 | `int` | Interval for publishing partition table periodically to all cluster members in seconds. | +| `hazelcast.partitioning.strategy.class` | | `string` | Class name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping. | + +## Maps, caches, and Near Cache + +These properties control maps, caches, Near Cache invalidation, locks, and the event journal: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cache.invalidation.batch.enabled` | `true` | `bool` | Specifies whether the cache invalidation event batch sending is enabled or not. | +| `hazelcast.cache.invalidation.batch.size` | 100 | `int` | Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch. | +| `hazelcast.cache.invalidation.batchfrequency.seconds` | 5 | `int` | Defines cache invalidation event batch sending frequency in seconds. | +| `hazelcast.concurrent.window.ms` | 100 | `int` | Property needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it keeps that way. Setting it too low could lead to suboptimal performance because the system tries write through and other optimizations even though the system is concurrent. | +| `hazelcast.internal.map.expiration.cleanup.operation.count` | N/A | `int` | Count of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count. | +| `hazelcast.internal.map.expiration.cleanup.percentage` | 10 | `int` | Scannable percentage of the entries in the maps' partitions in each run of the background expiration task. | +| `hazelcast.internal.map.expiration.task.period.seconds` | 5 | `int` | Interval, in seconds, at which the background expiration task is going to run. | +| `hazelcast.internal.map.expired.key.scan.timeout.nanos` | 1000000 | `int` | Timeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size increases. | +| `hazelcast.invalidation.max.tolerated.miss.count` | 10 | `int` | If missed invalidation count is bigger than this value, relevant cached data is made unreachable. | +| `hazelcast.invalidation.reconciliation.interval.seconds` | 60 | `int` | Period for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache. | +| `hazelcast.jcache.provider.type` | | `string` | Type of the JCache provider. Values can be `client` or `server`. | +| `hazelcast.lock.max.lease.time.seconds` | `Long.MAX_VALUE` | `long` | All locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value. | +| `hazelcast.map.entry.filtering.natural.event.types` | `false` | `bool` | Notify [entry listeners with predicates](../develop-solutions/distributed-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space. | +| `hazelcast.map.eviction.batch.size` | 1 | `int` | Maximum number of IMap entries Hazelcast evicts during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted. | +| `hazelcast.map.eviction.sample.count` | 15 | `int` | Count of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction. | +| `hazelcast.map.expiry.delay.seconds` | 10 | `int` | Delays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas. | +| `hazelcast.map.invalidation.batch.enabled` | `true` | `bool` | Enable or disable batching. When it is set to `false`, all invalidations are sent immediately. | +| `hazelcast.map.invalidation.batch.size` | 100 | `int` | Maximum number of invalidations in a batch. | +| `hazelcast.map.invalidation.batchfrequency.seconds` | 10 | `int` | If the collected invalidations do not reach the configured batch size, a background process sends them at this interval. | +| `hazelcast.map.load.chunk.size` | 1000 | `int` | Maximum size of the key batch sent to the partition owners for value loading. This is also the maximum size of a key batch for which values are loaded in a single partition. | +| `hazelcast.map.loaded.key.limit.per.node` | 50000 | `int` | Maximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member. | +| `hazelcast.map.replica.scheduled.task.delay.seconds` | 10 | `int` | Scheduler delay for map tasks that are executed on backup members. | +| `hazelcast.map.write.behind.queue.capacity` | 50000 | `string` | Maximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-solutions/cache/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element. | + +## Queries and indexes + +These properties control query execution, aggregations, and indexes: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.aggregation.accumulation.parallel.evaluation` | `true` | `bool` | Specifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel. | +| `hazelcast.hd.global.index.enabled` | `true` | `bool` | Specifies whether the global concurrent High-Density Memory Store indexes are enabled or not. | +| `hazelcast.index.copy.behavior` | `COPY_ON_READ` | `string` | Defines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-solutions/improving-query-performance/indexing-maps.mdx#copying-indexes). | +| `hazelcast.query.max.local.partition.limit.for.precheck` | 3 | `int` | Maximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps. | +| `hazelcast.query.optimizer.type` | `RULES` | `string` | Type of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`. | +| `hazelcast.query.predicate.parallel.evaluation` | `false` | `bool` | Each Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications outweighs the benefit of parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member. | +| `hazelcast.query.result.size.limit` | -1 | `int` | Result size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-solutions/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit. | + +## Diagnostics, metrics, and logging + +The properties in this section control diagnostics, health monitoring, slow operation detection, metrics, and logging. + +### Diagnostics log + +These properties control the diagnostics log. :::note -Always shutdown Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../configure-and-manage-clusters/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It's not recommended to rely on the shutdown hook, this is a last-effort measure. +For detailed information about the diagnostic tool and the diagnostics properties, see the [Diagnostics section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#diagnostics). ::: -
`hazelcast.slow.operation.detector.enabled`trueboolEnables/disables the [SlowOperationDetector](../configure-and-manage-clusters/improving-cluster-performance/best-practices.mdx).
`hazelcast.slow.operation.detector.log.purge.interval.seconds`300intPurge interval for slow operation logs.
`hazelcast.slow.operation.detector.log.retention.seconds`3600intDefines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted.
`hazelcast.slow.operation.detector.stacktrace.logging.enabled`falseboolDefines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small.
`hazelcast.slow.operation.detector.threshold.millis`10000intDefines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace.
`hazelcast.socket.bind.any`trueboolBind both server-socket and client-sockets to any local interface.
`hazelcast.socket.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` (instead of `ByteBuffer.allocate`) which makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See [here](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information.
`hazelcast.socket.client.bind`trueboolBind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface.
`hazelcast.socket.client.bind.any`trueboolBind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.socket.client.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one.
`hazelcast.socket.client.receive.buffer.size`-1intHazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.client.send.buffer.size`-1intHazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.connect.timeout.seconds`10intSocket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite.
`hazelcast.socket.keep.alive`trueboolSets a socket to be in the `SO_KEEPALIVE` option.
`hazelcast.socket.linger.seconds`0intSets the linger value (timeout) for a socket in the `SO_LINGER` option.
`hazelcast.socket.no.delay`trueboolSpecifies whether the delay of sending successive small packets on the network is disabled.
`hazelcast.socket.receive.buffer.size`128intSocket receive buffer (`SO_RCVBUF`) size in KB. If you have a very fast network, e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below tune the size.
`hazelcast.socket.send.buffer.size`128intSocket send buffer (`SO_SNDBUF`) size in KB.
`hazelcast.socket.server.bind.any`trueboolBind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.tcp.join.port.try.count`3intThe number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host (which is defined without a port in TCP/IP member list while a member is searching for a cluster).
`hazelcast.tcp.join.previously.joined.member.address.retention.seconds`14400intSpecifies how long the address of a member that has previously joined the cluster will be retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, this member addresses is used to discover the other cluster by the split-brain handler.
`hazelcast.wait.seconds.before.join`5intWait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request (i.e., where the member hasn't made any previous join request), or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster.
`hazelcast.wan.consumer.ack.delay.backoff.init`1intDefines the initial backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.max`100intDefines the maximum backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.multiplier`1.5DstringDefines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled
`hazelcast.wan.consumer.invocation.threshold`50000intDefines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member to delay the WAN acknowledgment, thus slowing down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgement delaying feature.
`hazelcast.wan.replicate.imap.evictions`falseboolSpecifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`hazelcast.wan.replicate.icache.evictions`falseboolSpecifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`tcp.channels.per.connection`1intNumber of parallel connections between members. Not having more connections than IO threads is recommended.
+The diagnostics properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.diagnostics.directory` | `user.dir` | `string` | Output directory of the diagnostic log files. | +| `hazelcast.diagnostics.enabled` | `false` | `bool` | Specifies whether diagnostics tool is enabled or not for the cluster. | +| `hazelcast.diagnostics.filename.prefix` | | `string` | Optional prefix for the diagnostics log file. | +| `hazelcast.diagnostics.invocation.sample.period.seconds` | 0 | `long` | Frequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled. | +| `hazelcast.diagnostics.invocation.slow.threshold.seconds` | 5 | `long` | Threshold period, in seconds, that makes an invocation to be considered as slow. | +| `hazelcast.diagnostics.max.rolled.file.count` | 10 | `int` | Allowed count of diagnostic files within each roll. | +| `hazelcast.diagnostics.max.rolled.file.size.mb` | 50 | `int` | Size of each diagnostic file to be rolled. | +| `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage` | 100 | `int` | Maximum allowed deviation for member-to-member heartbeats. | +| `hazelcast.diagnostics.member-heartbeat.period.seconds` | 10 | `long` | Period for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.memberinfo.period.seconds` | 60 | `long` | Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file. | +| `hazelcast.diagnostics.metrics.period.seconds` | 60 | `long` | Frequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file. | +| `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage` | 33 | `int` | Maximum allowed deviation for member-to-member operation heartbeats. | +| `hazelcast.diagnostics.operation-heartbeat.seconds` | 10 | `long` | Period, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.pending.invocations.period.seconds` | 0 | `long` | Period, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.slowoperations.period.seconds` | 60 | `long` | Period, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.stdout` | `FILE` | `string` | Configures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`. | +| `hazelcast.diagnostics.storeLatency.period.seconds` | 0 | `long` | Period, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.storeLatency.reset.period.seconds` | 0 | `long` | Period, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool. | +| `hazelcast.diagnostics.systemlog.enabled` | `true` | `bool` | Specifies whether the SystemLog plugin of the diagnostics tool is enabled or not. | +| `hazelcast.diagnostics.systemlog.partitions` | `false` | `bool` | Specifies whether the SystemLog plugin collects information about partition migrations. | + +### Health monitoring + +These properties control the health monitor: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.health.monitoring.delay.seconds` | 20 | `int` | Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). | +| `hazelcast.health.monitoring.level` | `SILENT` | `string` | Health monitoring log level. When `SILENT`, logs are printed only when values exceed some predefined threshold. When `NOISY`, logs are always printed periodically. Set `OFF` to turn off completely. | +| `hazelcast.health.monitoring.threshold.cpu.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the CPU usage exceeds this threshold. | +| `hazelcast.health.monitoring.threshold.memory.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the memory usage exceeds this threshold. | + +### Slow operation detector + +These properties control the slow operation detector: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.slow.operation.detector.enabled` | `true` | `bool` | Enables/disables the [SlowOperationDetector](../configure-and-manage-clusters/improving-cluster-performance/best-practices.mdx). | +| `hazelcast.slow.operation.detector.log.purge.interval.seconds` | 300 | `int` | Purge interval for slow operation logs. | +| `hazelcast.slow.operation.detector.log.retention.seconds` | 3600 | `int` | Defines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted. | +| `hazelcast.slow.operation.detector.stacktrace.logging.enabled` | `false` | `bool` | Defines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small. | +| `hazelcast.slow.operation.detector.threshold.millis` | 10000 | `int` | Defines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. | + +### Metrics, JMX, and Management Center + +These properties control metrics collection, JMX, and the data that members send to Management Center: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jmx` | `false` | `bool` | Enable [JMX](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. | +| `hazelcast.jmx.update.interval.seconds` | 5 | `int` | Some JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale. | +| `hazelcast.mc.executor.thread.count` | 2 | `int` | Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance. | +| `hazelcast.mc.max.visible.slow.operations.count` | 10 | `int` | Management Center maximum visible slow operations count. | +| `hazelcast.metrics.collection.frequency` | 5 | `int` | Frequency, in seconds, of the [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.datastructures.enabled` | `true` | `bool` | Specifies whether collecting metrics from the distributed data structures is enabled. | +| `hazelcast.metrics.debug.enabled` | `false` | `bool` | Enables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only. | +| `hazelcast.metrics.enabled` | `true` | `bool` | Enables the [metrics collection](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.jmx.enabled` | `true` | `bool` | Enables exposing the collected [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.enabled` | `true` | `bool` | Enables buffering the collected [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.retention` | 5 | `int` | Duration, in seconds, that the [metrics](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#configuration). | + +### Logging + +These properties control logging: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.logging.details.enabled` | `true` | `bool` | Specifies whether the cluster name, IP and version should be included in all log messages. | +| `hazelcast.logging.emoji.enabled` | `false` | `bool` | Specifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging. | +| `hazelcast.logging.type` | `jdk` | `enum` | Name of [logging](../configure-and-manage-clusters/logging.mdx) framework type to send logging events. | + +## Persistence and native memory + +These properties control Persistence and native memory: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.hidensity.check.freememory` | `true` | `bool` | If enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded. | +| `hazelcast.hotrestart.free.native.memory.percentage` (deprecated) | 15 | `long` | Percentage of the free memory space that is required for [Persistence](../configure-and-manage-clusters/configuring-for-fault-tolerance/persistence/persistence.mdx). | +| `hazelcast.persistence.auto.cluster.state` | `true` | `bool` | Enables/disables [automatic state management](../deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx#running-hazelcast-enterprise-with-persistence-under-kubernetes) of clusters in Kubernetes StatefulSet, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions. | +| `hazelcast.persistence.auto.cluster.state.strategy` | `NO_MIGRATION` | `string` | Selects the [cluster state](../deploy-clusters/kubernetes/kubernetes-auto-discovery.mdx#configuration) to be used when members are temporarily missing from a cluster in Kubernetes StatefulSet which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`. | + +## Jet + +These properties control the Jet engine, which runs data pipelines and jobs: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jet.custom.lib.dir` | `custom-lib` | `string` | The directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline. | +| `hazelcast.jet.idle.cooperative.max.microseconds` | 500 | `int` | The maximum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.cooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit throughput. | +| `hazelcast.jet.idle.noncooperative.max.microseconds` | 5000 | `int` | The maximum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.noncooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.job.results.max.size` | 1000 | `int` | Maximum number of job results to keep in the cluster; the oldest results are automatically deleted after this size is reached. | +| `hazelcast.jet.job.results.ttl.seconds` | 604800 | `int` | Maximum amount of time in seconds the job results are kept in the cluster. They are automatically deleted after this period is reached. | +| `hazelcast.jet.job.scan.period` | 5000 | `int` | The Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds. | + +## WAN replication + +These properties control WAN replication: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.wan.consumer.ack.delay.backoff.init` | 1 | `int` | Defines the initial backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.max` | 100 | `int` | Defines the maximum backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.multiplier` | `1.5D` | `string` | Defines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.invocation.threshold`| 50000 | `int` | Defines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member delay the WAN acknowledgment. This slows down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgement delaying feature. | +| `hazelcast.wan.replicate.icache.evictions` | `false` | `bool` | Specifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | +| `hazelcast.wan.replicate.imap.evictions` | `false` | `bool` | Specifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | + +## Configuration and security + +These properties control configuration loading, licensing, security checks, and phone home: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.config.instance.tracking.file` | | `string` | The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../configure-and-manage-clusters/maintaining-a-cluster/monitoring.mdx#instance-tracking). | +| `hazelcast.data.search.dynamic.config.first.enabled` | `false` | `bool` | Enables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations. | +| `hazelcast.dynamicconfig.ignore.conflicts` | | `bool` | When it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it throws an exception regardless of this property. | +| `hazelcast.enterprise.license.key` | `null` | `string` | [Hazelcast Enterprise](https://hazelcast.com/products/) license key. | +| `hazelcast.ignoreXxeProtectionFailures` | `false` | `bool` | If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. | +| `hazelcast.phone.home.enabled` | `true` | `bool` | Enable or disable the sending of phone home data to Hazelcast's phone home server. | +| `hazelcast.security.recommendations` | `null` | `string` | When set to any non-null value, security recommendations are logged at the `INFO` level during the member startup. | + +## Serialization + +This property controls serialization: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.serialization.version` | | `long` | Version of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version. | diff --git a/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx b/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx index 7ebe385f..40a05086 100644 --- a/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx +++ b/hazelcast_versioned_docs/version-5.4/clients-apis/java.mdx @@ -1677,7 +1677,7 @@ Hazelcast Java client has two built-in failure detectors: Deadline Failure Detec :::note -The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../reference/system-properties.mdx#client-max-no), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. +The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../reference/system-properties.mdx#client-connections), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. ::: diff --git a/hazelcast_versioned_docs/version-5.4/develop-build/sql/predicate-overview.mdx b/hazelcast_versioned_docs/version-5.4/develop-build/sql/predicate-overview.mdx index 3249b3ec..40fda52c 100644 --- a/hazelcast_versioned_docs/version-5.4/develop-build/sql/predicate-overview.mdx +++ b/hazelcast_versioned_docs/version-5.4/develop-build/sql/predicate-overview.mdx @@ -367,7 +367,7 @@ The query-orchestrating thread uses the threads from the query-thread pool in th - if you run a `PagingPredicate` (since each page runs as a separate task) - if you set the system property `hazelcast.query.predicate.parallel.evaluation` to true (since the predicates are evaluated in parallel) -See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#parallel-predicates) for information about paging predicates and for description of the above system property. +See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#queries-and-indexes) for information about paging predicates and for description of the above system property. Below is an example of that declarative configuration. diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx index 68c5db3d..d62274b2 100644 --- a/hazelcast_versioned_docs/version-5.4/operate-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx +++ b/hazelcast_versioned_docs/version-5.4/operate-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx @@ -107,4 +107,4 @@ MapConfig sessionsWithoutBackup = new MapConfig("sessions").setBackupCount(0); instance.getConfig().addMapConfig(sessionsWithoutBackup); ``` -To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#ignore-dynamic-conf-conflicts) system property to `true`. +To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#configuration-and-security) system property to `true`. diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx index 5b68e607..c7efb6ba 100644 --- a/hazelcast_versioned_docs/version-5.4/operate-manage/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx +++ b/hazelcast_versioned_docs/version-5.4/operate-manage/configuring-for-fault-tolerance/handling-network-partitions/split-brain-recovery.mdx @@ -23,8 +23,8 @@ After the merging side is decided, the oldest cluster member of the merging side :::note -- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-check-interval). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-first-check) seconds after the startup. -- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#tcp-try-count). +- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery) seconds after the startup. +- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#cluster-formation-and-joining). - Only the master member searches for other clusters for possible split-brain situations. - The split-brain recovery process initiates when the master member of smaller cluster detects that of the larger cluster. However, if the master of larger cluster communicates with that of the smaller cluster, and not the other way around, the recovery process cannot commence. diff --git a/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/shutdown.mdx b/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/shutdown.mdx index 9b689811..daab1dc3 100644 --- a/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/shutdown.mdx +++ b/hazelcast_versioned_docs/version-5.4/operate-manage/maintaining-a-cluster/shutdown.mdx @@ -83,7 +83,7 @@ When you gracefully shut down a member, it allows a Hazelcast cluster to migrate During a graceful shutdown the oldest cluster member (master member) migrates all the replicas owned by the shutdown-requesting member to the other running cluster members. -While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#hazelcast.graceful.shutdown.max.wait). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. +While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. :::note @@ -137,9 +137,9 @@ Execute the `stop.sh` script in your member's `bin` directory. This option releases most of the member's used resources. -If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.enabled) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. +If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. -If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.policy) to `GRACEFUL` your member will be gracefully shutdown. +If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `GRACEFUL` your member will be gracefully shutdown. diff --git a/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx index 2af8fc3d..1c531552 100644 --- a/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.4/reference/system-properties.mdx @@ -1,10 +1,10 @@ --- -title: "System Properties" +title: "System properties" sidebar_position: 2 slug: /system-properties --- -The table below lists the system properties with their descriptions in alphabetical order. See [Configuring with System Properties](../operate-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. +This page lists the system properties, grouped by area. Within each section, the properties are in alphabetical order. See [Configuring with System Properties](../operate-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. :::note @@ -12,1299 +12,366 @@ When you want to reconfigure a system property, you need to restart the members ::: - ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property NameDefault ValueTypeDescription
`hazelcast.aggregation.accumulation.parallel.evaluation`trueboolSpecifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel.
`hazelcast.backpressure.backoff.timeout.millis`60000intControls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0.
`hazelcast.backpressure.enabled`falseboolEnable back pressure.
`hazelcast.backpressure.max.concurrent.invocations.per.partition`100intThe maximum number of concurrent invocations per partition.
`hazelcast.backpressure.syncwindow`1000stringUsed when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup.
`hazelcast.cache.invalidation.batch.enabled`trueboolSpecifies whether the cache invalidation event batch sending is enabled or not.
`hazelcast.cache.invalidation.batch.size`100intDefines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
`hazelcast.cache.invalidation.batchfrequency.seconds`5intDefines cache invalidation event batch sending frequency in seconds.
`hazelcast.client.cleanup.period.millis`10000intPeriod, in milliseconds, to check if a client is still part of the cluster.
`hazelcast.client.cleanup.timeout.millis`120000intTimeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client.
`hazelcast.client.max.no.heartbeat.seconds`300intTime after which the member assumes the client is dead and closes its connections to the client.
`hazelcast.client.internal.skip.cluster.namecheck.during.connection`falseboolAllows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication.
`hazelcast.client.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on client.
`hazelcast.client.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.client.protocol.max.message.bytes`1024intClient protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message.
`hazelcast.clientengine.blocking.thread.count`-1intNumber of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20.
`hazelcast.clientengine.query.thread.count`intNumber of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1.
`hazelcast.clientengine.thread.count`intMaximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20.
`hazelcast.cluster.shutdown.timeout.seconds`900intOnce a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator will give up and shut itself down regardless.
`hazelcast.cluster.version.auto.upgrade.enabled`falseboolSpecifies whether the automatic cluster version upgrading is enabled.
`hazelcast.cluster.version.auto.upgrade.min.cluster.size`1intWhen set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed.
`hazelcast.concurrent.window.ms`100intProperty needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it will keep that way. Setting it too low could lead to suboptimal performance because the system will try write through and other optimizations even though the system is concurrent.
`hazelcast.config.instance.tracking.file`stringThe JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking)
`hazelcast.connect.all.wait.seconds`120intTimeout to connect all other cluster members when a member is joining to a cluster.
`hazelcast.connection.monitor.interval`100intMinimum interval in milliseconds to consider a connection error as critical.
`hazelcast.connection.monitor.max.faults`3intMaximum I/O error count before disconnecting from a member.
`hazelcast.data.search.dynamic.config.first.enabled`falseboolEnables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations.
`hazelcast.diagnostics.directory``user.dir`string - -Output directory of the diagnostic log files. +## Cluster formation and joining -:::note +These properties control how members discover each other and join a cluster: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.async.join.strategy.enabled` | `true` | `bool` | Controls the behavior of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters. | +| `hazelcast.connect.all.wait.seconds` | 120 | `int` | Timeout to connect all other cluster members when a member is joining a cluster. | +| `hazelcast.discovery.enabled` | `false` | `bool` | Enables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-manage/extending-hazelcast/discovery-spi.mdx) for more information. | +| `hazelcast.discovery.public.ip.enabled` | `false` | `bool` | Enable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members. They are discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-manage/partition-groups-and-networking/network-configuration.mdx#public-address). | +| `hazelcast.initial.min.cluster.size` | 0 | `int` | Initial expected cluster size to wait before the member starts completely. | +| `hazelcast.initial.wait.seconds` | 0 | `int` | Initial time in seconds to wait before the member starts completely. | +| `hazelcast.mastership.claim.timeout.seconds` | 120 | `int` | The timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member is removed from the member list. | +| `hazelcast.max.join.merge.target.seconds` | 20 | `int` | Split-brain merge timeout for a specific target. | +| `hazelcast.max.join.seconds` | 300 | `int` | Join timeout, maximum time to try to join before giving up. | +| `hazelcast.max.wait.seconds.before.join` | 20 | `int` | Maximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request. It ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase. During the join phase, it only admits members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master again starts admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | +| `hazelcast.member.list.publish.interval.seconds` | 60 | `int` | Interval at which master member publishes a member list. | +| `hazelcast.member.naming.moby.enabled` | `true` | `bool` | Defines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided. | +| `hazelcast.multicast.group` | N/A | `long` | IP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element). | +| `hazelcast.multicast.socket.set.interface` | N/A | `long` | Allows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called. | +| `hazelcast.tcp.join.port.try.count` | 3 | `int` | The number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host. This applies to a host that is defined without a port in the TCP/IP member list, while a member is searching for a cluster. | +| `hazelcast.tcp.join.previously.joined.member.address.retention.seconds` | 14400 | `int` | Specifies how long the address of a member that has previously joined the cluster is retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, these member addresses are used to discover the other cluster by the split-brain handler. | +| `hazelcast.wait.seconds.before.join` | 5 | `int` | Wait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. A first-timer join request is one from a member that has not made any previous join request. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request, or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | + +## Failure detection and split-brain recovery + +These properties control how members detect failed members, and when a cluster checks for a split-brain to merge: -For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connection.monitor.interval` | 100 | `int` | Minimum interval in milliseconds to consider a connection error as critical. | +| `hazelcast.connection.monitor.max.faults` | 3 | `int` | Maximum I/O error count before disconnecting from a member. | +| `hazelcast.heartbeat.failuredetector.type` | `deadline` | `string` | Type of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-manage/configuring-for-fault-tolerance/detecting-failures/failure-detector-configuration.mdx). | +| `hazelcast.heartbeat.interval.seconds` | 5 | `int` | Heartbeat send interval in seconds. | +| `hazelcast.max.no.heartbeat.seconds` | 60 | `int` | Maximum timeout of heartbeat in seconds for a member to assume it is dead. | +| `hazelcast.merge.first.run.delay.seconds` | 300 | `int` | Initial run delay of [split-brain/merge process](../operate-manage/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.merge.next.run.delay.seconds` | 120 | `int` | Run interval of [split-brain/merge process](../operate-manage/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds` | 5 | `int` | Timeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters. | +| `hazelcast.partial.member.disconnection.resolution.heartbeat.count` | 0 | `int` | When the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds. This allows other members to report their problems, if there are any. This property sets the number of these rounds. | + +:::warning + +Setting `hazelcast.max.no.heartbeat.seconds` too low may cause members to be evicted from the cluster when they are under heavy load. These members are unable to send heartbeat operations in time, and other members assume that they are dead. ::: -
`hazelcast.diagnostics.enabled`falseboolSpecifies whether diagnostics tool is enabled or not for the cluster.
`hazelcast.diagnostics.filename.prefix`stringOptional prefix for the diagnostics log file.
`hazelcast.diagnostics.invocation.sample.period.seconds`0longFrequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled.
`hazelcast.diagnostics.invocation.slow.threshold.seconds`5longThreshold period, in seconds, that makes an invocation to be considered as slow.
`hazelcast.diagnostics.max.rolled.file.count`10intAllowed count of diagnostic files within each roll.
`hazelcast.diagnostics.max.rolled.file.size.mb`50intSize of each diagnostic file to be rolled.
`hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`100intMaximum allowed deviation for a member-to-member heartbeats.
`hazelcast.diagnostics.member-heartbeat.period.seconds`10longPeriod for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.memberinfo.period.seconds`60longFrequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
`hazelcast.diagnostics.metrics.period.seconds`60longFrequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file.
`hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`33intMaximum allowed deviation for a member-to-member operation heartbeats.
`hazelcast.diagnostics.operation-heartbeat.seconds`10longPeriod, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.pending.invocations.period.seconds`0longPeriod, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.stdout``FILE`stringConfigures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`.
`hazelcast.diagnostics.slowoperations.period.seconds`60longPeriod, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.period.seconds`0longPeriod, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.reset.period.seconds`0longPeriod, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool.
`hazelcast.diagnostics.systemlog.enabled`trueboolSpecifies whether the SystemLog plugin of the diagnostics tool is enabled or not.
`hazelcast.diagnostics.systemlog.partitions`falseboolSpecifies whether the SystemLog plugin collects information about partition migrations.
`hazelcast.discovery.enabled`falseboolEnables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-manage/extending-hazelcast/discovery-spi.mdx) for more information.
`hazelcast.discovery.public.ip.enabled`falseboolEnable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members since they will be discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-manage/partition-groups-and-networking/network-configuration.mdx#public-address).
`hazelcast.dynamicconfig.ignore.conflicts`boolWhen it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it will throw an exception regardless this property.
`hazelcast.enterprise.license.key`nullstring[Hazelcast Enterprise](https://hazelcast.com/products/) license key.
`hazelcast.event.queue.capacity`1000000intCapacity of internal event queue.
`hazelcast.event.queue.timeout.millis`250intTimeout to enqueue events to event queue.
`hazelcast.event.sync.timeout.millis`5000intTo prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled growth of the outbound write queue of the connection.
`hazelcast.event.thread.count`5intNumber of event handler threads.
`hazelcast.graceful.shutdown.max.wait`600intMaximum wait in seconds during graceful shutdown.
`hazelcast.hd.global.index.enabled`trueboolSpecifies whether the global concurrent High-Density Memory Store indexes are enabled or not.
`hazelcast.health.monitoring.delay.seconds`20intHealth monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring).
`hazelcast.health.monitoring.level`SILENTstringHealth monitoring log level. When **SILENT**, logs are printed only when values exceed some predefined threshold. When **NOISY**, logs are always printed periodically. Set **OFF** to turn off completely.
`hazelcast.health.monitoring.threshold.cpu.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the CPU usage exceeds this threshold.
`hazelcast.health.monitoring.threshold.memory.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the memory usage exceeds this threshold.
`hazelcast.heartbeat.failuredetector.type``deadline`stringType of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-manage/configuring-for-fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
`hazelcast.heartbeat.interval.seconds`5intHeartbeat send interval in seconds.
`hazelcast.hidensity.check.freememory`trueboolIf enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded.
`hazelcast.hotrestart.free.native.memory.percentage` (deprecated)15longPercentage of the free memory space that is required for [Persistence](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx).
`hazelcast.ignoreXxeProtectionFailures`falsebool - -If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. - -This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. - -
`hazelcast.index.copy.behavior`COPY\_ON\_READstringDefines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-build/improving-query-performance/indexing-maps.mdx#copying-indexes).
`hazelcast.init.cluster.version`stringUsed to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version.
`hazelcast.initial.min.cluster.size`0intInitial expected cluster size to wait before member to start completely.
`hazelcast.initial.wait.seconds`0intInitial time in seconds to wait before member to start completely.
`hazelcast.internal.map.expiration.cleanup.operation.count`N/AintCount of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count.
`hazelcast.internal.map.expiration.cleanup.percentage`10intScannable percentage of the entries in the maps' partitions in each run of the background expiration task.
`hazelcast.internal.map.expiration.task.period.seconds`5intInterval, in seconds, at which the background expiration task is going to run.
`hazelcast.internal.map.expired.key.scan.timeout.nanos`1000000intTimeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size grows.
`hazelcast.internal.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on member.
`hazelcast.internal.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.invalidation.max.tolerated.miss.count`10intIf missed invalidation count is bigger than this value, relevant cached data is made unreachable.
`hazelcast.invalidation.reconciliation.interval.seconds`60intPeriod for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache.
`hazelcast.invocation.max.retry.count`250intMaximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed.
`hazelcast.invocation.retry.pause.millis`500intPause time between each retry cycle of an invocation in milliseconds.
`hazelcast.io.balancer.interval.seconds`20intInterval in seconds between IOBalancer executions.
`hazelcast.io.input.thread.count`3intNumber of socket input threads.
`hazelcast.io.output.thread.count`3intNumber of socket output threads.
`hazelcast.io.thread.count`3intNumber of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are 3 threads performing input and 3 threads performing output (6 threads in total).
`hazelcast.io.write.through`trueboolOptimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments.
`hazelcast.jcache.provider.type`stringType of the JCache provider. Values can be `client` or `server`.
`hazelcast.jmx`falseboolEnable [JMX](../operate-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent.
`hazelcast.jet.custom.lib.dir``custom-lib`stringThe directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline.
`hazelcast.jet.idle.cooperative.min.microseconds`25intThe minimum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit throughput.
`hazelcast.jet.idle.cooperative.max.microseconds`500intThe maximum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.min.microseconds`25intThe minimum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.max.microseconds`5000intThe maximum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.job.results.max.size`1000intMaximum number of job results to keep in the cluster; the oldest results will be automatically deleted after this size is reached.
`hazelcast.jet.job.results.ttl.seconds`604800intMaximum number of time in seconds the job results are kept in the cluster. They will be automatically deleted after this period is reached.
`hazelcast.jet.job.scan.period`5000intThe Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds.
`hazelcast.jmx.update.interval.seconds`5intSome JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale.
`hazelcast.local.localAddress`stringIt is an overrider property for the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to.
`hazelcast.local.publicAddress`stringIt is an overrider property for the default public address to be advertised to other cluster members and clients.
`hazelcast.lock.max.lease.time.seconds`Long.MAX\_VALUElongAll locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value.
`hazelcast.logging.details.enabled`trueboolSpecifies whether the cluster name, IP and version should be included in all log messages.
`hazelcast.logging.emoji.enabled`falseboolSpecifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging.
`hazelcast.logging.type`jdkenumName of [logging](../operate-manage/logging.mdx) framework type to send logging events.
`hazelcast.map.entry.filtering.natural.event.types`falseboolNotify [entry listeners with predicates](../develop-build/distributed-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space.
`hazelcast.map.eviction.batch.size`1intMaximum number of IMap entries Hazelcast will evict during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted.
`hazelcast.map.eviction.sample.count`15intCount of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction.
`hazelcast.map.expiry.delay.seconds`10intDelays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas.
`hazelcast.map.invalidation.batchfrequency.seconds`10intIf the collected invalidations do not reach the configured batch size, a background process sends them at this interval.
`hazelcast.map.invalidation.batch.enabled`trueboolEnable or disable batching. When it is set to `false`, all invalidations are sent immediately.
`hazelcast.map.invalidation.batch.size`100intMaximum number of invalidations in a batch.
`hazelcast.map.load.chunk.size`1000intMaximum size of the key batch sent to the partition owners for value loading and the maximum size of a key batch for which values are loaded in a single partition.
`hazelcast.map.loaded.key.limit.per.node`50000intMaximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member.
`hazelcast.map.replica.scheduled.task.delay.seconds`10intScheduler delay for map tasks those are executed on backup members.
`hazelcast.map.write.behind.queue.capacity`50000stringMaximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element.
`hazelcast.mastership.claim.timeout.seconds`120intThe timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member will be removed from the member list.
`hazelcast.max.join.merge.target.seconds`20intSplit-brain merge timeout for a specific target.
`hazelcast.max.join.seconds`300intJoin timeout, maximum time to try to join before giving.
`hazelcast.max.no.heartbeat.seconds`60int - -Maximum timeout of heartbeat in seconds for a member to assume it is dead. - -:::caution - -Setting this value too low may cause members to be evicted from the cluster when they are under heavy load: they will be unable to send heartbeat operations in time, so other members will assume that it is dead. +## Cluster versions and shutdown + +These properties control cluster version upgrades, and how members and clusters shut down: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cluster.shutdown.timeout.seconds` | 900 | `int` | Once a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator gives up and shuts itself down regardless. | +| `hazelcast.cluster.version.auto.upgrade.enabled` | `false` | `bool` | Specifies whether the automatic cluster version upgrading is enabled. | +| `hazelcast.cluster.version.auto.upgrade.min.cluster.size` | 1 | `int` | When set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed. | +| `hazelcast.graceful.shutdown.max.wait` | 600 | `int` | Maximum wait in seconds during graceful shutdown. | +| `hazelcast.init.cluster.version` | | `string` | Used to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version. | +| `hazelcast.member.demote.max.wait` | 600 | `int` | Maximum wait duration in seconds during the demotion of a data member to a lite member. | +| `hazelcast.shutdownhook.enabled` | `true` | `bool` | Enables/disables Hazelcast shutdown hook thread. When enabled, the shutdown action is determined according to the value of `hazelcast.shutdownhook.policy`. | +| `hazelcast.shutdownhook.policy` | `TERMINATE` | `string` | Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. | + +:::note + +Always shut down Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It is not recommended to rely on the shutdown hook, because this is a last-effort measure. ::: -
`hazelcast.max.wait.seconds.before.join`20intMaximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request, and ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase, during which it will only admit members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master will again start admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.mc.executor.thread.count`int2Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance.
`hazelcast.mc.max.visible.slow.operations.count`10intManagement Center maximum visible slow operations count.
`hazelcast.member.demote.max.wait`600intMaximum wait duration in seconds during the demotion of a data member to a lite member.
`hazelcast.member.list.publish.interval.seconds`60intInterval at which master member publishes a member list.
`hazelcast.member.naming.moby.enabled`trueboolDefines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided.
`hazelcast.merge.first.run.delay.seconds`300intInitial run delay of [split-brain/merge process](../operate-manage/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.merge.next.run.delay.seconds`120intRun interval of [split-brain/merge process](../operate-manage/configuring-for-fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.metrics.collection.frequency`5intFrequency, in seconds, of the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.datastructures.enabled`trueboolSpecifies whether collecting metrics from the distributed data structures is enabled.
`hazelcast.metrics.debug.enabled`falseboolEnables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only.
`hazelcast.metrics.enabled`trueboolEnables the [metrics collection](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.enabled`trueboolEnables buffering the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.retention`5intDuration, in seconds, that the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.jmx.enabled`trueboolEnables exposing the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.multicast.group`N/AlongIP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element).
`hazelcast.multicast.socket.set.interface`N/AlongAllows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called.
`hazelcast.network.stats.refresh.interval.seconds`3intInterval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-manage/partition-groups-and-networking/network-configuration.mdx) is used.
`hazelcast.nio.tcp.spoofing.checks`falseboolControls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed under NAT'ed infrastructure.
`hazelcast.operation.backup.timeout.millis`5000intMaximum time a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even no backup response is received.
`hazelcast.operation.call.timeout.millis`60000intTimeout to wait for a response when a remote call is sent, in milliseconds.
`hazelcast.operation.fail.on.indeterminate.state`falseboolWhen enabled, an operation fails with `IndeterminateOperationStateException`, if it does not receive backup acks in time with respect to backup configuration of its data structure, or the member which owns primary replica of the target partition leaves the cluster.
`hazelcast.operation.generic.thread.count`2intNumber of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`.
`hazelcast.operation.priority.generic.thread.count`1intNumber of priority generic operation handler threads per member. Having at least 1 priority generic operation thread helps to improve cluster stability since a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations don't get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least 1 thread.
`hazelcast.operation.response.thread.count`2intNumber of threads the process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput.
`hazelcast.operation.responsequeue.idlestrategy`blockstringSpecifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance.
`hazelcast.operation.thread.count`2intNumber of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors.
`hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds`5intTimeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters.
`hazelcast.partial.member.disconnection.resolution.heartbeat.count`0intWhen the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds to allow other members to report their problems, if there is any. This property sets the number of these rounds.
`hazelcast.partition.backup.sync.interval`30intInterval for syncing backup replicas in seconds.
`hazelcast.partition.count`271intTotal partition count.
`hazelcast.partition.max.parallel.migrations`10intMaximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups.
`hazelcast.partition.max.parallel.replications`10intMaximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups.
`hazelcast.partition.migration.chunks.enabled`trueboolSubdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations.
`hazelcast.partition.migration.chunks.max.migrating.data.in.mb`250intLimits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value.
`hazelcast.partition.migration.fragments.enabled`trueboolWhen enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete.
`hazelcast.partition.migration.interval`0intInterval to run partition migration tasks in seconds.
`hazelcast.partition.migration.stale.read.disabled`falseboolHazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed.
`hazelcast.partition.migration.timeout`300intTimeout for partition migration tasks in seconds.
`hazelcast.partition.table.send.interval`15intInterval for publishing partition table periodically to all cluster members in seconds.
`hazelcast.partitioning.strategy.class`stringClass name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping.
`hazelcast.persistence.auto.cluster.state`trueboolEnables/disables [automatic state management](../develop-build/kubernetes/kubernetes-auto-discovery.mdx#running-hazelcast-enterprise-with-persistence-under-kubernetes) of clusters in Kubernetes Statefulset, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions.
`hazelcast.persistence.auto.cluster.state.strategy`string`NO_MIGRATION`Selects the [cluster state](../develop-build/kubernetes/kubernetes-auto-discovery.mdx#configuration) to be used when members are temporarily missing from a cluster in Kubernetes Statefulset which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`.
`hazelcast.phone.home.enabled`trueboolEnable or disable the sending of phone home data to Hazelcast's phone home server.
`hazelcast.prefer.ipv4.stack`trueboolPrefer IPv4 network interface when picking a local address.
`hazelcast.query.max.local.partition.limit.for.precheck`3intMaximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps.
`hazelcast.query.optimizer.type`RULESStringType of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`.
`hazelcast.query.predicate.parallel.evaluation`falseboolEach Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications overweight can benefit from parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member.
`hazelcast.query.result.size.limit`-1intResult size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit.
`hazelcast.security.recommendations`nullstringWhen set to any non-null value, security recommendations are logged at the `INFO` level during the member startup.
`hazelcast.serialization.compact.allowlist.classes`stringComma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty.
`hazelcast.serialization.compact.allowlist.packages`stringComma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.allowlist.prefixes`stringComma-separated list of class-name prefixes to allow for ZCCS.
`hazelcast.serialization.compact.blocklist.classes`stringComma-separated list of fully qualified class names to block from ZCCS. Default is empty.
`hazelcast.serialization.compact.blocklist.defaults`trueboolControls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options.
`hazelcast.serialization.compact.blocklist.packages`stringComma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.blocklist.prefixes`stringComma-separated list of class-name prefixes to block from ZCCS.
`hazelcast.serialization.version`longVersion of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version.
`hazelcast.shutdownhook.enabled`trueboolEnables/disables Hazelcast shutdownhook thread. When enabled, the shutdown action is determined according to the value of [`hazelcast.shutdownhook.policy`](#hazelcast.shutdownhook.policy).
`hazelcast.shutdownhook.policy`TERMINATEstring - -Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. +## Networking and I/O + +These properties control sockets, I/O threads, and the network addresses that members use: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.internal.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on member. | +| `hazelcast.internal.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.io.balancer.interval.seconds` | 20 | `int` | Interval in seconds between IOBalancer executions. | +| `hazelcast.io.input.thread.count` | 3 | `int` | Number of socket input threads. | +| `hazelcast.io.output.thread.count` | 3 | `int` | Number of socket output threads. | +| `hazelcast.io.thread.count` | 3 | `int` | Number of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are three threads performing input and three threads performing output (six threads in total). | +| `hazelcast.io.write.through` | `true` | `bool` | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. | +| `hazelcast.local.localAddress` | | `string` | It overrides the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to. | +| `hazelcast.local.publicAddress` | | `string` | It overrides the default public address to be advertised to other cluster members and clients. | +| `hazelcast.network.stats.refresh.interval.seconds` | 3 | `int` | Interval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-manage/partition-groups-and-networking/network-configuration.mdx) is used. | +| `hazelcast.nio.tcp.spoofing.checks` | `false` | `bool` | Controls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed behind NAT. | +| `hazelcast.prefer.ipv4.stack` | `true` | `bool` | Prefer IPv4 network interface when picking a local address. | +| `hazelcast.socket.bind.any` | `true` | `bool` | Bind both server-socket and client-sockets to any local interface. | +| `hazelcast.socket.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` instead of `ByteBuffer.allocate`. This method makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See the [`ByteBuffer` Javadoc](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information. | +| `hazelcast.socket.client.bind` | `true` | `bool` | Bind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface. | +| `hazelcast.socket.client.bind.any` | `true` | `bool` | Bind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `hazelcast.socket.client.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one. | +| `hazelcast.socket.client.receive.buffer.size` | -1 | `int` | Hazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.client.send.buffer.size` | -1 | `int` | Hazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.connect.timeout.seconds` | 10 | `int` | Socket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite. | +| `hazelcast.socket.keep.alive` | `true` | `bool` | Sets a socket to be in the `SO_KEEPALIVE` option. | +| `hazelcast.socket.linger.seconds` | 0 | `int` | Sets the linger value (timeout) for a socket in the `SO_LINGER` option. | +| `hazelcast.socket.no.delay` | `true` | `bool` | Specifies whether the delay of sending successive small packets on the network is disabled. | +| `hazelcast.socket.receive.buffer.size` | 128 | `int` | Socket receive buffer (`SO_RCVBUF`) size in KB. If you have a fast network (e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below to tune the size. | +| `hazelcast.socket.send.buffer.size` | 128 | `int` | Socket send buffer (`SO_SNDBUF`) size in KB. | +| `hazelcast.socket.server.bind.any` | `true` | `bool` | Bind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `tcp.channels.per.connection` | 1 | `int` | Number of parallel connections between members. Not having more connections than IO threads is recommended. | + +## Client connections + +These properties control how members handle client connections: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.client.cleanup.period.millis` | 10000 | `int` | Period, in milliseconds, to check if a client is still part of the cluster. | +| `hazelcast.client.cleanup.timeout.millis` | 120000 | `int` | Timeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client. | +| `hazelcast.client.internal.skip.cluster.namecheck.during.connection` | `false` | `bool` | Allows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication. | +| `hazelcast.client.max.no.heartbeat.seconds` | 300 | `int` | Time after which the member assumes the client is dead and closes its connections to the client. | +| `hazelcast.client.protocol.max.message.bytes` | 1024 | `int` | Client protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message. | +| `hazelcast.client.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on client. | +| `hazelcast.client.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.clientengine.blocking.thread.count` | -1 | `int` | Number of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20. | +| `hazelcast.clientengine.query.thread.count` | | `int` | Number of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1. | +| `hazelcast.clientengine.thread.count` | | `int` | Maximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20. | + +## Operations, invocations, and events + +These properties control operation threads, invocation retries, backpressure, and event delivery: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.backpressure.backoff.timeout.millis` | 60000 | `int` | Controls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0. | +| `hazelcast.backpressure.enabled` | `false` | `bool` | Enable back pressure. | +| `hazelcast.backpressure.max.concurrent.invocations.per.partition` | 100 | `int` | The maximum number of concurrent invocations per partition. | +| `hazelcast.backpressure.syncwindow` | 1000 | `string` | Used when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup. | +| `hazelcast.event.queue.capacity` | 1000000 | `int` | Capacity of internal event queue. | +| `hazelcast.event.queue.timeout.millis` | 250 | `int` | Timeout to enqueue events to event queue. | +| `hazelcast.event.sync.timeout.millis` | 5000 | `int` | To prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled increase in the size of the outbound write queue of the connection. | +| `hazelcast.event.thread.count` | 5 | `int` | Number of event handler threads. | +| `hazelcast.invocation.max.retry.count` | 250 | `int` | Maximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed. | +| `hazelcast.invocation.retry.pause.millis` | 500 | `int` | Pause time between each retry cycle of an invocation in milliseconds. | +| `hazelcast.operation.backup.timeout.millis` | 5000 | `int` | Maximum time for a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even if no backup response is received. | +| `hazelcast.operation.call.timeout.millis` | 60000 | `int` | Timeout to wait for a response when a remote call is sent, in milliseconds. | +| `hazelcast.operation.fail.on.indeterminate.state` | `false` | `bool` | When enabled, an operation fails with `IndeterminateOperationStateException` if it does not receive backup acks in time with respect to backup configuration of its data structure. It also fails if the member which owns primary replica of the target partition leaves the cluster. | +| `hazelcast.operation.generic.thread.count` | 2 | `int` | Number of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`. | +| `hazelcast.operation.priority.generic.thread.count` | 1 | `int` | Number of priority generic operation handler threads per member. Having at least one priority generic operation thread helps to improve cluster stability. This is because a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations do not get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least one thread. | +| `hazelcast.operation.response.thread.count` | 2 | `int` | Number of threads that process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput. | +| `hazelcast.operation.responsequeue.idlestrategy` | `block` | `string` | Specifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance. | +| `hazelcast.operation.thread.count` | 2 | `int` | Number of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors. | + +## Partitions and migration + +These properties control partitions and how members migrate them: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.partition.backup.sync.interval` | 30 | `int` | Interval for syncing backup replicas in seconds. | +| `hazelcast.partition.count` | 271 | `int` | Total partition count. | +| `hazelcast.partition.max.parallel.migrations` | 10 | `int` | Maximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups. | +| `hazelcast.partition.max.parallel.replications` | 10 | `int` | Maximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups. | +| `hazelcast.partition.migration.chunks.enabled` | `true` | `bool` | Subdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations. | +| `hazelcast.partition.migration.chunks.max.migrating.data.in.mb` | 250 | `int` | Limits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value. | +| `hazelcast.partition.migration.fragments.enabled` | `true` | `bool` | When enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete. | +| `hazelcast.partition.migration.interval` | 0 | `int` | Interval to run partition migration tasks in seconds. | +| `hazelcast.partition.migration.stale.read.disabled` | `false` | `bool` | Hazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed. | +| `hazelcast.partition.migration.timeout` | 300 | `int` | Timeout for partition migration tasks in seconds. | +| `hazelcast.partition.table.send.interval` | 15 | `int` | Interval for publishing partition table periodically to all cluster members in seconds. | +| `hazelcast.partitioning.strategy.class` | | `string` | Class name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping. | + +## Maps, caches, and Near Cache + +These properties control maps, caches, Near Cache invalidation, locks, and the event journal: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cache.invalidation.batch.enabled` | `true` | `bool` | Specifies whether the cache invalidation event batch sending is enabled or not. | +| `hazelcast.cache.invalidation.batch.size` | 100 | `int` | Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch. | +| `hazelcast.cache.invalidation.batchfrequency.seconds` | 5 | `int` | Defines cache invalidation event batch sending frequency in seconds. | +| `hazelcast.concurrent.window.ms` | 100 | `int` | Property needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it keeps that way. Setting it too low could lead to suboptimal performance because the system tries write through and other optimizations even though the system is concurrent. | +| `hazelcast.internal.map.expiration.cleanup.operation.count` | N/A | `int` | Count of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count. | +| `hazelcast.internal.map.expiration.cleanup.percentage` | 10 | `int` | Scannable percentage of the entries in the maps' partitions in each run of the background expiration task. | +| `hazelcast.internal.map.expiration.task.period.seconds` | 5 | `int` | Interval, in seconds, at which the background expiration task is going to run. | +| `hazelcast.internal.map.expired.key.scan.timeout.nanos` | 1000000 | `int` | Timeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size increases. | +| `hazelcast.invalidation.max.tolerated.miss.count` | 10 | `int` | If missed invalidation count is bigger than this value, relevant cached data is made unreachable. | +| `hazelcast.invalidation.reconciliation.interval.seconds` | 60 | `int` | Period for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache. | +| `hazelcast.jcache.provider.type` | | `string` | Type of the JCache provider. Values can be `client` or `server`. | +| `hazelcast.lock.max.lease.time.seconds` | `Long.MAX_VALUE` | `long` | All locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value. | +| `hazelcast.map.entry.filtering.natural.event.types` | `false` | `bool` | Notify [entry listeners with predicates](../develop-build/distributed-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space. | +| `hazelcast.map.eviction.batch.size` | 1 | `int` | Maximum number of IMap entries Hazelcast evicts during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted. | +| `hazelcast.map.eviction.sample.count` | 15 | `int` | Count of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction. | +| `hazelcast.map.expiry.delay.seconds` | 10 | `int` | Delays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas. | +| `hazelcast.map.invalidation.batch.enabled` | `true` | `bool` | Enable or disable batching. When it is set to `false`, all invalidations are sent immediately. | +| `hazelcast.map.invalidation.batch.size` | 100 | `int` | Maximum number of invalidations in a batch. | +| `hazelcast.map.invalidation.batchfrequency.seconds` | 10 | `int` | If the collected invalidations do not reach the configured batch size, a background process sends them at this interval. | +| `hazelcast.map.load.chunk.size` | 1000 | `int` | Maximum size of the key batch sent to the partition owners for value loading. This is also the maximum size of a key batch for which values are loaded in a single partition. | +| `hazelcast.map.loaded.key.limit.per.node` | 50000 | `int` | Maximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member. | +| `hazelcast.map.replica.scheduled.task.delay.seconds` | 10 | `int` | Scheduler delay for map tasks that are executed on backup members. | +| `hazelcast.map.write.behind.queue.capacity` | 50000 | `string` | Maximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element. | + +## Queries and indexes + +These properties control query execution, aggregations, and indexes: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.aggregation.accumulation.parallel.evaluation` | `true` | `bool` | Specifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel. | +| `hazelcast.hd.global.index.enabled` | `true` | `bool` | Specifies whether the global concurrent High-Density Memory Store indexes are enabled or not. | +| `hazelcast.index.copy.behavior` | `COPY_ON_READ` | `string` | Defines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-build/improving-query-performance/indexing-maps.mdx#copying-indexes). | +| `hazelcast.query.max.local.partition.limit.for.precheck` | 3 | `int` | Maximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps. | +| `hazelcast.query.optimizer.type` | `RULES` | `string` | Type of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`. | +| `hazelcast.query.predicate.parallel.evaluation` | `false` | `bool` | Each Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications outweighs the benefit of parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member. | +| `hazelcast.query.result.size.limit` | -1 | `int` | Result size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit. | + +## Diagnostics, metrics, and logging + +The properties in this section control diagnostics, health monitoring, slow operation detection, metrics, and logging. + +### Diagnostics log + +These properties control the diagnostics log. :::note -Always shutdown Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It's not recommended to rely on the shutdown hook, this is a last-effort measure. +For detailed information about the diagnostic tool and the diagnostics properties, see the [Diagnostics section](../operate-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). ::: -
`hazelcast.slow.operation.detector.enabled`trueboolEnables/disables the [SlowOperationDetector](../develop-build/best-practices/overview.mdx).
`hazelcast.slow.operation.detector.log.purge.interval.seconds`300intPurge interval for slow operation logs.
`hazelcast.slow.operation.detector.log.retention.seconds`3600intDefines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted.
`hazelcast.slow.operation.detector.stacktrace.logging.enabled`falseboolDefines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small.
`hazelcast.slow.operation.detector.threshold.millis`10000intDefines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace.
`hazelcast.socket.bind.any`trueboolBind both server-socket and client-sockets to any local interface.
`hazelcast.socket.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` (instead of `ByteBuffer.allocate`) which makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See [here](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information.
`hazelcast.socket.client.bind`trueboolBind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface.
`hazelcast.socket.client.bind.any`trueboolBind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.socket.client.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one.
`hazelcast.socket.client.receive.buffer.size`-1intHazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.client.send.buffer.size`-1intHazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.connect.timeout.seconds`10intSocket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite.
`hazelcast.socket.keep.alive`trueboolSets a socket to be in the `SO_KEEPALIVE` option.
`hazelcast.socket.linger.seconds`0intSets the linger value (timeout) for a socket in the `SO_LINGER` option.
`hazelcast.socket.no.delay`trueboolSpecifies whether the delay of sending successive small packets on the network is disabled.
`hazelcast.socket.receive.buffer.size`128intSocket receive buffer (`SO_RCVBUF`) size in KB. If you have a very fast network, e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below tune the size.
`hazelcast.socket.send.buffer.size`128intSocket send buffer (`SO_SNDBUF`) size in KB.
`hazelcast.socket.server.bind.any`trueboolBind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.tcp.join.port.try.count`3intThe number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host (which is defined without a port in TCP/IP member list while a member is searching for a cluster).
`hazelcast.tcp.join.previously.joined.member.address.retention.seconds`14400intSpecifies how long the address of a member that has previously joined the cluster will be retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, this member addresses is used to discover the other cluster by the split-brain handler.
`hazelcast.wait.seconds.before.join`5intWait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request (i.e., where the member hasn't made any previous join request), or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.wan.consumer.ack.delay.backoff.init`1intDefines the initial backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.max`100intDefines the maximum backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.multiplier`1.5DstringDefines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled
`hazelcast.wan.consumer.invocation.threshold`50000intDefines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member to delay the WAN acknowledgment, thus slowing down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature.
`hazelcast.wan.replicate.imap.evictions`falseboolSpecifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`hazelcast.wan.replicate.icache.evictions`falseboolSpecifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`tcp.channels.per.connection`1intNumber of parallel connections between members. Not having more connections than IO threads is recommended.
`hazelcast.async.join.strategy.enabled`trueboolControls the behaviour of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members will return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members will behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters.
+The diagnostics properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.diagnostics.directory` | `user.dir` | `string` | Output directory of the diagnostic log files. | +| `hazelcast.diagnostics.enabled` | `false` | `bool` | Specifies whether diagnostics tool is enabled or not for the cluster. | +| `hazelcast.diagnostics.filename.prefix` | | `string` | Optional prefix for the diagnostics log file. | +| `hazelcast.diagnostics.invocation.sample.period.seconds` | 0 | `long` | Frequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled. | +| `hazelcast.diagnostics.invocation.slow.threshold.seconds` | 5 | `long` | Threshold period, in seconds, that makes an invocation to be considered as slow. | +| `hazelcast.diagnostics.max.rolled.file.count` | 10 | `int` | Allowed count of diagnostic files within each roll. | +| `hazelcast.diagnostics.max.rolled.file.size.mb` | 50 | `int` | Size of each diagnostic file to be rolled. | +| `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage` | 100 | `int` | Maximum allowed deviation for member-to-member heartbeats. | +| `hazelcast.diagnostics.member-heartbeat.period.seconds` | 10 | `long` | Period for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.memberinfo.period.seconds` | 60 | `long` | Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file. | +| `hazelcast.diagnostics.metrics.period.seconds` | 60 | `long` | Frequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file. | +| `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage` | 33 | `int` | Maximum allowed deviation for member-to-member operation heartbeats. | +| `hazelcast.diagnostics.operation-heartbeat.seconds` | 10 | `long` | Period, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.pending.invocations.period.seconds` | 0 | `long` | Period, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.slowoperations.period.seconds` | 60 | `long` | Period, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.stdout` | `FILE` | `string` | Configures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`. | +| `hazelcast.diagnostics.storeLatency.period.seconds` | 0 | `long` | Period, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.storeLatency.reset.period.seconds` | 0 | `long` | Period, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool. | +| `hazelcast.diagnostics.systemlog.enabled` | `true` | `bool` | Specifies whether the SystemLog plugin of the diagnostics tool is enabled or not. | +| `hazelcast.diagnostics.systemlog.partitions` | `false` | `bool` | Specifies whether the SystemLog plugin collects information about partition migrations. | + +### Health monitoring + +These properties control the health monitor: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.health.monitoring.delay.seconds` | 20 | `int` | Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). | +| `hazelcast.health.monitoring.level` | `SILENT` | `string` | Health monitoring log level. When `SILENT`, logs are printed only when values exceed some predefined threshold. When `NOISY`, logs are always printed periodically. Set `OFF` to turn off completely. | +| `hazelcast.health.monitoring.threshold.cpu.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the CPU usage exceeds this threshold. | +| `hazelcast.health.monitoring.threshold.memory.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the memory usage exceeds this threshold. | + +### Slow operation detector + +These properties control the slow operation detector: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.slow.operation.detector.enabled` | `true` | `bool` | Enables/disables the [SlowOperationDetector](../develop-build/best-practices/overview.mdx). | +| `hazelcast.slow.operation.detector.log.purge.interval.seconds` | 300 | `int` | Purge interval for slow operation logs. | +| `hazelcast.slow.operation.detector.log.retention.seconds` | 3600 | `int` | Defines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted. | +| `hazelcast.slow.operation.detector.stacktrace.logging.enabled` | `false` | `bool` | Defines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small. | +| `hazelcast.slow.operation.detector.threshold.millis` | 10000 | `int` | Defines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. | + +### Metrics, JMX, and Management Center + +These properties control metrics collection, JMX, and the data that members send to Management Center: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jmx` | `false` | `bool` | Enable [JMX](../operate-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. | +| `hazelcast.jmx.update.interval.seconds` | 5 | `int` | Some JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale. | +| `hazelcast.mc.executor.thread.count` | 2 | `int` | Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance. | +| `hazelcast.mc.max.visible.slow.operations.count` | 10 | `int` | Management Center maximum visible slow operations count. | +| `hazelcast.metrics.collection.frequency` | 5 | `int` | Frequency, in seconds, of the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.datastructures.enabled` | `true` | `bool` | Specifies whether collecting metrics from the distributed data structures is enabled. | +| `hazelcast.metrics.debug.enabled` | `false` | `bool` | Enables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only. | +| `hazelcast.metrics.enabled` | `true` | `bool` | Enables the [metrics collection](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.jmx.enabled` | `true` | `bool` | Enables exposing the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.enabled` | `true` | `bool` | Enables buffering the collected [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.retention` | 5 | `int` | Duration, in seconds, that the [metrics](../operate-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-manage/maintaining-a-cluster/monitoring.mdx#configuration). | + +### Logging + +These properties control logging: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.logging.details.enabled` | `true` | `bool` | Specifies whether the cluster name, IP and version should be included in all log messages. | +| `hazelcast.logging.emoji.enabled` | `false` | `bool` | Specifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging. | +| `hazelcast.logging.type` | `jdk` | `enum` | Name of [logging](../operate-manage/logging.mdx) framework type to send logging events. | + +## Persistence and native memory + +These properties control Persistence and native memory: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.hidensity.check.freememory` | `true` | `bool` | If enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded. | +| `hazelcast.hotrestart.free.native.memory.percentage` (deprecated) | 15 | `long` | Percentage of the free memory space that is required for [Persistence](../operate-manage/configuring-for-fault-tolerance/persistence/persistence.mdx). | +| `hazelcast.persistence.auto.cluster.state` | `true` | `bool` | Enables/disables [automatic state management](../develop-build/kubernetes/kubernetes-auto-discovery.mdx#running-hazelcast-enterprise-with-persistence-under-kubernetes) of clusters in Kubernetes StatefulSet, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions. | +| `hazelcast.persistence.auto.cluster.state.strategy` | `NO_MIGRATION` | `string` | Selects the [cluster state](../develop-build/kubernetes/kubernetes-auto-discovery.mdx#configuration) to be used when members are temporarily missing from a cluster in Kubernetes StatefulSet which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`. | + +## Jet + +These properties control the Jet engine, which runs data pipelines and jobs: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jet.custom.lib.dir` | `custom-lib` | `string` | The directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline. | +| `hazelcast.jet.idle.cooperative.max.microseconds` | 500 | `int` | The maximum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.cooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit throughput. | +| `hazelcast.jet.idle.noncooperative.max.microseconds` | 5000 | `int` | The maximum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.noncooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.job.results.max.size` | 1000 | `int` | Maximum number of job results to keep in the cluster; the oldest results are automatically deleted after this size is reached. | +| `hazelcast.jet.job.results.ttl.seconds` | 604800 | `int` | Maximum amount of time in seconds the job results are kept in the cluster. They are automatically deleted after this period is reached. | +| `hazelcast.jet.job.scan.period` | 5000 | `int` | The Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds. | + +## WAN replication + +These properties control WAN replication: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.wan.consumer.ack.delay.backoff.init` | 1 | `int` | Defines the initial backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.max` | 100 | `int` | Defines the maximum backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.multiplier` | `1.5D` | `string` | Defines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.invocation.threshold`| 50000 | `int` | Defines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member delay the WAN acknowledgment. This slows down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature. | +| `hazelcast.wan.replicate.icache.evictions` | `false` | `bool` | Specifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | +| `hazelcast.wan.replicate.imap.evictions` | `false` | `bool` | Specifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | + +## Configuration and security + +These properties control configuration loading, licensing, security checks, and phone home: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.config.instance.tracking.file` | | `string` | The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking). | +| `hazelcast.data.search.dynamic.config.first.enabled` | `false` | `bool` | Enables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations. | +| `hazelcast.dynamicconfig.ignore.conflicts` | | `bool` | When it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it throws an exception regardless of this property. | +| `hazelcast.enterprise.license.key` | `null` | `string` | [Hazelcast Enterprise](https://hazelcast.com/products/) license key. | +| `hazelcast.ignoreXxeProtectionFailures` | `false` | `bool` | If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. | +| `hazelcast.phone.home.enabled` | `true` | `bool` | Enable or disable the sending of phone home data to Hazelcast's phone home server. | +| `hazelcast.security.recommendations` | `null` | `string` | When set to any non-null value, security recommendations are logged at the `INFO` level during the member startup. | + +## Serialization + +These properties control serialization, including the filter for zero-config Compact serialization: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.serialization.compact.allowlist.classes` | | `string` | Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. | +| `hazelcast.serialization.compact.allowlist.packages` | | `string` | Comma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.allowlist.prefixes` | | `string` | Comma-separated list of class-name prefixes to allow for ZCCS. | +| `hazelcast.serialization.compact.blocklist.classes` | | `string` | Comma-separated list of fully qualified class names to block from ZCCS. Default is empty. | +| `hazelcast.serialization.compact.blocklist.defaults` | `true` | `bool` | Controls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options. | +| `hazelcast.serialization.compact.blocklist.packages` | | `string` | Comma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.blocklist.prefixes` | | `string` | Comma-separated list of class-name prefixes to block from ZCCS. | +| `hazelcast.serialization.version` | | `long` | Version of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version. | diff --git a/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx b/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx index cdb5e660..77c0a90f 100644 --- a/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx +++ b/hazelcast_versioned_docs/version-5.5/clients-and-apis/clients/java.mdx @@ -2184,7 +2184,7 @@ It has two configuration properties: :::note -The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-max-no), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. +The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-connections), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. ::: diff --git a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/predicate-overview.mdx b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/predicate-overview.mdx index 265be711..57971bef 100644 --- a/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/predicate-overview.mdx +++ b/hazelcast_versioned_docs/version-5.5/develop-and-build/sql/predicate-overview.mdx @@ -367,7 +367,7 @@ The query-orchestrating thread uses the threads from the query-thread pool in th - if you run a `PagingPredicate` (since each page runs as a separate task) - if you set the system property `hazelcast.query.predicate.parallel.evaluation` to true (since the predicates are evaluated in parallel) -See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#parallel-predicates) for information about paging predicates and for description of the above system property. +See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#queries-and-indexes) for information about paging predicates and for description of the above system property. Below is an example of that declarative configuration. diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx index 9a848a3a..5d00a660 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx @@ -107,4 +107,4 @@ MapConfig sessionsWithoutBackup = new MapConfig("sessions").setBackupCount(0); instance.getConfig().addMapConfig(sessionsWithoutBackup); ``` -To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#ignore-dynamic-conf-conflicts) system property to `true`. +To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#configuration-and-security) system property to `true`. diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx index d1b24d92..cf39edb4 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx @@ -22,8 +22,8 @@ After the merging side is decided, the oldest cluster member of the merging side :::note -- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-check-interval). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-first-check) seconds after the startup. -- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#tcp-try-count). +- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery) seconds after the startup. +- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#cluster-formation-and-joining). - Only the master member searches for other clusters for possible split-brain situations. - The split-brain recovery process initiates when the master member of smaller cluster detects that of the larger cluster. However, if the master of larger cluster communicates with that of the smaller cluster, and not the other way around, the recovery process cannot commence. diff --git a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/shutdown.mdx b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/shutdown.mdx index 274a9871..8ba876d1 100644 --- a/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/shutdown.mdx +++ b/hazelcast_versioned_docs/version-5.5/operate-and-manage/maintaining-a-cluster/shutdown.mdx @@ -83,7 +83,7 @@ When you gracefully shut down a member, it allows a Hazelcast cluster to migrate During a graceful shutdown the oldest cluster member (master member) migrates all the replicas owned by the shutdown-requesting member to the other running cluster members. -While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#hazelcast.graceful.shutdown.max.wait). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. +While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. :::note @@ -137,9 +137,9 @@ Execute the `stop.sh` script in your member's `bin` directory. This option releases most of the member's used resources. -If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.enabled) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. +If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. -If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.policy) to `GRACEFUL` your member will be gracefully shutdown. +If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `GRACEFUL` your member will be gracefully shutdown. diff --git a/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx index d78c0d38..80b81ce6 100644 --- a/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.5/reference/system-properties.mdx @@ -1,10 +1,10 @@ --- -title: "System Properties" +title: "System properties" sidebar_position: 2 slug: /system-properties --- -The table below lists the system properties with their descriptions in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. +This page lists the system properties, grouped by area. Within each section, the properties are in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. :::note @@ -12,1299 +12,366 @@ When you want to reconfigure a system property, you need to [restart](../operate ::: - ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property NameDefault ValueTypeDescription
`hazelcast.aggregation.accumulation.parallel.evaluation`trueboolSpecifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel.
`hazelcast.backpressure.backoff.timeout.millis`60000intControls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0.
`hazelcast.backpressure.enabled`falseboolEnable back pressure.
`hazelcast.backpressure.max.concurrent.invocations.per.partition`100intThe maximum number of concurrent invocations per partition.
`hazelcast.backpressure.syncwindow`1000stringUsed when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup.
`hazelcast.cache.invalidation.batch.enabled`trueboolSpecifies whether the cache invalidation event batch sending is enabled or not.
`hazelcast.cache.invalidation.batch.size`100intDefines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
`hazelcast.cache.invalidation.batchfrequency.seconds`5intDefines cache invalidation event batch sending frequency in seconds.
`hazelcast.client.cleanup.period.millis`10000intPeriod, in milliseconds, to check if a client is still part of the cluster.
`hazelcast.client.cleanup.timeout.millis`120000intTimeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client.
`hazelcast.client.max.no.heartbeat.seconds`300intTime after which the member assumes the client is dead and closes its connections to the client.
`hazelcast.client.internal.skip.cluster.namecheck.during.connection`falseboolAllows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication.
`hazelcast.client.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on client.
`hazelcast.client.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.client.protocol.max.message.bytes`1024intClient protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message.
`hazelcast.clientengine.blocking.thread.count`-1intNumber of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20.
`hazelcast.clientengine.query.thread.count`intNumber of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1.
`hazelcast.clientengine.thread.count`intMaximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20.
`hazelcast.cluster.shutdown.timeout.seconds`900intOnce a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator will give up and shut itself down regardless.
`hazelcast.cluster.version.auto.upgrade.enabled`falseboolSpecifies whether the automatic cluster version upgrading is enabled.
`hazelcast.cluster.version.auto.upgrade.min.cluster.size`1intWhen set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed.
`hazelcast.concurrent.window.ms`100intProperty needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it will keep that way. Setting it too low could lead to suboptimal performance because the system will try write through and other optimizations even though the system is concurrent.
`hazelcast.config.instance.tracking.file`stringThe JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking)
`hazelcast.connect.all.wait.seconds`120intTimeout to connect all other cluster members when a member is joining to a cluster.
`hazelcast.connection.monitor.interval`100intMinimum interval in milliseconds to consider a connection error as critical.
`hazelcast.connection.monitor.max.faults`3intMaximum I/O error count before disconnecting from a member.
`hazelcast.data.search.dynamic.config.first.enabled`falseboolEnables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations.
`hazelcast.diagnostics.directory``user.dir`string - -Output directory of the diagnostic log files. +## Cluster formation and joining -:::note +These properties control how members discover each other and join a cluster: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.async.join.strategy.enabled` | `true` | `bool` | Controls the behavior of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters. | +| `hazelcast.connect.all.wait.seconds` | 120 | `int` | Timeout to connect all other cluster members when a member is joining a cluster. | +| `hazelcast.discovery.enabled` | `false` | `bool` | Enables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information. | +| `hazelcast.discovery.public.ip.enabled` | `false` | `bool` | Enable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members. They are discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address). | +| `hazelcast.initial.min.cluster.size` | 0 | `int` | Initial expected cluster size to wait before the member starts completely. | +| `hazelcast.initial.wait.seconds` | 0 | `int` | Initial time in seconds to wait before the member starts completely. | +| `hazelcast.mastership.claim.timeout.seconds` | 120 | `int` | The timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member is removed from the member list. | +| `hazelcast.max.join.merge.target.seconds` | 20 | `int` | Split-brain merge timeout for a specific target. | +| `hazelcast.max.join.seconds` | 300 | `int` | Join timeout, maximum time to try to join before giving up. | +| `hazelcast.max.wait.seconds.before.join` | 20 | `int` | Maximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request. It ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase. During the join phase, it only admits members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master again starts admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | +| `hazelcast.member.list.publish.interval.seconds` | 60 | `int` | Interval at which master member publishes a member list. | +| `hazelcast.member.naming.moby.enabled` | `true` | `bool` | Defines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided. | +| `hazelcast.multicast.group` | N/A | `long` | IP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element). | +| `hazelcast.multicast.socket.set.interface` | N/A | `long` | Allows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called. | +| `hazelcast.tcp.join.port.try.count` | 3 | `int` | The number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host. This applies to a host that is defined without a port in the TCP/IP member list, while a member is searching for a cluster. | +| `hazelcast.tcp.join.previously.joined.member.address.retention.seconds` | 14400 | `int` | Specifies how long the address of a member that has previously joined the cluster is retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, these member addresses are used to discover the other cluster by the split-brain handler. | +| `hazelcast.wait.seconds.before.join` | 5 | `int` | Wait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. A first-timer join request is one from a member that has not made any previous join request. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request, or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | + +## Failure detection and split-brain recovery + +These properties control how members detect failed members, and when a cluster checks for a split-brain to merge: -For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connection.monitor.interval` | 100 | `int` | Minimum interval in milliseconds to consider a connection error as critical. | +| `hazelcast.connection.monitor.max.faults` | 3 | `int` | Maximum I/O error count before disconnecting from a member. | +| `hazelcast.heartbeat.failuredetector.type` | `deadline` | `string` | Type of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx). | +| `hazelcast.heartbeat.interval.seconds` | 5 | `int` | Heartbeat send interval in seconds. | +| `hazelcast.max.no.heartbeat.seconds` | 60 | `int` | Maximum timeout of heartbeat in seconds for a member to assume it is dead. | +| `hazelcast.merge.first.run.delay.seconds` | 300 | `int` | Initial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.merge.next.run.delay.seconds` | 120 | `int` | Run interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds` | 5 | `int` | Timeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters. | +| `hazelcast.partial.member.disconnection.resolution.heartbeat.count` | 0 | `int` | When the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds. This allows other members to report their problems, if there are any. This property sets the number of these rounds. | + +:::warning + +Setting `hazelcast.max.no.heartbeat.seconds` too low may cause members to be evicted from the cluster when they are under heavy load. These members are unable to send heartbeat operations in time, and other members assume that they are dead. ::: -
`hazelcast.diagnostics.enabled`falseboolSpecifies whether diagnostics tool is enabled or not for the cluster.
`hazelcast.diagnostics.filename.prefix`stringOptional prefix for the diagnostics log file.
`hazelcast.diagnostics.invocation.sample.period.seconds`0longFrequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled.
`hazelcast.diagnostics.invocation.slow.threshold.seconds`5longThreshold period, in seconds, that makes an invocation to be considered as slow.
`hazelcast.diagnostics.max.rolled.file.count`10intAllowed count of diagnostic files within each roll.
`hazelcast.diagnostics.max.rolled.file.size.mb`50intSize of each diagnostic file to be rolled.
`hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`100intMaximum allowed deviation for a member-to-member heartbeats.
`hazelcast.diagnostics.member-heartbeat.period.seconds`10longPeriod for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.memberinfo.period.seconds`60longFrequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
`hazelcast.diagnostics.metrics.period.seconds`60longFrequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file.
`hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`33intMaximum allowed deviation for a member-to-member operation heartbeats.
`hazelcast.diagnostics.operation-heartbeat.seconds`10longPeriod, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.pending.invocations.period.seconds`0longPeriod, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.stdout``FILE`stringConfigures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`.
`hazelcast.diagnostics.slowoperations.period.seconds`60longPeriod, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.period.seconds`0longPeriod, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.reset.period.seconds`0longPeriod, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool.
`hazelcast.diagnostics.systemlog.enabled`trueboolSpecifies whether the SystemLog plugin of the diagnostics tool is enabled or not.
`hazelcast.diagnostics.systemlog.partitions`falseboolSpecifies whether the SystemLog plugin collects information about partition migrations.
`hazelcast.discovery.enabled`falseboolEnables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information.
`hazelcast.discovery.public.ip.enabled`falseboolEnable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members since they will be discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address).
`hazelcast.dynamicconfig.ignore.conflicts`boolWhen it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it will throw an exception regardless this property.
`hazelcast.enterprise.license.key`nullstring[Hazelcast Enterprise](https://hazelcast.com/products/) license key.
`hazelcast.event.queue.capacity`1000000intCapacity of internal event queue.
`hazelcast.event.queue.timeout.millis`250intTimeout to enqueue events to event queue.
`hazelcast.event.sync.timeout.millis`5000intTo prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled growth of the outbound write queue of the connection.
`hazelcast.event.thread.count`5intNumber of event handler threads.
`hazelcast.graceful.shutdown.max.wait`600intMaximum wait in seconds during graceful shutdown.
`hazelcast.hd.global.index.enabled`trueboolSpecifies whether the global concurrent High-Density Memory Store indexes are enabled or not.
`hazelcast.health.monitoring.delay.seconds`20intHealth monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring).
`hazelcast.health.monitoring.level`SILENTstringHealth monitoring log level. When **SILENT**, logs are printed only when values exceed some predefined threshold. When **NOISY**, logs are always printed periodically. Set **OFF** to turn off completely.
`hazelcast.health.monitoring.threshold.cpu.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the CPU usage exceeds this threshold.
`hazelcast.health.monitoring.threshold.memory.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the memory usage exceeds this threshold.
`hazelcast.heartbeat.failuredetector.type``deadline`stringType of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
`hazelcast.heartbeat.interval.seconds`5intHeartbeat send interval in seconds.
`hazelcast.hidensity.check.freememory`trueboolIf enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded.
`hazelcast.hotrestart.free.native.memory.percentage` (deprecated)15longPercentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx).
`hazelcast.ignoreXxeProtectionFailures`falsebool - -If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. - -This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. - -
`hazelcast.index.copy.behavior`COPY\_ON\_READstringDefines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes).
`hazelcast.init.cluster.version`stringUsed to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version.
`hazelcast.initial.min.cluster.size`0intInitial expected cluster size to wait before member to start completely.
`hazelcast.initial.wait.seconds`0intInitial time in seconds to wait before member to start completely.
`hazelcast.internal.map.expiration.cleanup.operation.count`N/AintCount of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count.
`hazelcast.internal.map.expiration.cleanup.percentage`10intScannable percentage of the entries in the maps' partitions in each run of the background expiration task.
`hazelcast.internal.map.expiration.task.period.seconds`5intInterval, in seconds, at which the background expiration task is going to run.
`hazelcast.internal.map.expired.key.scan.timeout.nanos`1000000intTimeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size grows.
`hazelcast.internal.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on member.
`hazelcast.internal.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.invalidation.max.tolerated.miss.count`10intIf missed invalidation count is bigger than this value, relevant cached data is made unreachable.
`hazelcast.invalidation.reconciliation.interval.seconds`60intPeriod for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache.
`hazelcast.invocation.max.retry.count`250intMaximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed.
`hazelcast.invocation.retry.pause.millis`500intPause time between each retry cycle of an invocation in milliseconds.
`hazelcast.io.balancer.interval.seconds`20intInterval in seconds between IOBalancer executions.
`hazelcast.io.input.thread.count`3intNumber of socket input threads.
`hazelcast.io.output.thread.count`3intNumber of socket output threads.
`hazelcast.io.thread.count`3intNumber of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are 3 threads performing input and 3 threads performing output (6 threads in total).
`hazelcast.io.write.through`trueboolOptimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments.
`hazelcast.jcache.provider.type`stringType of the JCache provider. Values can be `client` or `server`.
`hazelcast.jmx`falseboolEnable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent.
`hazelcast.jet.custom.lib.dir``custom-lib`stringThe directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline.
`hazelcast.jet.idle.cooperative.min.microseconds`25intThe minimum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit throughput.
`hazelcast.jet.idle.cooperative.max.microseconds`500intThe maximum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.min.microseconds`25intThe minimum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.max.microseconds`5000intThe maximum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.job.results.max.size`1000intMaximum number of job results to keep in the cluster; the oldest results will be automatically deleted after this size is reached.
`hazelcast.jet.job.results.ttl.seconds`604800intMaximum number of time in seconds the job results are kept in the cluster. They will be automatically deleted after this period is reached.
`hazelcast.jet.job.scan.period`5000intThe Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds.
`hazelcast.jmx.update.interval.seconds`5intSome JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale.
`hazelcast.local.localAddress`stringIt is an overrider property for the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to.
`hazelcast.local.publicAddress`stringIt is an overrider property for the default public address to be advertised to other cluster members and clients.
`hazelcast.lock.max.lease.time.seconds`Long.MAX\_VALUElongAll locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value.
`hazelcast.logging.details.enabled`trueboolSpecifies whether the cluster name, IP and version should be included in all log messages.
`hazelcast.logging.emoji.enabled`falseboolSpecifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging.
`hazelcast.logging.type`jdkenumName of [logging](../operate-and-manage/logging.mdx) framework type to send logging events.
`hazelcast.map.entry.filtering.natural.event.types`falseboolNotify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space.
`hazelcast.map.eviction.batch.size`1intMaximum number of IMap entries Hazelcast will evict during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted.
`hazelcast.map.eviction.sample.count`15intCount of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction.
`hazelcast.map.expiry.delay.seconds`10intDelays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas.
`hazelcast.map.invalidation.batchfrequency.seconds`10intIf the collected invalidations do not reach the configured batch size, a background process sends them at this interval.
`hazelcast.map.invalidation.batch.enabled`trueboolEnable or disable batching. When it is set to `false`, all invalidations are sent immediately.
`hazelcast.map.invalidation.batch.size`100intMaximum number of invalidations in a batch.
`hazelcast.map.load.chunk.size`1000intMaximum size of the key batch sent to the partition owners for value loading and the maximum size of a key batch for which values are loaded in a single partition.
`hazelcast.map.loaded.key.limit.per.node`50000intMaximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member.
`hazelcast.map.replica.scheduled.task.delay.seconds`10intScheduler delay for map tasks those are executed on backup members.
`hazelcast.map.write.behind.queue.capacity`50000stringMaximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element.
`hazelcast.mastership.claim.timeout.seconds`120intThe timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member will be removed from the member list.
`hazelcast.max.join.merge.target.seconds`20intSplit-brain merge timeout for a specific target.
`hazelcast.max.join.seconds`300intJoin timeout, maximum time to try to join before giving.
`hazelcast.max.no.heartbeat.seconds`60int - -Maximum timeout of heartbeat in seconds for a member to assume it is dead. - -:::caution - -Setting this value too low may cause members to be evicted from the cluster when they are under heavy load: they will be unable to send heartbeat operations in time, so other members will assume that it is dead. +## Cluster versions and shutdown + +These properties control cluster version upgrades, and how members and clusters shut down: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cluster.shutdown.timeout.seconds` | 900 | `int` | Once a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator gives up and shuts itself down regardless. | +| `hazelcast.cluster.version.auto.upgrade.enabled` | `false` | `bool` | Specifies whether the automatic cluster version upgrading is enabled. | +| `hazelcast.cluster.version.auto.upgrade.min.cluster.size` | 1 | `int` | When set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed. | +| `hazelcast.graceful.shutdown.max.wait` | 600 | `int` | Maximum wait in seconds during graceful shutdown. | +| `hazelcast.init.cluster.version` | | `string` | Used to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version. | +| `hazelcast.member.demote.max.wait` | 600 | `int` | Maximum wait duration in seconds during the demotion of a data member to a lite member. | +| `hazelcast.shutdownhook.enabled` | `true` | `bool` | Enables/disables Hazelcast shutdown hook thread. When enabled, the shutdown action is determined according to the value of `hazelcast.shutdownhook.policy`. | +| `hazelcast.shutdownhook.policy` | `TERMINATE` | `string` | Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. | + +:::note + +Always shut down Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It is not recommended to rely on the shutdown hook, because this is a last-effort measure. ::: -
`hazelcast.max.wait.seconds.before.join`20intMaximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request, and ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase, during which it will only admit members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master will again start admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.mc.executor.thread.count`int2Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance.
`hazelcast.mc.max.visible.slow.operations.count`10intManagement Center maximum visible slow operations count.
`hazelcast.member.demote.max.wait`600intMaximum wait duration in seconds during the demotion of a data member to a lite member.
`hazelcast.member.list.publish.interval.seconds`60intInterval at which master member publishes a member list.
`hazelcast.member.naming.moby.enabled`trueboolDefines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided.
`hazelcast.merge.first.run.delay.seconds`300intInitial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.merge.next.run.delay.seconds`120intRun interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.metrics.collection.frequency`5intFrequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.datastructures.enabled`trueboolSpecifies whether collecting metrics from the distributed data structures is enabled.
`hazelcast.metrics.debug.enabled`falseboolEnables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only.
`hazelcast.metrics.enabled`trueboolEnables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.enabled`trueboolEnables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.retention`5intDuration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.jmx.enabled`trueboolEnables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.multicast.group`N/AlongIP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element).
`hazelcast.multicast.socket.set.interface`N/AlongAllows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called.
`hazelcast.network.stats.refresh.interval.seconds`3intInterval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used.
`hazelcast.nio.tcp.spoofing.checks`falseboolControls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed under NAT'ed infrastructure.
`hazelcast.operation.backup.timeout.millis`5000intMaximum time a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even no backup response is received.
`hazelcast.operation.call.timeout.millis`60000intTimeout to wait for a response when a remote call is sent, in milliseconds.
`hazelcast.operation.fail.on.indeterminate.state`falseboolWhen enabled, an operation fails with `IndeterminateOperationStateException`, if it does not receive backup acks in time with respect to backup configuration of its data structure, or the member which owns primary replica of the target partition leaves the cluster.
`hazelcast.operation.generic.thread.count`2intNumber of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`.
`hazelcast.operation.priority.generic.thread.count`1intNumber of priority generic operation handler threads per member. Having at least 1 priority generic operation thread helps to improve cluster stability since a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations don't get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least 1 thread.
`hazelcast.operation.response.thread.count`2intNumber of threads the process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput.
`hazelcast.operation.responsequeue.idlestrategy`blockstringSpecifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance.
`hazelcast.operation.thread.count`2intNumber of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors.
`hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds`5intTimeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters.
`hazelcast.partial.member.disconnection.resolution.heartbeat.count`0intWhen the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds to allow other members to report their problems, if there is any. This property sets the number of these rounds.
`hazelcast.partition.backup.sync.interval`30intInterval for syncing backup replicas in seconds.
`hazelcast.partition.count`271intTotal partition count.
`hazelcast.partition.max.parallel.migrations`10intMaximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups.
`hazelcast.partition.max.parallel.replications`10intMaximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups.
`hazelcast.partition.migration.chunks.enabled`trueboolSubdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations.
`hazelcast.partition.migration.chunks.max.migrating.data.in.mb`250intLimits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value.
`hazelcast.partition.migration.fragments.enabled`trueboolWhen enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete.
`hazelcast.partition.migration.interval`0intInterval to run partition migration tasks in seconds.
`hazelcast.partition.migration.stale.read.disabled`falseboolHazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed.
`hazelcast.partition.migration.timeout`300intTimeout for partition migration tasks in seconds.
`hazelcast.partition.table.send.interval`15intInterval for publishing partition table periodically to all cluster members in seconds.
`hazelcast.partitioning.strategy.class`stringClass name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping.
`hazelcast.persistence.auto.cluster.state`trueboolEnables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes Statefulset, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions.
`hazelcast.persistence.auto.cluster.state.strategy`string`NO_MIGRATION`Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes Statefulset which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`.
`hazelcast.phone.home.enabled`trueboolEnable or disable the sending of phone home data to Hazelcast's phone home server.
`hazelcast.prefer.ipv4.stack`trueboolPrefer IPv4 network interface when picking a local address.
`hazelcast.query.max.local.partition.limit.for.precheck`3intMaximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps.
`hazelcast.query.optimizer.type`RULESStringType of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`.
`hazelcast.query.predicate.parallel.evaluation`falseboolEach Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications overweight can benefit from parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member.
`hazelcast.query.result.size.limit`-1intResult size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit.
`hazelcast.security.recommendations`nullstringWhen set to any non-null value, security recommendations are logged at the `INFO` level during the member startup.
`hazelcast.serialization.compact.allowlist.classes`stringComma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty.
`hazelcast.serialization.compact.allowlist.packages`stringComma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.allowlist.prefixes`stringComma-separated list of class-name prefixes to allow for ZCCS.
`hazelcast.serialization.compact.blocklist.classes`stringComma-separated list of fully qualified class names to block from ZCCS. Default is empty.
`hazelcast.serialization.compact.blocklist.defaults`trueboolControls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options.
`hazelcast.serialization.compact.blocklist.packages`stringComma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.blocklist.prefixes`stringComma-separated list of class-name prefixes to block from ZCCS.
`hazelcast.serialization.version`longVersion of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version.
`hazelcast.shutdownhook.enabled`trueboolEnables/disables Hazelcast shutdownhook thread. When enabled, the shutdown action is determined according to the value of [`hazelcast.shutdownhook.policy`](#hazelcast.shutdownhook.policy).
`hazelcast.shutdownhook.policy`TERMINATEstring - -Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. +## Networking and I/O + +These properties control sockets, I/O threads, and the network addresses that members use: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.internal.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on member. | +| `hazelcast.internal.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.io.balancer.interval.seconds` | 20 | `int` | Interval in seconds between IOBalancer executions. | +| `hazelcast.io.input.thread.count` | 3 | `int` | Number of socket input threads. | +| `hazelcast.io.output.thread.count` | 3 | `int` | Number of socket output threads. | +| `hazelcast.io.thread.count` | 3 | `int` | Number of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are three threads performing input and three threads performing output (six threads in total). | +| `hazelcast.io.write.through` | `true` | `bool` | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. | +| `hazelcast.local.localAddress` | | `string` | It overrides the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to. | +| `hazelcast.local.publicAddress` | | `string` | It overrides the default public address to be advertised to other cluster members and clients. | +| `hazelcast.network.stats.refresh.interval.seconds` | 3 | `int` | Interval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used. | +| `hazelcast.nio.tcp.spoofing.checks` | `false` | `bool` | Controls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed behind NAT. | +| `hazelcast.prefer.ipv4.stack` | `true` | `bool` | Prefer IPv4 network interface when picking a local address. | +| `hazelcast.socket.bind.any` | `true` | `bool` | Bind both server-socket and client-sockets to any local interface. | +| `hazelcast.socket.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` instead of `ByteBuffer.allocate`. This method makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See the [`ByteBuffer` Javadoc](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information. | +| `hazelcast.socket.client.bind` | `true` | `bool` | Bind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface. | +| `hazelcast.socket.client.bind.any` | `true` | `bool` | Bind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `hazelcast.socket.client.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one. | +| `hazelcast.socket.client.receive.buffer.size` | -1 | `int` | Hazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.client.send.buffer.size` | -1 | `int` | Hazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.connect.timeout.seconds` | 10 | `int` | Socket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite. | +| `hazelcast.socket.keep.alive` | `true` | `bool` | Sets a socket to be in the `SO_KEEPALIVE` option. | +| `hazelcast.socket.linger.seconds` | 0 | `int` | Sets the linger value (timeout) for a socket in the `SO_LINGER` option. | +| `hazelcast.socket.no.delay` | `true` | `bool` | Specifies whether the delay of sending successive small packets on the network is disabled. | +| `hazelcast.socket.receive.buffer.size` | 128 | `int` | Socket receive buffer (`SO_RCVBUF`) size in KB. If you have a fast network (e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below to tune the size. | +| `hazelcast.socket.send.buffer.size` | 128 | `int` | Socket send buffer (`SO_SNDBUF`) size in KB. | +| `hazelcast.socket.server.bind.any` | `true` | `bool` | Bind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `tcp.channels.per.connection` | 1 | `int` | Number of parallel connections between members. Not having more connections than IO threads is recommended. | + +## Client connections + +These properties control how members handle client connections: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.client.cleanup.period.millis` | 10000 | `int` | Period, in milliseconds, to check if a client is still part of the cluster. | +| `hazelcast.client.cleanup.timeout.millis` | 120000 | `int` | Timeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client. | +| `hazelcast.client.internal.skip.cluster.namecheck.during.connection` | `false` | `bool` | Allows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication. | +| `hazelcast.client.max.no.heartbeat.seconds` | 300 | `int` | Time after which the member assumes the client is dead and closes its connections to the client. | +| `hazelcast.client.protocol.max.message.bytes` | 1024 | `int` | Client protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message. | +| `hazelcast.client.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on client. | +| `hazelcast.client.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.clientengine.blocking.thread.count` | -1 | `int` | Number of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20. | +| `hazelcast.clientengine.query.thread.count` | | `int` | Number of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1. | +| `hazelcast.clientengine.thread.count` | | `int` | Maximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20. | + +## Operations, invocations, and events + +These properties control operation threads, invocation retries, backpressure, and event delivery: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.backpressure.backoff.timeout.millis` | 60000 | `int` | Controls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0. | +| `hazelcast.backpressure.enabled` | `false` | `bool` | Enable back pressure. | +| `hazelcast.backpressure.max.concurrent.invocations.per.partition` | 100 | `int` | The maximum number of concurrent invocations per partition. | +| `hazelcast.backpressure.syncwindow` | 1000 | `string` | Used when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup. | +| `hazelcast.event.queue.capacity` | 1000000 | `int` | Capacity of internal event queue. | +| `hazelcast.event.queue.timeout.millis` | 250 | `int` | Timeout to enqueue events to event queue. | +| `hazelcast.event.sync.timeout.millis` | 5000 | `int` | To prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled increase in the size of the outbound write queue of the connection. | +| `hazelcast.event.thread.count` | 5 | `int` | Number of event handler threads. | +| `hazelcast.invocation.max.retry.count` | 250 | `int` | Maximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed. | +| `hazelcast.invocation.retry.pause.millis` | 500 | `int` | Pause time between each retry cycle of an invocation in milliseconds. | +| `hazelcast.operation.backup.timeout.millis` | 5000 | `int` | Maximum time for a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even if no backup response is received. | +| `hazelcast.operation.call.timeout.millis` | 60000 | `int` | Timeout to wait for a response when a remote call is sent, in milliseconds. | +| `hazelcast.operation.fail.on.indeterminate.state` | `false` | `bool` | When enabled, an operation fails with `IndeterminateOperationStateException` if it does not receive backup acks in time with respect to backup configuration of its data structure. It also fails if the member which owns primary replica of the target partition leaves the cluster. | +| `hazelcast.operation.generic.thread.count` | 2 | `int` | Number of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`. | +| `hazelcast.operation.priority.generic.thread.count` | 1 | `int` | Number of priority generic operation handler threads per member. Having at least one priority generic operation thread helps to improve cluster stability. This is because a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations do not get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least one thread. | +| `hazelcast.operation.response.thread.count` | 2 | `int` | Number of threads that process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput. | +| `hazelcast.operation.responsequeue.idlestrategy` | `block` | `string` | Specifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance. | +| `hazelcast.operation.thread.count` | 2 | `int` | Number of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors. | + +## Partitions and migration + +These properties control partitions and how members migrate them: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.partition.backup.sync.interval` | 30 | `int` | Interval for syncing backup replicas in seconds. | +| `hazelcast.partition.count` | 271 | `int` | Total partition count. | +| `hazelcast.partition.max.parallel.migrations` | 10 | `int` | Maximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups. | +| `hazelcast.partition.max.parallel.replications` | 10 | `int` | Maximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups. | +| `hazelcast.partition.migration.chunks.enabled` | `true` | `bool` | Subdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations. | +| `hazelcast.partition.migration.chunks.max.migrating.data.in.mb` | 250 | `int` | Limits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value. | +| `hazelcast.partition.migration.fragments.enabled` | `true` | `bool` | When enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete. | +| `hazelcast.partition.migration.interval` | 0 | `int` | Interval to run partition migration tasks in seconds. | +| `hazelcast.partition.migration.stale.read.disabled` | `false` | `bool` | Hazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed. | +| `hazelcast.partition.migration.timeout` | 300 | `int` | Timeout for partition migration tasks in seconds. | +| `hazelcast.partition.table.send.interval` | 15 | `int` | Interval for publishing partition table periodically to all cluster members in seconds. | +| `hazelcast.partitioning.strategy.class` | | `string` | Class name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping. | + +## Maps, caches, and Near Cache + +These properties control maps, caches, Near Cache invalidation, locks, and the event journal: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cache.invalidation.batch.enabled` | `true` | `bool` | Specifies whether the cache invalidation event batch sending is enabled or not. | +| `hazelcast.cache.invalidation.batch.size` | 100 | `int` | Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch. | +| `hazelcast.cache.invalidation.batchfrequency.seconds` | 5 | `int` | Defines cache invalidation event batch sending frequency in seconds. | +| `hazelcast.concurrent.window.ms` | 100 | `int` | Property needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it keeps that way. Setting it too low could lead to suboptimal performance because the system tries write through and other optimizations even though the system is concurrent. | +| `hazelcast.internal.map.expiration.cleanup.operation.count` | N/A | `int` | Count of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count. | +| `hazelcast.internal.map.expiration.cleanup.percentage` | 10 | `int` | Scannable percentage of the entries in the maps' partitions in each run of the background expiration task. | +| `hazelcast.internal.map.expiration.task.period.seconds` | 5 | `int` | Interval, in seconds, at which the background expiration task is going to run. | +| `hazelcast.internal.map.expired.key.scan.timeout.nanos` | 1000000 | `int` | Timeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size increases. | +| `hazelcast.invalidation.max.tolerated.miss.count` | 10 | `int` | If missed invalidation count is bigger than this value, relevant cached data is made unreachable. | +| `hazelcast.invalidation.reconciliation.interval.seconds` | 60 | `int` | Period for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache. | +| `hazelcast.jcache.provider.type` | | `string` | Type of the JCache provider. Values can be `client` or `server`. | +| `hazelcast.lock.max.lease.time.seconds` | `Long.MAX_VALUE` | `long` | All locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value. | +| `hazelcast.map.entry.filtering.natural.event.types` | `false` | `bool` | Notify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space. | +| `hazelcast.map.eviction.batch.size` | 1 | `int` | Maximum number of IMap entries Hazelcast evicts during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted. | +| `hazelcast.map.eviction.sample.count` | 15 | `int` | Count of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction. | +| `hazelcast.map.expiry.delay.seconds` | 10 | `int` | Delays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas. | +| `hazelcast.map.invalidation.batch.enabled` | `true` | `bool` | Enable or disable batching. When it is set to `false`, all invalidations are sent immediately. | +| `hazelcast.map.invalidation.batch.size` | 100 | `int` | Maximum number of invalidations in a batch. | +| `hazelcast.map.invalidation.batchfrequency.seconds` | 10 | `int` | If the collected invalidations do not reach the configured batch size, a background process sends them at this interval. | +| `hazelcast.map.load.chunk.size` | 1000 | `int` | Maximum size of the key batch sent to the partition owners for value loading. This is also the maximum size of a key batch for which values are loaded in a single partition. | +| `hazelcast.map.loaded.key.limit.per.node` | 50000 | `int` | Maximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member. | +| `hazelcast.map.replica.scheduled.task.delay.seconds` | 10 | `int` | Scheduler delay for map tasks that are executed on backup members. | +| `hazelcast.map.write.behind.queue.capacity` | 50000 | `string` | Maximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element. | + +## Queries and indexes + +These properties control query execution, aggregations, and indexes: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.aggregation.accumulation.parallel.evaluation` | `true` | `bool` | Specifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel. | +| `hazelcast.hd.global.index.enabled` | `true` | `bool` | Specifies whether the global concurrent High-Density Memory Store indexes are enabled or not. | +| `hazelcast.index.copy.behavior` | `COPY_ON_READ` | `string` | Defines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes). | +| `hazelcast.query.max.local.partition.limit.for.precheck` | 3 | `int` | Maximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps. | +| `hazelcast.query.optimizer.type` | `RULES` | `string` | Type of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`. | +| `hazelcast.query.predicate.parallel.evaluation` | `false` | `bool` | Each Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications outweighs the benefit of parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member. | +| `hazelcast.query.result.size.limit` | -1 | `int` | Result size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit. | + +## Diagnostics, metrics, and logging + +The properties in this section control diagnostics, health monitoring, slow operation detection, metrics, and logging. + +### Diagnostics log + +These properties control the diagnostics log. :::note -Always shutdown Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It's not recommended to rely on the shutdown hook, this is a last-effort measure. +For detailed information about the diagnostic tool and the diagnostics properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). ::: -
`hazelcast.slow.operation.detector.enabled`trueboolEnables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx).
`hazelcast.slow.operation.detector.log.purge.interval.seconds`300intPurge interval for slow operation logs.
`hazelcast.slow.operation.detector.log.retention.seconds`3600intDefines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted.
`hazelcast.slow.operation.detector.stacktrace.logging.enabled`falseboolDefines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small.
`hazelcast.slow.operation.detector.threshold.millis`10000intDefines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace.
`hazelcast.socket.bind.any`trueboolBind both server-socket and client-sockets to any local interface.
`hazelcast.socket.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` (instead of `ByteBuffer.allocate`) which makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See [here](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information.
`hazelcast.socket.client.bind`trueboolBind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface.
`hazelcast.socket.client.bind.any`trueboolBind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.socket.client.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one.
`hazelcast.socket.client.receive.buffer.size`-1intHazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.client.send.buffer.size`-1intHazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.connect.timeout.seconds`10intSocket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite.
`hazelcast.socket.keep.alive`trueboolSets a socket to be in the `SO_KEEPALIVE` option.
`hazelcast.socket.linger.seconds`0intSets the linger value (timeout) for a socket in the `SO_LINGER` option.
`hazelcast.socket.no.delay`trueboolSpecifies whether the delay of sending successive small packets on the network is disabled.
`hazelcast.socket.receive.buffer.size`128intSocket receive buffer (`SO_RCVBUF`) size in KB. If you have a very fast network, e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below tune the size.
`hazelcast.socket.send.buffer.size`128intSocket send buffer (`SO_SNDBUF`) size in KB.
`hazelcast.socket.server.bind.any`trueboolBind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.tcp.join.port.try.count`3intThe number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host (which is defined without a port in TCP/IP member list while a member is searching for a cluster).
`hazelcast.tcp.join.previously.joined.member.address.retention.seconds`14400intSpecifies how long the address of a member that has previously joined the cluster will be retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, this member addresses is used to discover the other cluster by the split-brain handler.
`hazelcast.wait.seconds.before.join`5intWait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request (i.e., where the member hasn't made any previous join request), or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.wan.consumer.ack.delay.backoff.init`1intDefines the initial backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.max`100intDefines the maximum backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.multiplier`1.5DstringDefines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled
`hazelcast.wan.consumer.invocation.threshold`50000intDefines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member to delay the WAN acknowledgment, thus slowing down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature.
`hazelcast.wan.replicate.imap.evictions`falseboolSpecifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`hazelcast.wan.replicate.icache.evictions`falseboolSpecifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`tcp.channels.per.connection`1intNumber of parallel connections between members. Not having more connections than IO threads is recommended.
`hazelcast.async.join.strategy.enabled`trueboolControls the behaviour of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members will return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members will behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters.
+The diagnostics properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.diagnostics.directory` | `user.dir` | `string` | Output directory of the diagnostic log files. | +| `hazelcast.diagnostics.enabled` | `false` | `bool` | Specifies whether diagnostics tool is enabled or not for the cluster. | +| `hazelcast.diagnostics.filename.prefix` | | `string` | Optional prefix for the diagnostics log file. | +| `hazelcast.diagnostics.invocation.sample.period.seconds` | 0 | `long` | Frequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled. | +| `hazelcast.diagnostics.invocation.slow.threshold.seconds` | 5 | `long` | Threshold period, in seconds, that makes an invocation to be considered as slow. | +| `hazelcast.diagnostics.max.rolled.file.count` | 10 | `int` | Allowed count of diagnostic files within each roll. | +| `hazelcast.diagnostics.max.rolled.file.size.mb` | 50 | `int` | Size of each diagnostic file to be rolled. | +| `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage` | 100 | `int` | Maximum allowed deviation for member-to-member heartbeats. | +| `hazelcast.diagnostics.member-heartbeat.period.seconds` | 10 | `long` | Period for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.memberinfo.period.seconds` | 60 | `long` | Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file. | +| `hazelcast.diagnostics.metrics.period.seconds` | 60 | `long` | Frequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file. | +| `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage` | 33 | `int` | Maximum allowed deviation for member-to-member operation heartbeats. | +| `hazelcast.diagnostics.operation-heartbeat.seconds` | 10 | `long` | Period, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.pending.invocations.period.seconds` | 0 | `long` | Period, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.slowoperations.period.seconds` | 60 | `long` | Period, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.stdout` | `FILE` | `string` | Configures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`. | +| `hazelcast.diagnostics.storeLatency.period.seconds` | 0 | `long` | Period, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.storeLatency.reset.period.seconds` | 0 | `long` | Period, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool. | +| `hazelcast.diagnostics.systemlog.enabled` | `true` | `bool` | Specifies whether the SystemLog plugin of the diagnostics tool is enabled or not. | +| `hazelcast.diagnostics.systemlog.partitions` | `false` | `bool` | Specifies whether the SystemLog plugin collects information about partition migrations. | + +### Health monitoring + +These properties control the health monitor: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.health.monitoring.delay.seconds` | 20 | `int` | Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). | +| `hazelcast.health.monitoring.level` | `SILENT` | `string` | Health monitoring log level. When `SILENT`, logs are printed only when values exceed some predefined threshold. When `NOISY`, logs are always printed periodically. Set `OFF` to turn off completely. | +| `hazelcast.health.monitoring.threshold.cpu.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the CPU usage exceeds this threshold. | +| `hazelcast.health.monitoring.threshold.memory.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the memory usage exceeds this threshold. | + +### Slow operation detector + +These properties control the slow operation detector: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.slow.operation.detector.enabled` | `true` | `bool` | Enables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx). | +| `hazelcast.slow.operation.detector.log.purge.interval.seconds` | 300 | `int` | Purge interval for slow operation logs. | +| `hazelcast.slow.operation.detector.log.retention.seconds` | 3600 | `int` | Defines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted. | +| `hazelcast.slow.operation.detector.stacktrace.logging.enabled` | `false` | `bool` | Defines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small. | +| `hazelcast.slow.operation.detector.threshold.millis` | 10000 | `int` | Defines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. | + +### Metrics, JMX, and Management Center + +These properties control metrics collection, JMX, and the data that members send to Management Center: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jmx` | `false` | `bool` | Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. | +| `hazelcast.jmx.update.interval.seconds` | 5 | `int` | Some JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale. | +| `hazelcast.mc.executor.thread.count` | 2 | `int` | Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance. | +| `hazelcast.mc.max.visible.slow.operations.count` | 10 | `int` | Management Center maximum visible slow operations count. | +| `hazelcast.metrics.collection.frequency` | 5 | `int` | Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.datastructures.enabled` | `true` | `bool` | Specifies whether collecting metrics from the distributed data structures is enabled. | +| `hazelcast.metrics.debug.enabled` | `false` | `bool` | Enables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only. | +| `hazelcast.metrics.enabled` | `true` | `bool` | Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.jmx.enabled` | `true` | `bool` | Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.enabled` | `true` | `bool` | Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.retention` | 5 | `int` | Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | + +### Logging + +These properties control logging: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.logging.details.enabled` | `true` | `bool` | Specifies whether the cluster name, IP and version should be included in all log messages. | +| `hazelcast.logging.emoji.enabled` | `false` | `bool` | Specifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging. | +| `hazelcast.logging.type` | `jdk` | `enum` | Name of [logging](../operate-and-manage/logging.mdx) framework type to send logging events. | + +## Persistence and native memory + +These properties control Persistence and native memory: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.hidensity.check.freememory` | `true` | `bool` | If enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded. | +| `hazelcast.hotrestart.free.native.memory.percentage` (deprecated) | 15 | `long` | Percentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx). | +| `hazelcast.persistence.auto.cluster.state` | `true` | `bool` | Enables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes StatefulSet, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions. | +| `hazelcast.persistence.auto.cluster.state.strategy` | `NO_MIGRATION` | `string` | Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes StatefulSet which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`. | + +## Jet + +These properties control the Jet engine, which runs data pipelines and jobs: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jet.custom.lib.dir` | `custom-lib` | `string` | The directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline. | +| `hazelcast.jet.idle.cooperative.max.microseconds` | 500 | `int` | The maximum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.cooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit throughput. | +| `hazelcast.jet.idle.noncooperative.max.microseconds` | 5000 | `int` | The maximum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.noncooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.job.results.max.size` | 1000 | `int` | Maximum number of job results to keep in the cluster; the oldest results are automatically deleted after this size is reached. | +| `hazelcast.jet.job.results.ttl.seconds` | 604800 | `int` | Maximum amount of time in seconds the job results are kept in the cluster. They are automatically deleted after this period is reached. | +| `hazelcast.jet.job.scan.period` | 5000 | `int` | The Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds. | + +## WAN replication + +These properties control WAN replication: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.wan.consumer.ack.delay.backoff.init` | 1 | `int` | Defines the initial backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.max` | 100 | `int` | Defines the maximum backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.multiplier` | `1.5D` | `string` | Defines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.invocation.threshold`| 50000 | `int` | Defines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member delay the WAN acknowledgment. This slows down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature. | +| `hazelcast.wan.replicate.icache.evictions` | `false` | `bool` | Specifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | +| `hazelcast.wan.replicate.imap.evictions` | `false` | `bool` | Specifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | + +## Configuration and security + +These properties control configuration loading, licensing, security checks, and phone home: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.config.instance.tracking.file` | | `string` | The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking). | +| `hazelcast.data.search.dynamic.config.first.enabled` | `false` | `bool` | Enables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations. | +| `hazelcast.dynamicconfig.ignore.conflicts` | | `bool` | When it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it throws an exception regardless of this property. | +| `hazelcast.enterprise.license.key` | `null` | `string` | [Hazelcast Enterprise](https://hazelcast.com/products/) license key. | +| `hazelcast.ignoreXxeProtectionFailures` | `false` | `bool` | If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. | +| `hazelcast.phone.home.enabled` | `true` | `bool` | Enable or disable the sending of phone home data to Hazelcast's phone home server. | +| `hazelcast.security.recommendations` | `null` | `string` | When set to any non-null value, security recommendations are logged at the `INFO` level during the member startup. | + +## Serialization + +These properties control serialization, including the filter for zero-config Compact serialization: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.serialization.compact.allowlist.classes` | | `string` | Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. | +| `hazelcast.serialization.compact.allowlist.packages` | | `string` | Comma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.allowlist.prefixes` | | `string` | Comma-separated list of class-name prefixes to allow for ZCCS. | +| `hazelcast.serialization.compact.blocklist.classes` | | `string` | Comma-separated list of fully qualified class names to block from ZCCS. Default is empty. | +| `hazelcast.serialization.compact.blocklist.defaults` | `true` | `bool` | Controls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options. | +| `hazelcast.serialization.compact.blocklist.packages` | | `string` | Comma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.blocklist.prefixes` | | `string` | Comma-separated list of class-name prefixes to block from ZCCS. | +| `hazelcast.serialization.version` | | `long` | Version of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version. | diff --git a/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx b/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx index aab7f2e0..b0a449f4 100644 --- a/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx +++ b/hazelcast_versioned_docs/version-5.6/clients-and-apis/clients/java.mdx @@ -2186,7 +2186,7 @@ It has two configuration properties: :::note -The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-max-no), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. +The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-connections), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. ::: diff --git a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/predicate-overview.mdx b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/predicate-overview.mdx index 51893113..41e1ed62 100644 --- a/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/predicate-overview.mdx +++ b/hazelcast_versioned_docs/version-5.6/develop-and-build/sql/predicate-overview.mdx @@ -361,7 +361,7 @@ The query-orchestrating thread uses the threads from the query-thread pool in th - if you run a `PagingPredicate` (since each page runs as a separate task) - if you set the system property `hazelcast.query.predicate.parallel.evaluation` to true (since the predicates are evaluated in parallel) -See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#parallel-predicates) for information about paging predicates and for description of the above system property. +See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#queries-and-indexes) for information about paging predicates and for description of the above system property. Below is an example of that declarative configuration. diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx index 9ceb5b5f..16799fbf 100644 --- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx +++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx @@ -107,4 +107,4 @@ MapConfig sessionsWithoutBackup = new MapConfig("sessions").setBackupCount(0); instance.getConfig().addMapConfig(sessionsWithoutBackup); ``` -To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#ignore-dynamic-conf-conflicts) system property to `true`. +To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#configuration-and-security) system property to `true`. diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx index 9ef44b9d..ccbeea9e 100644 --- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx +++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx @@ -22,8 +22,8 @@ After the merging side is decided, the oldest cluster member of the merging side :::note -- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-check-interval). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-first-check) seconds after the startup. -- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#tcp-try-count). +- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery) seconds after the startup. +- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#cluster-formation-and-joining). - Only the master member searches for other clusters for possible split-brain situations. - The split-brain recovery process initiates when the master member of smaller cluster detects that of the larger cluster. However, if the master of larger cluster communicates with that of the smaller cluster, and not the other way around, the recovery process cannot commence. diff --git a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/shutdown.mdx b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/shutdown.mdx index 274a9871..8ba876d1 100644 --- a/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/shutdown.mdx +++ b/hazelcast_versioned_docs/version-5.6/operate-and-manage/maintaining-a-cluster/shutdown.mdx @@ -83,7 +83,7 @@ When you gracefully shut down a member, it allows a Hazelcast cluster to migrate During a graceful shutdown the oldest cluster member (master member) migrates all the replicas owned by the shutdown-requesting member to the other running cluster members. -While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#hazelcast.graceful.shutdown.max.wait). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. +While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. :::note @@ -137,9 +137,9 @@ Execute the `stop.sh` script in your member's `bin` directory. This option releases most of the member's used resources. -If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.enabled) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. +If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. -If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.policy) to `GRACEFUL` your member will be gracefully shutdown. +If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `GRACEFUL` your member will be gracefully shutdown. diff --git a/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx index 535b45cd..04844467 100644 --- a/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.6/reference/system-properties.mdx @@ -1,10 +1,10 @@ --- -title: "System Properties" +title: "System properties" sidebar_position: 2 slug: /system-properties --- -The table below lists the system properties with their descriptions in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. +This page lists the system properties, grouped by area. Within each section, the properties are in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. :::note @@ -12,1305 +12,367 @@ When you want to reconfigure a system property, you need to [restart](../operate ::: - ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property NameDefault ValueTypeDescription
`hazelcast.aggregation.accumulation.parallel.evaluation`trueboolSpecifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel.
`hazelcast.async.join.strategy.enabled`trueboolControls the behaviour of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members will return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members will behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters.
`hazelcast.backpressure.backoff.timeout.millis`60000intControls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0.
`hazelcast.backpressure.enabled`falseboolEnable back pressure.
`hazelcast.backpressure.max.concurrent.invocations.per.partition`100intThe maximum number of concurrent invocations per partition.
`hazelcast.backpressure.syncwindow`1000stringUsed when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup.
`hazelcast.cache.invalidation.batch.enabled`trueboolSpecifies whether the cache invalidation event batch sending is enabled or not.
`hazelcast.cache.invalidation.batch.size`100intDefines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
`hazelcast.cache.invalidation.batchfrequency.seconds`5intDefines cache invalidation event batch sending frequency in seconds.
`hazelcast.client.cleanup.period.millis`10000intPeriod, in milliseconds, to check if a client is still part of the cluster.
`hazelcast.client.cleanup.timeout.millis`120000intTimeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client.
`hazelcast.client.max.no.heartbeat.seconds`300intTime after which the member assumes the client is dead and closes its connections to the client.
`hazelcast.client.internal.skip.cluster.namecheck.during.connection`falseboolAllows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication.
`hazelcast.client.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on client.
`hazelcast.client.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.client.protocol.max.message.bytes`1024intClient protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message.
`hazelcast.clientengine.blocking.thread.count`-1intNumber of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20.
`hazelcast.clientengine.query.thread.count`intNumber of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1.
`hazelcast.clientengine.thread.count`intMaximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20.
`hazelcast.cluster.shutdown.timeout.seconds`900intOnce a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator will give up and shut itself down regardless.
`hazelcast.cluster.version.auto.upgrade.enabled`falseboolSpecifies whether the automatic cluster version upgrading is enabled.
`hazelcast.cluster.version.auto.upgrade.min.cluster.size`1intWhen set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed.
`hazelcast.concurrent.window.ms`100intProperty needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it will keep that way. Setting it too low could lead to suboptimal performance because the system will try write through and other optimizations even though the system is concurrent.
`hazelcast.config.instance.tracking.file`stringThe JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking)
`hazelcast.connect.all.wait.seconds`120intTimeout to connect all other cluster members when a member is joining to a cluster.
`hazelcast.connection.monitor.interval`100intMinimum interval in milliseconds to consider a connection error as critical.
`hazelcast.connection.monitor.max.faults`3intMaximum I/O error count before disconnecting from a member.
`hazelcast.data.search.dynamic.config.first.enabled`falseboolEnables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations.
`hazelcast.diagnostics.directory``user.dir`string - -Output directory of the diagnostic log files. +## Cluster formation and joining -:::note +These properties control how members discover each other and join a cluster: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.async.join.strategy.enabled` | `true` | `bool` | Controls the behavior of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters. | +| `hazelcast.connect.all.wait.seconds` | 120 | `int` | Timeout to connect all other cluster members when a member is joining a cluster. | +| `hazelcast.discovery.enabled` | `false` | `bool` | Enables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information. | +| `hazelcast.discovery.public.ip.enabled` | `false` | `bool` | Enable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members. They are discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address). | +| `hazelcast.initial.min.cluster.size` | 0 | `int` | Initial expected cluster size to wait before the member starts completely. | +| `hazelcast.initial.wait.seconds` | 0 | `int` | Initial time in seconds to wait before the member starts completely. | +| `hazelcast.mastership.claim.timeout.seconds` | 120 | `int` | The timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member is removed from the member list. | +| `hazelcast.max.join.merge.target.seconds` | 20 | `int` | Split-brain merge timeout for a specific target. | +| `hazelcast.max.join.seconds` | 300 | `int` | Join timeout, maximum time to try to join before giving up. | +| `hazelcast.max.wait.seconds.before.join` | 20 | `int` | Maximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request. It ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase. During the join phase, it only admits members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master again starts admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | +| `hazelcast.member.list.publish.interval.seconds` | 60 | `int` | Interval at which master member publishes a member list. | +| `hazelcast.member.naming.moby.enabled` | `true` | `bool` | Defines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided. | +| `hazelcast.multicast.group` | N/A | `long` | IP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element). | +| `hazelcast.multicast.socket.set.interface` | N/A | `long` | Allows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called. | +| `hazelcast.tcp.join.port.try.count` | 3 | `int` | The number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host. This applies to a host that is defined without a port in the TCP/IP member list, while a member is searching for a cluster. | +| `hazelcast.tcp.join.previously.joined.member.address.retention.seconds` | 14400 | `int` | Specifies how long the address of a member that has previously joined the cluster is retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, these member addresses are used to discover the other cluster by the split-brain handler. | +| `hazelcast.wait.seconds.before.join` | 5 | `int` | Wait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. A first-timer join request is one from a member that has not made any previous join request. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request, or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | + +## Failure detection and split-brain recovery + +These properties control how members detect failed members, and when a cluster checks for a split-brain to merge: -For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connection.monitor.interval` | 100 | `int` | Minimum interval in milliseconds to consider a connection error as critical. | +| `hazelcast.connection.monitor.max.faults` | 3 | `int` | Maximum I/O error count before disconnecting from a member. | +| `hazelcast.heartbeat.failuredetector.type` | `deadline` | `string` | Type of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx). | +| `hazelcast.heartbeat.interval.seconds` | 5 | `int` | Heartbeat send interval in seconds. | +| `hazelcast.max.no.heartbeat.seconds` | 60 | `int` | Maximum timeout of heartbeat in seconds for a member to assume it is dead. | +| `hazelcast.merge.first.run.delay.seconds` | 300 | `int` | Initial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.merge.next.run.delay.seconds` | 120 | `int` | Run interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds` | 5 | `int` | Timeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters. | +| `hazelcast.partial.member.disconnection.resolution.heartbeat.count` | 0 | `int` | When the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds. This allows other members to report their problems, if there are any. This property sets the number of these rounds. | + +:::warning + +Setting `hazelcast.max.no.heartbeat.seconds` too low may cause members to be evicted from the cluster when they are under heavy load. These members are unable to send heartbeat operations in time, and other members assume that they are dead. ::: -
`hazelcast.diagnostics.enabled`falseboolSpecifies whether diagnostics tool is enabled or not for the cluster.
`hazelcast.diagnostics.filename.prefix`stringOptional prefix for the diagnostics log file.
`hazelcast.diagnostics.invocation.sample.period.seconds`0longFrequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled.
`hazelcast.diagnostics.invocation.slow.threshold.seconds`5longThreshold period, in seconds, that makes an invocation to be considered as slow.
`hazelcast.diagnostics.max.rolled.file.count`10intAllowed count of diagnostic files within each roll.
`hazelcast.diagnostics.max.rolled.file.size.mb`50intSize of each diagnostic file to be rolled.
`hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`100intMaximum allowed deviation for a member-to-member heartbeats.
`hazelcast.diagnostics.member-heartbeat.period.seconds`10longPeriod for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.memberinfo.period.seconds`60longFrequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
`hazelcast.diagnostics.metrics.period.seconds`60longFrequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file.
`hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`33intMaximum allowed deviation for a member-to-member operation heartbeats.
`hazelcast.diagnostics.operation-heartbeat.seconds`10longPeriod, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.pending.invocations.period.seconds`0longPeriod, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.stdout``FILE`stringConfigures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`.
`hazelcast.diagnostics.slowoperations.period.seconds`60longPeriod, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.period.seconds`0longPeriod, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.reset.period.seconds`0longPeriod, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool.
`hazelcast.diagnostics.systemlog.enabled`trueboolSpecifies whether the SystemLog plugin of the diagnostics tool is enabled or not.
`hazelcast.diagnostics.systemlog.partitions`falseboolSpecifies whether the SystemLog plugin collects information about partition migrations.
`hazelcast.discovery.enabled`falseboolEnables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information.
`hazelcast.discovery.public.ip.enabled`falseboolEnable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members since they will be discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address).
`hazelcast.dynamicconfig.ignore.conflicts`boolWhen it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it will throw an exception regardless this property.
`hazelcast.enterprise.license.key`nullstring[Hazelcast Enterprise](https://hazelcast.com/products/) license key.
`hazelcast.event.queue.capacity`1000000intCapacity of internal event queue.
`hazelcast.event.queue.timeout.millis`250intTimeout to enqueue events to event queue.
`hazelcast.event.sync.timeout.millis`5000intTo prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled growth of the outbound write queue of the connection.
`hazelcast.event.thread.count`5intNumber of event handler threads.
`hazelcast.graceful.shutdown.max.wait`600intMaximum wait in seconds during graceful shutdown.
`hazelcast.hd.global.index.enabled`trueboolSpecifies whether the global concurrent High-Density Memory Store indexes are enabled or not.
`hazelcast.health.monitoring.delay.seconds`20intHealth monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring).
`hazelcast.health.monitoring.level`SILENTstringHealth monitoring log level. When **SILENT**, logs are printed only when values exceed some predefined threshold. When **NOISY**, logs are always printed periodically. Set **OFF** to turn off completely.
`hazelcast.health.monitoring.threshold.cpu.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the CPU usage exceeds this threshold.
`hazelcast.health.monitoring.threshold.memory.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the memory usage exceeds this threshold.
`hazelcast.heartbeat.failuredetector.type``deadline`stringType of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
`hazelcast.heartbeat.interval.seconds`5intHeartbeat send interval in seconds.
`hazelcast.hidensity.check.freememory`trueboolIf enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded.
`hazelcast.hotrestart.free.native.memory.percentage` (deprecated)15longPercentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx).
`hazelcast.ignoreXxeProtectionFailures`falsebool - -If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. - -This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. - -
`hazelcast.index.copy.behavior`COPY\_ON\_READstringDefines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes).
`hazelcast.init.cluster.version`stringUsed to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version.
`hazelcast.initial.min.cluster.size`0intInitial expected cluster size to wait before member to start completely.
`hazelcast.initial.wait.seconds`0intInitial time in seconds to wait before member to start completely.
`hazelcast.internal.map.expiration.cleanup.operation.count`N/AintCount of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count.
`hazelcast.internal.map.expiration.cleanup.percentage`10intScannable percentage of the entries in the maps' partitions in each run of the background expiration task.
`hazelcast.internal.map.expiration.task.period.seconds`5intInterval, in seconds, at which the background expiration task is going to run.
`hazelcast.internal.map.expired.key.scan.timeout.nanos`1000000intTimeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size grows.
`hazelcast.internal.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on member.
`hazelcast.internal.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.invalidation.max.tolerated.miss.count`10intIf missed invalidation count is bigger than this value, relevant cached data is made unreachable.
`hazelcast.invalidation.reconciliation.interval.seconds`60intPeriod for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache.
`hazelcast.invocation.max.retry.count`250intMaximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed.
`hazelcast.invocation.retry.pause.millis`500intPause time between each retry cycle of an invocation in milliseconds.
`hazelcast.io.balancer.interval.seconds`20intInterval in seconds between IOBalancer executions.
`hazelcast.io.input.thread.count`3intNumber of socket input threads.
`hazelcast.io.output.thread.count`3intNumber of socket output threads.
`hazelcast.io.thread.count`3intNumber of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are 3 threads performing input and 3 threads performing output (6 threads in total).
`hazelcast.io.write.through`trueboolOptimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments.
`hazelcast.jcache.provider.type`stringType of the JCache provider. Values can be `client` or `server`.
`hazelcast.jmx`falseboolEnable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent.
`hazelcast.jet.custom.lib.dir``custom-lib`stringThe directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline.
`hazelcast.jet.idle.cooperative.min.microseconds`25intThe minimum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit throughput.
`hazelcast.jet.idle.cooperative.max.microseconds`500intThe maximum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.min.microseconds`25intThe minimum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.max.microseconds`5000intThe maximum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.job.results.max.size`1000intMaximum number of job results to keep in the cluster; the oldest results will be automatically deleted after this size is reached.
`hazelcast.jet.job.results.ttl.seconds`604800intMaximum number of time in seconds the job results are kept in the cluster. They will be automatically deleted after this period is reached.
`hazelcast.jet.job.scan.period`5000intThe Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds.
`hazelcast.jmx.update.interval.seconds`5intSome JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale.
`hazelcast.local.localAddress`stringIt is an overrider property for the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to.
`hazelcast.local.publicAddress`stringIt is an overrider property for the default public address to be advertised to other cluster members and clients.
`hazelcast.lock.max.lease.time.seconds`Long.MAX\_VALUElongAll locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value.
`hazelcast.logging.details.enabled`trueboolSpecifies whether the cluster name, IP and version should be included in all log messages.
`hazelcast.logging.emoji.enabled`falseboolSpecifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging.
`hazelcast.logging.type`jdkenumName of [logging](../operate-and-manage/logging.mdx) framework type to send logging events.
`hazelcast.map.entry.filtering.natural.event.types`falseboolNotify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space.
`hazelcast.map.eviction.batch.size`1intMaximum number of IMap entries Hazelcast will evict during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted.
`hazelcast.map.eviction.sample.count`15intCount of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction.
`hazelcast.map.expiry.delay.seconds`10intDelays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas.
`hazelcast.map.invalidation.batchfrequency.seconds`10intIf the collected invalidations do not reach the configured batch size, a background process sends them at this interval.
`hazelcast.map.invalidation.batch.enabled`trueboolEnable or disable batching. When it is set to `false`, all invalidations are sent immediately.
`hazelcast.map.invalidation.batch.size`100intMaximum number of invalidations in a batch.
`hazelcast.map.load.chunk.size`1000intMaximum size of the key batch sent to the partition owners for value loading and the maximum size of a key batch for which values are loaded in a single partition.
`hazelcast.map.loaded.key.limit.per.node`50000intMaximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member.
`hazelcast.map.replica.scheduled.task.delay.seconds`10intScheduler delay for map tasks those are executed on backup members.
`hazelcast.map.write.behind.queue.capacity`50000stringMaximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element.
`hazelcast.mastership.claim.timeout.seconds`120intThe timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member will be removed from the member list.
`hazelcast.max.join.merge.target.seconds`20intSplit-brain merge timeout for a specific target.
`hazelcast.max.join.seconds`300intJoin timeout, maximum time to try to join before giving.
`hazelcast.max.no.heartbeat.seconds`60int - -Maximum timeout of heartbeat in seconds for a member to assume it is dead. - -:::caution - -Setting this value too low may cause members to be evicted from the cluster when they are under heavy load: they will be unable to send heartbeat operations in time, so other members will assume that it is dead. +## Cluster versions and shutdown + +These properties control cluster version upgrades, and how members and clusters shut down: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cluster.shutdown.timeout.seconds` | 900 | `int` | Once a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator gives up and shuts itself down regardless. | +| `hazelcast.cluster.version.auto.upgrade.enabled` | `false` | `bool` | Specifies whether the automatic cluster version upgrading is enabled. | +| `hazelcast.cluster.version.auto.upgrade.min.cluster.size` | 1 | `int` | When set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed. | +| `hazelcast.graceful.shutdown.max.wait` | 600 | `int` | Maximum wait in seconds during graceful shutdown. | +| `hazelcast.init.cluster.version` | | `string` | Used to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version. | +| `hazelcast.member.demote.max.wait` | 600 | `int` | Maximum wait duration in seconds during the demotion of a data member to a lite member. | +| `hazelcast.shutdownhook.enabled` | `true` | `bool` | Enables/disables Hazelcast shutdown hook thread. When enabled, the shutdown action is determined according to the value of `hazelcast.shutdownhook.policy`. | +| `hazelcast.shutdownhook.policy` | `TERMINATE` | `string` | Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. | + +:::note + +Always shut down Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It is not recommended to rely on the shutdown hook, because this is a last-effort measure. ::: -
`hazelcast.max.wait.seconds.before.join`20intMaximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request, and ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase, during which it will only admit members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master will again start admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.mc.executor.thread.count`int2Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance.
`hazelcast.mc.max.visible.slow.operations.count`10intManagement Center maximum visible slow operations count.
`hazelcast.member.demote.max.wait`600intMaximum wait duration in seconds during the demotion of a data member to a lite member.
`hazelcast.member.list.publish.interval.seconds`60intInterval at which master member publishes a member list.
`hazelcast.member.naming.moby.enabled`trueboolDefines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided.
`hazelcast.merge.first.run.delay.seconds`300intInitial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.merge.next.run.delay.seconds`120intRun interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.metrics.collection.frequency`5intFrequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.datastructures.enabled`trueboolSpecifies whether collecting metrics from the distributed data structures is enabled.
`hazelcast.metrics.debug.enabled`falseboolEnables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only.
`hazelcast.metrics.enabled`trueboolEnables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.enabled`trueboolEnables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.retention`5intDuration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.jmx.enabled`trueboolEnables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.multicast.group`N/AlongIP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element).
`hazelcast.multicast.socket.set.interface`N/AlongAllows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called.
`hazelcast.network.stats.refresh.interval.seconds`3intInterval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used.
`hazelcast.nio.tcp.spoofing.checks`falseboolControls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed under NAT'ed infrastructure.
`hazelcast.operation.backup.timeout.millis`5000intMaximum time a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even no backup response is received.
`hazelcast.operation.call.timeout.millis`60000intTimeout to wait for a response when a remote call is sent, in milliseconds.
`hazelcast.operation.fail.on.indeterminate.state`falseboolWhen enabled, an operation fails with `IndeterminateOperationStateException`, if it does not receive backup acks in time with respect to backup configuration of its data structure, or the member which owns primary replica of the target partition leaves the cluster.
`hazelcast.operation.generic.thread.count`2intNumber of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`.
`hazelcast.operation.priority.generic.thread.count`1intNumber of priority generic operation handler threads per member. Having at least 1 priority generic operation thread helps to improve cluster stability since a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations don't get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least 1 thread.
`hazelcast.operation.response.thread.count`2intNumber of threads the process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput.
`hazelcast.operation.responsequeue.idlestrategy`blockstringSpecifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance.
`hazelcast.operation.thread.count`2intNumber of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors.
`hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds`5intTimeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters.
`hazelcast.partial.member.disconnection.resolution.heartbeat.count`0intWhen the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds to allow other members to report their problems, if there is any. This property sets the number of these rounds.
`hazelcast.partition.backup.sync.interval`30intInterval for syncing backup replicas in seconds.
`hazelcast.partition.count`271intTotal partition count.
`hazelcast.partition.max.parallel.migrations`10intMaximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups.
`hazelcast.partition.max.parallel.replications`10intMaximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups.
`hazelcast.partition.migration.chunks.enabled`trueboolSubdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations.
`hazelcast.partition.migration.chunks.max.migrating.data.in.mb`250intLimits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value.
`hazelcast.partition.migration.fragments.enabled`trueboolWhen enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete.
`hazelcast.partition.migration.interval`0intInterval to run partition migration tasks in seconds.
`hazelcast.partition.migration.stale.read.disabled`falseboolHazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed.
`hazelcast.partition.migration.timeout`300intTimeout for partition migration tasks in seconds.
`hazelcast.partition.table.send.interval`15intInterval for publishing partition table periodically to all cluster members in seconds.
`hazelcast.partitioning.strategy.class`stringClass name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping.
`hazelcast.persistence.auto.cluster.state`trueboolEnables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes Statefulset, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions.
`hazelcast.persistence.auto.cluster.state.strategy`string`NO_MIGRATION`Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes Statefulset which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`.
`hazelcast.phone.home.enabled`trueboolEnable or disable the sending of phone home data to Hazelcast's phone home server.
`hazelcast.prefer.ipv4.stack`trueboolPrefer IPv4 network interface when picking a local address.
`hazelcast.query.max.local.partition.limit.for.precheck`3intMaximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps.
`hazelcast.query.optimizer.type`RULESStringType of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`.
`hazelcast.query.predicate.parallel.evaluation`falseboolEach Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications overweight can benefit from parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member.
`hazelcast.query.result.size.limit`-1intResult size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit.
`hazelcast.rest.allow.config.templating`falseboolEnables [configuration variables or templating](../operate-and-manage/configuration/static-configuration/configuring-declaratively.mdx#variables) for updating configuration over the [REST API](../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
`hazelcast.security.recommendations`nullstringWhen set to any non-null value, security recommendations are logged at the `INFO` level during the member startup.
`hazelcast.serialization.compact.allowlist.classes`stringComma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty.
`hazelcast.serialization.compact.allowlist.packages`stringComma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.allowlist.prefixes`stringComma-separated list of class-name prefixes to allow for ZCCS.
`hazelcast.serialization.compact.blocklist.classes`stringComma-separated list of fully qualified class names to block from ZCCS. Default is empty.
`hazelcast.serialization.compact.blocklist.defaults`trueboolControls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options.
`hazelcast.serialization.compact.blocklist.packages`stringComma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.blocklist.prefixes`stringComma-separated list of class-name prefixes to block from ZCCS.
`hazelcast.serialization.version`longVersion of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version.
`hazelcast.shutdownhook.enabled`trueboolEnables/disables Hazelcast shutdownhook thread. When enabled, the shutdown action is determined according to the value of [`hazelcast.shutdownhook.policy`](#hazelcast.shutdownhook.policy).
`hazelcast.shutdownhook.policy`TERMINATEstring - -Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. +## Networking and I/O + +These properties control sockets, I/O threads, and the network addresses that members use: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.internal.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on member. | +| `hazelcast.internal.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.io.balancer.interval.seconds` | 20 | `int` | Interval in seconds between IOBalancer executions. | +| `hazelcast.io.input.thread.count` | 3 | `int` | Number of socket input threads. | +| `hazelcast.io.output.thread.count` | 3 | `int` | Number of socket output threads. | +| `hazelcast.io.thread.count` | 3 | `int` | Number of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are three threads performing input and three threads performing output (six threads in total). | +| `hazelcast.io.write.through` | `true` | `bool` | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. | +| `hazelcast.local.localAddress` | | `string` | It overrides the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to. | +| `hazelcast.local.publicAddress` | | `string` | It overrides the default public address to be advertised to other cluster members and clients. | +| `hazelcast.network.stats.refresh.interval.seconds` | 3 | `int` | Interval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used. | +| `hazelcast.nio.tcp.spoofing.checks` | `false` | `bool` | Controls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed behind NAT. | +| `hazelcast.prefer.ipv4.stack` | `true` | `bool` | Prefer IPv4 network interface when picking a local address. | +| `hazelcast.socket.bind.any` | `true` | `bool` | Bind both server-socket and client-sockets to any local interface. For ZIP and TAR distributions, this is overridden by false in configuration files. | +| `hazelcast.socket.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` instead of `ByteBuffer.allocate`. This method makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See the [`ByteBuffer` Javadoc](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information. | +| `hazelcast.socket.client.bind` | `true` | `bool` | Bind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface. | +| `hazelcast.socket.client.bind.any` | `true` | `bool` | Bind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `hazelcast.socket.client.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one. | +| `hazelcast.socket.client.receive.buffer.size` | -1 | `int` | Hazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.client.send.buffer.size` | -1 | `int` | Hazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.connect.timeout.seconds` | 10 | `int` | Socket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite. | +| `hazelcast.socket.keep.alive` | `true` | `bool` | Sets a socket to be in the `SO_KEEPALIVE` option. | +| `hazelcast.socket.linger.seconds` | 0 | `int` | Sets the linger value (timeout) for a socket in the `SO_LINGER` option. | +| `hazelcast.socket.no.delay` | `true` | `bool` | Specifies whether the delay of sending successive small packets on the network is disabled. | +| `hazelcast.socket.receive.buffer.size` | 128 | `int` | Socket receive buffer (`SO_RCVBUF`) size in KB. If you have a fast network (e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below to tune the size. | +| `hazelcast.socket.send.buffer.size` | 128 | `int` | Socket send buffer (`SO_SNDBUF`) size in KB. | +| `hazelcast.socket.server.bind.any` | `true` | `bool` | Bind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `tcp.channels.per.connection` | 1 | `int` | Number of parallel connections between members. Not having more connections than IO threads is recommended. | + +## Client connections + +These properties control how members handle client connections: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.client.cleanup.period.millis` | 10000 | `int` | Period, in milliseconds, to check if a client is still part of the cluster. | +| `hazelcast.client.cleanup.timeout.millis` | 120000 | `int` | Timeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client. | +| `hazelcast.client.internal.skip.cluster.namecheck.during.connection` | `false` | `bool` | Allows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication. | +| `hazelcast.client.max.no.heartbeat.seconds` | 300 | `int` | Time after which the member assumes the client is dead and closes its connections to the client. | +| `hazelcast.client.protocol.max.message.bytes` | 1024 | `int` | Client protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message. | +| `hazelcast.client.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on client. | +| `hazelcast.client.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.clientengine.blocking.thread.count` | -1 | `int` | Number of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20. | +| `hazelcast.clientengine.query.thread.count` | | `int` | Number of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1. | +| `hazelcast.clientengine.thread.count` | | `int` | Maximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20. | + +## Operations, invocations, and events + +These properties control operation threads, invocation retries, backpressure, and event delivery: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.backpressure.backoff.timeout.millis` | 60000 | `int` | Controls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0. | +| `hazelcast.backpressure.enabled` | `false` | `bool` | Enable back pressure. | +| `hazelcast.backpressure.max.concurrent.invocations.per.partition` | 100 | `int` | The maximum number of concurrent invocations per partition. | +| `hazelcast.backpressure.syncwindow` | 1000 | `string` | Used when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup. | +| `hazelcast.event.queue.capacity` | 1000000 | `int` | Capacity of internal event queue. | +| `hazelcast.event.queue.timeout.millis` | 250 | `int` | Timeout to enqueue events to event queue. | +| `hazelcast.event.sync.timeout.millis` | 5000 | `int` | To prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled increase in the size of the outbound write queue of the connection. | +| `hazelcast.event.thread.count` | 5 | `int` | Number of event handler threads. | +| `hazelcast.invocation.max.retry.count` | 250 | `int` | Maximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed. | +| `hazelcast.invocation.retry.pause.millis` | 500 | `int` | Pause time between each retry cycle of an invocation in milliseconds. | +| `hazelcast.operation.backup.timeout.millis` | 5000 | `int` | Maximum time for a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even if no backup response is received. | +| `hazelcast.operation.call.timeout.millis` | 60000 | `int` | Timeout to wait for a response when a remote call is sent, in milliseconds. | +| `hazelcast.operation.fail.on.indeterminate.state` | `false` | `bool` | When enabled, an operation fails with `IndeterminateOperationStateException` if it does not receive backup acks in time with respect to backup configuration of its data structure. It also fails if the member which owns primary replica of the target partition leaves the cluster. | +| `hazelcast.operation.generic.thread.count` | 2 | `int` | Number of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`. | +| `hazelcast.operation.priority.generic.thread.count` | 1 | `int` | Number of priority generic operation handler threads per member. Having at least one priority generic operation thread helps to improve cluster stability. This is because a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations do not get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least one thread. | +| `hazelcast.operation.response.thread.count` | 2 | `int` | Number of threads that process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput. | +| `hazelcast.operation.responsequeue.idlestrategy` | `block` | `string` | Specifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance. | +| `hazelcast.operation.thread.count` | 2 | `int` | Number of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors. | + +## Partitions and migration + +These properties control partitions and how members migrate them: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.partition.backup.sync.interval` | 30 | `int` | Interval for syncing backup replicas in seconds. | +| `hazelcast.partition.count` | 271 | `int` | Total partition count. | +| `hazelcast.partition.max.parallel.migrations` | 10 | `int` | Maximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups. | +| `hazelcast.partition.max.parallel.replications` | 10 | `int` | Maximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups. | +| `hazelcast.partition.migration.chunks.enabled` | `true` | `bool` | Subdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations. | +| `hazelcast.partition.migration.chunks.max.migrating.data.in.mb` | 250 | `int` | Limits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value. | +| `hazelcast.partition.migration.fragments.enabled` | `true` | `bool` | When enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete. | +| `hazelcast.partition.migration.interval` | 0 | `int` | Interval to run partition migration tasks in seconds. | +| `hazelcast.partition.migration.stale.read.disabled` | `false` | `bool` | Hazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed. | +| `hazelcast.partition.migration.timeout` | 300 | `int` | Timeout for partition migration tasks in seconds. | +| `hazelcast.partition.table.send.interval` | 15 | `int` | Interval for publishing partition table periodically to all cluster members in seconds. | +| `hazelcast.partitioning.strategy.class` | | `string` | Class name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping. | + +## Maps, caches, and Near Cache + +These properties control maps, caches, Near Cache invalidation, locks, and the event journal: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cache.invalidation.batch.enabled` | `true` | `bool` | Specifies whether the cache invalidation event batch sending is enabled or not. | +| `hazelcast.cache.invalidation.batch.size` | 100 | `int` | Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch. | +| `hazelcast.cache.invalidation.batchfrequency.seconds` | 5 | `int` | Defines cache invalidation event batch sending frequency in seconds. | +| `hazelcast.concurrent.window.ms` | 100 | `int` | Property needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it keeps that way. Setting it too low could lead to suboptimal performance because the system tries write through and other optimizations even though the system is concurrent. | +| `hazelcast.internal.map.expiration.cleanup.operation.count` | N/A | `int` | Count of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count. | +| `hazelcast.internal.map.expiration.cleanup.percentage` | 10 | `int` | Scannable percentage of the entries in the maps' partitions in each run of the background expiration task. | +| `hazelcast.internal.map.expiration.task.period.seconds` | 5 | `int` | Interval, in seconds, at which the background expiration task is going to run. | +| `hazelcast.internal.map.expired.key.scan.timeout.nanos` | 1000000 | `int` | Timeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size increases. | +| `hazelcast.invalidation.max.tolerated.miss.count` | 10 | `int` | If missed invalidation count is bigger than this value, relevant cached data is made unreachable. | +| `hazelcast.invalidation.reconciliation.interval.seconds` | 60 | `int` | Period for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache. | +| `hazelcast.jcache.provider.type` | | `string` | Type of the JCache provider. Values can be `client` or `server`. | +| `hazelcast.lock.max.lease.time.seconds` | `Long.MAX_VALUE` | `long` | All locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value. | +| `hazelcast.map.entry.filtering.natural.event.types` | `false` | `bool` | Notify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space. | +| `hazelcast.map.eviction.batch.size` | 1 | `int` | Maximum number of IMap entries Hazelcast evicts during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted. | +| `hazelcast.map.eviction.sample.count` | 15 | `int` | Count of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction. | +| `hazelcast.map.expiry.delay.seconds` | 10 | `int` | Delays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas. | +| `hazelcast.map.invalidation.batch.enabled` | `true` | `bool` | Enable or disable batching. When it is set to `false`, all invalidations are sent immediately. | +| `hazelcast.map.invalidation.batch.size` | 100 | `int` | Maximum number of invalidations in a batch. | +| `hazelcast.map.invalidation.batchfrequency.seconds` | 10 | `int` | If the collected invalidations do not reach the configured batch size, a background process sends them at this interval. | +| `hazelcast.map.load.chunk.size` | 1000 | `int` | Maximum size of the key batch sent to the partition owners for value loading. This is also the maximum size of a key batch for which values are loaded in a single partition. | +| `hazelcast.map.loaded.key.limit.per.node` | 50000 | `int` | Maximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member. | +| `hazelcast.map.replica.scheduled.task.delay.seconds` | 10 | `int` | Scheduler delay for map tasks that are executed on backup members. | +| `hazelcast.map.write.behind.queue.capacity` | 50000 | `string` | Maximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element. | + +## Queries and indexes + +These properties control query execution, aggregations, and indexes: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.aggregation.accumulation.parallel.evaluation` | `true` | `bool` | Specifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel. | +| `hazelcast.hd.global.index.enabled` | `true` | `bool` | Specifies whether the global concurrent High-Density Memory Store indexes are enabled or not. | +| `hazelcast.index.copy.behavior` | `COPY_ON_READ` | `string` | Defines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes). | +| `hazelcast.query.max.local.partition.limit.for.precheck` | 3 | `int` | Maximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps. | +| `hazelcast.query.optimizer.type` | `RULES` | `string` | Type of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`. | +| `hazelcast.query.predicate.parallel.evaluation` | `false` | `bool` | Each Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications outweighs the benefit of parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member. | +| `hazelcast.query.result.size.limit` | -1 | `int` | Result size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit. | + +## Diagnostics, metrics, and logging + +The properties in this section control diagnostics, health monitoring, slow operation detection, metrics, and logging. + +### Diagnostics log + +These properties control the diagnostics log. :::note -Always shutdown Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It's not recommended to rely on the shutdown hook, this is a last-effort measure. +For detailed information about the diagnostic tool and the diagnostics properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). ::: -
`hazelcast.slow.operation.detector.enabled`trueboolEnables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx).
`hazelcast.slow.operation.detector.log.purge.interval.seconds`300intPurge interval for slow operation logs.
`hazelcast.slow.operation.detector.log.retention.seconds`3600intDefines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted.
`hazelcast.slow.operation.detector.stacktrace.logging.enabled`falseboolDefines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small.
`hazelcast.slow.operation.detector.threshold.millis`10000intDefines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace.
`hazelcast.socket.bind.any`trueboolBind both server-socket and client-sockets to any local interface. For ZIP and TAR distributions, this is overridden by false in configuration files.
`hazelcast.socket.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` (instead of `ByteBuffer.allocate`) which makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See [here](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information.
`hazelcast.socket.client.bind`trueboolBind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface.
`hazelcast.socket.client.bind.any`trueboolBind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.socket.client.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one.
`hazelcast.socket.client.receive.buffer.size`-1intHazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.client.send.buffer.size`-1intHazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.connect.timeout.seconds`10intSocket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite.
`hazelcast.socket.keep.alive`trueboolSets a socket to be in the `SO_KEEPALIVE` option.
`hazelcast.socket.linger.seconds`0intSets the linger value (timeout) for a socket in the `SO_LINGER` option.
`hazelcast.socket.no.delay`trueboolSpecifies whether the delay of sending successive small packets on the network is disabled.
`hazelcast.socket.receive.buffer.size`128intSocket receive buffer (`SO_RCVBUF`) size in KB. If you have a very fast network, e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below tune the size.
`hazelcast.socket.send.buffer.size`128intSocket send buffer (`SO_SNDBUF`) size in KB.
`hazelcast.socket.server.bind.any`trueboolBind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.tcp.join.port.try.count`3intThe number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host (which is defined without a port in TCP/IP member list while a member is searching for a cluster).
`hazelcast.tcp.join.previously.joined.member.address.retention.seconds`14400intSpecifies how long the address of a member that has previously joined the cluster will be retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, this member addresses is used to discover the other cluster by the split-brain handler.
`hazelcast.wait.seconds.before.join`5intWait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request (i.e., where the member hasn't made any previous join request), or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.wan.consumer.ack.delay.backoff.init`1intDefines the initial backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.max`100intDefines the maximum backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.multiplier`1.5DstringDefines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled
`hazelcast.wan.consumer.invocation.threshold`50000intDefines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member to delay the WAN acknowledgment, thus slowing down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature.
`hazelcast.wan.replicate.imap.evictions`falseboolSpecifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`hazelcast.wan.replicate.icache.evictions`falseboolSpecifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`tcp.channels.per.connection`1intNumber of parallel connections between members. Not having more connections than IO threads is recommended.
+The diagnostics properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.diagnostics.directory` | `user.dir` | `string` | Output directory of the diagnostic log files. | +| `hazelcast.diagnostics.enabled` | `false` | `bool` | Specifies whether diagnostics tool is enabled or not for the cluster. | +| `hazelcast.diagnostics.filename.prefix` | | `string` | Optional prefix for the diagnostics log file. | +| `hazelcast.diagnostics.invocation.sample.period.seconds` | 0 | `long` | Frequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled. | +| `hazelcast.diagnostics.invocation.slow.threshold.seconds` | 5 | `long` | Threshold period, in seconds, that makes an invocation to be considered as slow. | +| `hazelcast.diagnostics.max.rolled.file.count` | 10 | `int` | Allowed count of diagnostic files within each roll. | +| `hazelcast.diagnostics.max.rolled.file.size.mb` | 50 | `int` | Size of each diagnostic file to be rolled. | +| `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage` | 100 | `int` | Maximum allowed deviation for member-to-member heartbeats. | +| `hazelcast.diagnostics.member-heartbeat.period.seconds` | 10 | `long` | Period for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.memberinfo.period.seconds` | 60 | `long` | Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file. | +| `hazelcast.diagnostics.metrics.period.seconds` | 60 | `long` | Frequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file. | +| `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage` | 33 | `int` | Maximum allowed deviation for member-to-member operation heartbeats. | +| `hazelcast.diagnostics.operation-heartbeat.seconds` | 10 | `long` | Period, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.pending.invocations.period.seconds` | 0 | `long` | Period, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.slowoperations.period.seconds` | 60 | `long` | Period, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.stdout` | `FILE` | `string` | Configures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`. | +| `hazelcast.diagnostics.storeLatency.period.seconds` | 0 | `long` | Period, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.storeLatency.reset.period.seconds` | 0 | `long` | Period, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool. | +| `hazelcast.diagnostics.systemlog.enabled` | `true` | `bool` | Specifies whether the SystemLog plugin of the diagnostics tool is enabled or not. | +| `hazelcast.diagnostics.systemlog.partitions` | `false` | `bool` | Specifies whether the SystemLog plugin collects information about partition migrations. | + +### Health monitoring + +These properties control the health monitor: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.health.monitoring.delay.seconds` | 20 | `int` | Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). | +| `hazelcast.health.monitoring.level` | `SILENT` | `string` | Health monitoring log level. When `SILENT`, logs are printed only when values exceed some predefined threshold. When `NOISY`, logs are always printed periodically. Set `OFF` to turn off completely. | +| `hazelcast.health.monitoring.threshold.cpu.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the CPU usage exceeds this threshold. | +| `hazelcast.health.monitoring.threshold.memory.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the memory usage exceeds this threshold. | + +### Slow operation detector + +These properties control the slow operation detector: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.slow.operation.detector.enabled` | `true` | `bool` | Enables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx). | +| `hazelcast.slow.operation.detector.log.purge.interval.seconds` | 300 | `int` | Purge interval for slow operation logs. | +| `hazelcast.slow.operation.detector.log.retention.seconds` | 3600 | `int` | Defines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted. | +| `hazelcast.slow.operation.detector.stacktrace.logging.enabled` | `false` | `bool` | Defines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small. | +| `hazelcast.slow.operation.detector.threshold.millis` | 10000 | `int` | Defines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. | + +### Metrics, JMX, and Management Center + +These properties control metrics collection, JMX, and the data that members send to Management Center: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jmx` | `false` | `bool` | Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. | +| `hazelcast.jmx.update.interval.seconds` | 5 | `int` | Some JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale. | +| `hazelcast.mc.executor.thread.count` | 2 | `int` | Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance. | +| `hazelcast.mc.max.visible.slow.operations.count` | 10 | `int` | Management Center maximum visible slow operations count. | +| `hazelcast.metrics.collection.frequency` | 5 | `int` | Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.datastructures.enabled` | `true` | `bool` | Specifies whether collecting metrics from the distributed data structures is enabled. | +| `hazelcast.metrics.debug.enabled` | `false` | `bool` | Enables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only. | +| `hazelcast.metrics.enabled` | `true` | `bool` | Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.jmx.enabled` | `true` | `bool` | Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.enabled` | `true` | `bool` | Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.retention` | 5 | `int` | Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | + +### Logging + +These properties control logging: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.logging.details.enabled` | `true` | `bool` | Specifies whether the cluster name, IP and version should be included in all log messages. | +| `hazelcast.logging.emoji.enabled` | `false` | `bool` | Specifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging. | +| `hazelcast.logging.type` | `jdk` | `enum` | Name of [logging](../operate-and-manage/logging.mdx) framework type to send logging events. | + +## Persistence and native memory + +These properties control Persistence and native memory: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.hidensity.check.freememory` | `true` | `bool` | If enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded. | +| `hazelcast.hotrestart.free.native.memory.percentage` (deprecated) | 15 | `long` | Percentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx). | +| `hazelcast.persistence.auto.cluster.state` | `true` | `bool` | Enables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes StatefulSet, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions. | +| `hazelcast.persistence.auto.cluster.state.strategy` | `NO_MIGRATION` | `string` | Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes StatefulSet which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`. | + +## Jet + +These properties control the Jet engine, which runs data pipelines and jobs: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jet.custom.lib.dir` | `custom-lib` | `string` | The directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline. | +| `hazelcast.jet.idle.cooperative.max.microseconds` | 500 | `int` | The maximum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.cooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit throughput. | +| `hazelcast.jet.idle.noncooperative.max.microseconds` | 5000 | `int` | The maximum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.noncooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.job.results.max.size` | 1000 | `int` | Maximum number of job results to keep in the cluster; the oldest results are automatically deleted after this size is reached. | +| `hazelcast.jet.job.results.ttl.seconds` | 604800 | `int` | Maximum amount of time in seconds the job results are kept in the cluster. They are automatically deleted after this period is reached. | +| `hazelcast.jet.job.scan.period` | 5000 | `int` | The Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds. | + +## WAN replication + +These properties control WAN replication: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.wan.consumer.ack.delay.backoff.init` | 1 | `int` | Defines the initial backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.max` | 100 | `int` | Defines the maximum backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.multiplier` | `1.5D` | `string` | Defines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.invocation.threshold`| 50000 | `int` | Defines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member delay the WAN acknowledgment. This slows down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature. | +| `hazelcast.wan.replicate.icache.evictions` | `false` | `bool` | Specifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | +| `hazelcast.wan.replicate.imap.evictions` | `false` | `bool` | Specifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | + +## Configuration and security + +These properties control configuration loading, licensing, security checks, and phone home: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.config.instance.tracking.file` | | `string` | The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking). | +| `hazelcast.data.search.dynamic.config.first.enabled` | `false` | `bool` | Enables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations. | +| `hazelcast.dynamicconfig.ignore.conflicts` | | `bool` | When it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it throws an exception regardless of this property. | +| `hazelcast.enterprise.license.key` | `null` | `string` | [Hazelcast Enterprise](https://hazelcast.com/products/) license key. | +| `hazelcast.ignoreXxeProtectionFailures` | `false` | `bool` | If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. | +| `hazelcast.phone.home.enabled` | `true` | `bool` | Enable or disable the sending of phone home data to Hazelcast's phone home server. | +| `hazelcast.rest.allow.config.templating` | `false` | `bool` | Enables [configuration variables or templating](../operate-and-manage/configuration/static-configuration/configuring-declaratively.mdx#variables) for updating configuration over the [REST API](../clients-and-apis/apis/enterprise-rest-api/overview.mdx). | +| `hazelcast.security.recommendations` | `null` | `string` | When set to any non-null value, security recommendations are logged at the `INFO` level during the member startup. | + +## Serialization + +These properties control serialization, including the filter for zero-config Compact serialization: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.serialization.compact.allowlist.classes` | | `string` | Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. | +| `hazelcast.serialization.compact.allowlist.packages` | | `string` | Comma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.allowlist.prefixes` | | `string` | Comma-separated list of class-name prefixes to allow for ZCCS. | +| `hazelcast.serialization.compact.blocklist.classes` | | `string` | Comma-separated list of fully qualified class names to block from ZCCS. Default is empty. | +| `hazelcast.serialization.compact.blocklist.defaults` | `true` | `bool` | Controls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options. | +| `hazelcast.serialization.compact.blocklist.packages` | | `string` | Comma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.blocklist.prefixes` | | `string` | Comma-separated list of class-name prefixes to block from ZCCS. | +| `hazelcast.serialization.version` | | `long` | Version of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version. | diff --git a/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx b/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx index 693afd5a..a8149c41 100644 --- a/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx +++ b/hazelcast_versioned_docs/version-5.7/clients-and-apis/clients/java.mdx @@ -2186,7 +2186,7 @@ It has two configuration properties: :::note -The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-max-no), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. +The value of `hazelcast.client.heartbeat.interval` should be smaller than that of `hazelcast.client.heartbeat.timeout`. In addition, the value of system property [`hazelcast.client.max.no.heartbeat.seconds`](../../reference/system-properties.mdx#client-connections), which is set on the member side, should be larger than that of `hazelcast.client.heartbeat.interval`. ::: diff --git a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/predicate-overview.mdx b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/predicate-overview.mdx index 265be711..57971bef 100644 --- a/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/predicate-overview.mdx +++ b/hazelcast_versioned_docs/version-5.7/develop-and-build/sql/predicate-overview.mdx @@ -367,7 +367,7 @@ The query-orchestrating thread uses the threads from the query-thread pool in th - if you run a `PagingPredicate` (since each page runs as a separate task) - if you set the system property `hazelcast.query.predicate.parallel.evaluation` to true (since the predicates are evaluated in parallel) -See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#parallel-predicates) for information about paging predicates and for description of the above system property. +See the [Filtering with Paging Predicates section](#filtering-with-paging-predicates) and [System Properties appendix](../../reference/system-properties.mdx#queries-and-indexes) for information about paging predicates and for description of the above system property. Below is an example of that declarative configuration. diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx index 0b3ef8c8..3fd52364 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/configuration/dynamic-configuration/dynamic-config-programmatic-api.mdx @@ -107,4 +107,4 @@ MapConfig sessionsWithoutBackup = new MapConfig("sessions").setBackupCount(0); instance.getConfig().addMapConfig(sessionsWithoutBackup); ``` -To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#ignore-dynamic-conf-conflicts) system property to `true`. +To ignore conflicts between dynamic configurations, set the [`hazelcast.dynamicconfig.ignore.conflicts`](../../../reference/system-properties.mdx#configuration-and-security) system property to `true`. diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx index 9ef44b9d..ccbeea9e 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/fault-tolerance/handling-network-partitions/split-brain-recovery.mdx @@ -22,8 +22,8 @@ After the merging side is decided, the oldest cluster member of the merging side :::note -- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-check-interval). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#splitbrain-first-check) seconds after the startup. -- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#tcp-try-count). +- The oldest cluster member (master) runs the split-brain check for every [`hazelcast.merge.next.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery). First check is done [`hazelcast.merge.first.run.delay.seconds`](../../../reference/system-properties.mdx#failure-detection-and-split-brain-recovery) seconds after the startup. +- Master member checks the IP addresses in the member list, and tries consecutive ports. The count to try is defined by [`hazelcast.tcp.join.port.try.count`](../../../reference/system-properties.mdx#cluster-formation-and-joining). - Only the master member searches for other clusters for possible split-brain situations. - The split-brain recovery process initiates when the master member of smaller cluster detects that of the larger cluster. However, if the master of larger cluster communicates with that of the smaller cluster, and not the other way around, the recovery process cannot commence. diff --git a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/shutdown.mdx b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/shutdown.mdx index 274a9871..8ba876d1 100644 --- a/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/shutdown.mdx +++ b/hazelcast_versioned_docs/version-5.7/operate-and-manage/maintaining-a-cluster/shutdown.mdx @@ -83,7 +83,7 @@ When you gracefully shut down a member, it allows a Hazelcast cluster to migrate During a graceful shutdown the oldest cluster member (master member) migrates all the replicas owned by the shutdown-requesting member to the other running cluster members. -While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#hazelcast.graceful.shutdown.max.wait). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. +While the master member is migrating replicas, the rest of the cluster waits for a configured period of time until this process is finished. You can specify this period using the [`hazelcast.graceful.shutdown.max.wait` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown). If migrations are not completed within this period, the shutdown process may continue ungracefully, which may lead to data loss. :::note @@ -137,9 +137,9 @@ Execute the `stop.sh` script in your member's `bin` directory. This option releases most of the member's used resources. -If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.enabled) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. +If you set the [`hazelcast.shutdownhook.enabled` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `false`, your member will ignore the `SIGTERM` signal and the process will terminate ungracefully like it had received a `SIGKILL` signal. -If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#hazelcast.shutdownhook.policy) to `GRACEFUL` your member will be gracefully shutdown. +If you set the [`hazelcast.shutdownhook.policy` property](../../reference/system-properties.mdx#cluster-versions-and-shutdown) to `GRACEFUL` your member will be gracefully shutdown. diff --git a/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx b/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx index 1dd21b6d..eb1f9ec2 100644 --- a/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx +++ b/hazelcast_versioned_docs/version-5.7/reference/system-properties.mdx @@ -1,10 +1,10 @@ --- -title: "System Properties" +title: "System properties" sidebar_position: 2 slug: /system-properties --- -The table below lists the system properties with their descriptions in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. +This page lists the system properties, grouped by area. Within each section, the properties are in alphabetical order. See [Configuring with System Properties](../operate-and-manage/configuration/static-configuration/configuring-with-system-properties.mdx) to learn how to configure Hazelcast using these properties. :::note @@ -12,1321 +12,376 @@ When you want to reconfigure a system property, you need to [restart](../operate ::: - ------ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Property NameDefault ValueTypeDescription
`hazelcast.aggregation.accumulation.parallel.evaluation`trueboolSpecifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel.
`hazelcast.async.join.strategy.enabled`trueboolControls the behaviour of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members will return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members will behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters.
`hazelcast.backpressure.backoff.timeout.millis`60000intControls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0.
`hazelcast.backpressure.enabled`falseboolEnable back pressure.
`hazelcast.backpressure.max.concurrent.invocations.per.partition`100intThe maximum number of concurrent invocations per partition.
`hazelcast.backpressure.syncwindow`1000stringUsed when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup.
`hazelcast.cache.invalidation.batch.enabled`trueboolSpecifies whether the cache invalidation event batch sending is enabled or not.
`hazelcast.cache.invalidation.batch.size`100intDefines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch.
`hazelcast.cache.invalidation.batchfrequency.seconds`5intDefines cache invalidation event batch sending frequency in seconds.
`hazelcast.client.cleanup.period.millis`10000intPeriod, in milliseconds, to check if a client is still part of the cluster.
`hazelcast.client.cleanup.timeout.millis`120000intTimeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client.
`hazelcast.client.max.no.heartbeat.seconds`300intTime after which the member assumes the client is dead and closes its connections to the client.
`hazelcast.client.internal.skip.cluster.namecheck.during.connection`falseboolAllows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication.
`hazelcast.client.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on client.
`hazelcast.client.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.client.protocol.max.message.bytes`1024intClient protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message.
`hazelcast.clientengine.blocking.thread.count`-1intNumber of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20.
`hazelcast.clientengine.query.thread.count`intNumber of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1.
`hazelcast.clientengine.thread.count`intMaximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20.
`hazelcast.cluster.shutdown.timeout.seconds`900intOnce a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator will give up and shut itself down regardless.
`hazelcast.cluster.version.auto.upgrade.enabled`falseboolSpecifies whether the automatic cluster version upgrading is enabled.
`hazelcast.cluster.version.auto.upgrade.min.cluster.size`1intWhen set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed.
`hazelcast.concurrent.window.ms`100intProperty needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it will keep that way. Setting it too low could lead to suboptimal performance because the system will try write through and other optimizations even though the system is concurrent.
`hazelcast.config.instance.tracking.file`stringThe JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking)
`hazelcast.connect.all.wait.seconds`120intTimeout to connect all other cluster members when a member is joining to a cluster.
`hazelcast.connection.monitor.interval`100intMinimum interval in milliseconds to consider a connection error as critical.
`hazelcast.connection.monitor.max.faults`3intMaximum I/O error count before disconnecting from a member.
`hazelcast.data.search.dynamic.config.first.enabled`falseboolEnables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations.
`hazelcast.diagnostics.directory``user.dir`string - -Output directory of the diagnostic log files. +## Cluster formation and joining -:::note +These properties control how members discover each other and join a cluster: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.async.join.strategy.enabled` | `true` | `bool` | Controls the behavior of `hazelcast.wait.seconds.before.join` and `hazelcast.max.wait.seconds.before.join`. If set to `true`, joining members return immediately without blocking. The cluster remains in the same state until the configured timeouts have elapsed, and new members behave like lite members. After the timeouts have elapsed and no new members are queued to join, cluster repartitioning is performed in the background. This async strategy reduces latency significantly for new members joining clusters. | +| `hazelcast.connect.all.wait.seconds` | 120 | `int` | Timeout to connect all other cluster members when a member is joining a cluster. | +| `hazelcast.discovery.enabled` | `false` | `bool` | Enables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information. | +| `hazelcast.discovery.public.ip.enabled` | `false` | `bool` | Enable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members. They are discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address). | +| `hazelcast.initial.min.cluster.size` | 0 | `int` | Initial expected cluster size to wait before the member starts completely. | +| `hazelcast.initial.wait.seconds` | 0 | `int` | Initial time in seconds to wait before the member starts completely. | +| `hazelcast.mastership.claim.timeout.seconds` | 120 | `int` | The timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member is removed from the member list. | +| `hazelcast.max.join.merge.target.seconds` | 20 | `int` | Split-brain merge timeout for a specific target. | +| `hazelcast.max.join.seconds` | 300 | `int` | Join timeout, maximum time to try to join before giving up. | +| `hazelcast.max.wait.seconds.before.join` | 20 | `int` | Maximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request. It ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase. During the join phase, it only admits members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master again starts admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | +| `hazelcast.member.list.publish.interval.seconds` | 60 | `int` | Interval at which master member publishes a member list. | +| `hazelcast.member.naming.moby.enabled` | `true` | `bool` | Defines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided. | +| `hazelcast.multicast.group` | N/A | `long` | IP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element). | +| `hazelcast.multicast.socket.set.interface` | N/A | `long` | Allows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called. | +| `hazelcast.tcp.join.port.try.count` | 3 | `int` | The number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host. This applies to a host that is defined without a port in the TCP/IP member list, while a member is searching for a cluster. | +| `hazelcast.tcp.join.previously.joined.member.address.retention.seconds` | 14400 | `int` | Specifies how long the address of a member that has previously joined the cluster is retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, these member addresses are used to discover the other cluster by the split-brain handler. | +| `hazelcast.wait.seconds.before.join` | 5 | `int` | Wait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. A first-timer join request is one from a member that has not made any previous join request. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request, or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behavior can change. | + +## Failure detection and split-brain recovery + +These properties control how members detect failed members, and when a cluster checks for a split-brain to merge: -For detailed information about the diagnostic tool, along with this and the following diagnostic related system properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.connection.monitor.interval` | 100 | `int` | Minimum interval in milliseconds to consider a connection error as critical. | +| `hazelcast.connection.monitor.max.faults` | 3 | `int` | Maximum I/O error count before disconnecting from a member. | +| `hazelcast.heartbeat.failuredetector.type` | `deadline` | `string` | Type of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx). | +| `hazelcast.heartbeat.interval.seconds` | 5 | `int` | Heartbeat send interval in seconds. | +| `hazelcast.max.no.heartbeat.seconds` | 60 | `int` | Maximum timeout of heartbeat in seconds for a member to assume it is dead. | +| `hazelcast.merge.first.run.delay.seconds` | 300 | `int` | Initial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.merge.next.run.delay.seconds` | 120 | `int` | Run interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds. | +| `hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds` | 5 | `int` | Timeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters. | +| `hazelcast.partial.member.disconnection.resolution.heartbeat.count` | 0 | `int` | When the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds. This allows other members to report their problems, if there are any. This property sets the number of these rounds. | + +:::warning + +Setting `hazelcast.max.no.heartbeat.seconds` too low may cause members to be evicted from the cluster when they are under heavy load. These members are unable to send heartbeat operations in time, and other members assume that they are dead. ::: -
`hazelcast.diagnostics.enabled`falseboolSpecifies whether diagnostics tool is enabled or not for the cluster.
`hazelcast.diagnostics.filename.prefix`stringOptional prefix for the diagnostics log file.
`hazelcast.diagnostics.invocation.sample.period.seconds`0longFrequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled.
`hazelcast.diagnostics.invocation.slow.threshold.seconds`5longThreshold period, in seconds, that makes an invocation to be considered as slow.
`hazelcast.diagnostics.max.rolled.file.count`10intAllowed count of diagnostic files within each roll.
`hazelcast.diagnostics.max.rolled.file.size.mb`50intSize of each diagnostic file to be rolled.
`hazelcast.diagnostics.member-heartbeat.max-deviation-percentage`100intMaximum allowed deviation for a member-to-member heartbeats.
`hazelcast.diagnostics.member-heartbeat.period.seconds`10longPeriod for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.memberinfo.period.seconds`60longFrequency, in seconds, at which the cluster information is dumped to the diagnostics log file.
`hazelcast.diagnostics.metrics.period.seconds`60longFrequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file.
`hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage`33intMaximum allowed deviation for a member-to-member operation heartbeats.
`hazelcast.diagnostics.operation-heartbeat.seconds`10longPeriod, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.pending.invocations.period.seconds`0longPeriod, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.stdout``FILE`stringConfigures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`.
`hazelcast.diagnostics.slowoperations.period.seconds`60longPeriod, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.period.seconds`0longPeriod, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled.
`hazelcast.diagnostics.storeLatency.reset.period.seconds`0longPeriod, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool.
`hazelcast.diagnostics.systemlog.enabled`trueboolSpecifies whether the SystemLog plugin of the diagnostics tool is enabled or not.
`hazelcast.diagnostics.systemlog.partitions`falseboolSpecifies whether the SystemLog plugin collects information about partition migrations.
`hazelcast.discovery.enabled`falseboolEnables/disables the Discovery SPI lookup over the old native implementations. See [Discovery SPI](../operate-and-manage/extending-hazelcast/discovery-spi.mdx) for more information.
`hazelcast.discovery.public.ip.enabled`falseboolEnable use of public IP address in member discovery with Discovery SPI. If you set this property to true in your source cluster, please make sure you have set the public addresses for your target members since they will be discovered using their public addresses. Otherwise, they cannot be discovered. See the [Public Address section](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#public-address).
`hazelcast.dynamicconfig.ignore.conflicts`boolWhen it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it will throw an exception regardless this property.
`hazelcast.enterprise.license.key`nullstring[Hazelcast Enterprise](https://hazelcast.com/products/) license key.
`hazelcast.event.queue.capacity`1000000intCapacity of internal event queue.
`hazelcast.event.queue.timeout.millis`250intTimeout to enqueue events to event queue.
`hazelcast.event.sync.timeout.millis`5000intTo prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled growth of the outbound write queue of the connection.
`hazelcast.event.thread.count`5intNumber of event handler threads.
`hazelcast.graceful.shutdown.max.wait`600intMaximum wait in seconds during graceful shutdown.
`hazelcast.hd.global.index.enabled`trueboolSpecifies whether the global concurrent High-Density Memory Store indexes are enabled or not.
`hazelcast.health.monitoring.delay.seconds`20intHealth monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring).
`hazelcast.health.monitoring.level`SILENTstringHealth monitoring log level. When **SILENT**, logs are printed only when values exceed some predefined threshold. When **NOISY**, logs are always printed periodically. Set **OFF** to turn off completely.
`hazelcast.health.monitoring.threshold.cpu.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the CPU usage exceeds this threshold.
`hazelcast.health.monitoring.threshold.memory.percentage`70intWhen the health monitoring level is **SILENT**, logs are printed only when the memory usage exceeds this threshold.
`hazelcast.heartbeat.failuredetector.type``deadline`stringType of the heartbeat failure detector. See the [Failure Detector Configuration section](../operate-and-manage/fault-tolerance/detecting-failures/failure-detector-configuration.mdx).
`hazelcast.heartbeat.interval.seconds`5intHeartbeat send interval in seconds.
`hazelcast.hidensity.check.freememory`trueboolIf enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded.
`hazelcast.hotrestart.free.native.memory.percentage` (deprecated)15longPercentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx).
`hazelcast.ignoreXxeProtectionFailures`falsebool - -If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. - -This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. - -
`hazelcast.index.copy.behavior`COPY\_ON\_READstringDefines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes).
`hazelcast.init.cluster.version`stringUsed to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version.
`hazelcast.initial.min.cluster.size`0intInitial expected cluster size to wait before member to start completely.
`hazelcast.initial.wait.seconds`0intInitial time in seconds to wait before member to start completely.
`hazelcast.internal.map.expiration.cleanup.operation.count`N/AintCount of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count.
`hazelcast.internal.map.expiration.cleanup.percentage`10intScannable percentage of the entries in the maps' partitions in each run of the background expiration task.
`hazelcast.internal.map.expiration.task.period.seconds`5intInterval, in seconds, at which the background expiration task is going to run.
`hazelcast.internal.map.expired.key.scan.timeout.nanos`1000000intTimeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size grows.
`hazelcast.internal.tpc.enabled`falseboolEnables TPC (Thread-Per-Core) on member.
`hazelcast.internal.tpc.eventloop`12intSpecifies maximum number of eventloops.
`hazelcast.invalidation.max.tolerated.miss.count`10intIf missed invalidation count is bigger than this value, relevant cached data is made unreachable.
`hazelcast.invalidation.reconciliation.interval.seconds`60intPeriod for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache.
`hazelcast.invocation.max.retry.count`250intMaximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed.
`hazelcast.invocation.retry.pause.millis`500intPause time between each retry cycle of an invocation in milliseconds.
`hazelcast.io.balancer.interval.seconds`20intInterval in seconds between IOBalancer executions.
`hazelcast.io.input.thread.count`3intNumber of socket input threads.
`hazelcast.io.output.thread.count`3intNumber of socket output threads.
`hazelcast.io.thread.count`3intNumber of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are 3 threads performing input and 3 threads performing output (6 threads in total).
`hazelcast.io.write.through`trueboolOptimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments.
`hazelcast.jcache.provider.type`stringType of the JCache provider. Values can be `client` or `server`.
`hazelcast.jmx`falseboolEnable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent.
`hazelcast.jet.custom.lib.dir``custom-lib`stringThe directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline.
`hazelcast.jet.idle.cooperative.min.microseconds`25intThe minimum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit throughput.
`hazelcast.jet.idle.cooperative.max.microseconds`500intThe maximum time in microseconds the cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.min.microseconds`25intThe minimum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.idle.noncooperative.max.microseconds`5000intThe maximum time in microseconds the non-cooperative worker threads will sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values will increase latency, and very high values (\>10000µs) will also limit the throughput.
`hazelcast.jet.job.results.max.size`1000intMaximum number of job results to keep in the cluster; the oldest results will be automatically deleted after this size is reached.
`hazelcast.jet.job.results.ttl.seconds`604800intMaximum number of time in seconds the job results are kept in the cluster. They will be automatically deleted after this period is reached.
`hazelcast.jet.job.scan.period`5000intThe Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds.
`hazelcast.jmx.update.interval.seconds`5intSome JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale.
`hazelcast.journal.cleanup.threshold`1.0floatThe cleanup threshold for the event journal, expressed as a fraction of its capacity (a value between 0.0 and 1.0). When the remaining capacity falls below this threshold, a cleanup may be triggered during put operations to remove expired events (only if a [time-to-live](../develop-and-build/distributed-data-structures/streaming-data-structures/event-journal.mdx#configuring-event-journal-ttl) for event journal is configured). A value of 0.0 means that no cleanup is performed, while a value of 1.0 means cleanup is triggered after each put operation.
`hazelcast.local.localAddress`stringIt is an overrider property for the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to.
`hazelcast.local.publicAddress`stringIt is an overrider property for the default public address to be advertised to other cluster members and clients.
`hazelcast.lock.max.lease.time.seconds`Long.MAX\_VALUElongAll locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value.
`hazelcast.logging.details.enabled`trueboolSpecifies whether the cluster name, IP and version should be included in all log messages.
`hazelcast.logging.emoji.enabled`falseboolSpecifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging.
`hazelcast.logging.type`jdkenumName of [logging](../operate-and-manage/logging.mdx) framework type to send logging events.
`hazelcast.map.entry.filtering.natural.event.types`falseboolNotify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space.
`hazelcast.map.eviction.batch.size`1intMaximum number of IMap entries Hazelcast will evict during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted.
`hazelcast.map.eviction.sample.count`15intCount of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction.
`hazelcast.map.expiry.delay.seconds`10intDelays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas.
`hazelcast.map.invalidation.batchfrequency.seconds`10intIf the collected invalidations do not reach the configured batch size, a background process sends them at this interval.
`hazelcast.map.invalidation.batch.enabled`trueboolEnable or disable batching. When it is set to `false`, all invalidations are sent immediately.
`hazelcast.map.invalidation.batch.size`100intMaximum number of invalidations in a batch.
`hazelcast.map.load.chunk.size`1000intMaximum size of the key batch sent to the partition owners for value loading and the maximum size of a key batch for which values are loaded in a single partition.
`hazelcast.map.loaded.key.limit.per.node`50000intMaximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member.
`hazelcast.map.replica.scheduled.task.delay.seconds`10intScheduler delay for map tasks those are executed on backup members.
`hazelcast.map.write.behind.queue.capacity`50000stringMaximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element.
`hazelcast.mastership.claim.timeout.seconds`120intThe timeout for which the master member candidate gives up waiting for a response to its mastership claim. After timeout happens, non-responding member will be removed from the member list.
`hazelcast.max.join.merge.target.seconds`20intSplit-brain merge timeout for a specific target.
`hazelcast.max.join.seconds`300intJoin timeout, maximum time to try to join before giving.
`hazelcast.max.no.heartbeat.seconds`60int - -Maximum timeout of heartbeat in seconds for a member to assume it is dead. - -:::caution - -Setting this value too low may cause members to be evicted from the cluster when they are under heavy load: they will be unable to send heartbeat operations in time, so other members will assume that it is dead. +## Cluster versions and shutdown + +These properties control cluster version upgrades, and how members and clusters shut down: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cluster.shutdown.timeout.seconds` | 900 | `int` | Once a member initiates a cluster shutdown, it waits for all members to leave the cluster before shutting itself down. This parameter defines a timeout after which there may still be some members in the cluster but the initiator gives up and shuts itself down regardless. | +| `hazelcast.cluster.version.auto.upgrade.enabled` | `false` | `bool` | Specifies whether the automatic cluster version upgrading is enabled. | +| `hazelcast.cluster.version.auto.upgrade.min.cluster.size` | 1 | `int` | When set to a value greater than 1, automatic upgrading waits to reach that cluster size to proceed. | +| `hazelcast.graceful.shutdown.max.wait` | 600 | `int` | Maximum wait in seconds during graceful shutdown. | +| `hazelcast.init.cluster.version` | | `string` | Used to override the cluster version to use while a Hazelcast instance is not yet part of a cluster. The cluster version assumed before joining a cluster may affect the serialization format of the cluster discovery. The default is to use the member's codebase version. You may need to override it for your member to join a cluster running on a previous cluster version. | +| `hazelcast.member.demote.max.wait` | 600 | `int` | Maximum wait duration in seconds during the demotion of a data member to a lite member. | +| `hazelcast.shutdownhook.enabled` | `true` | `bool` | Enables/disables Hazelcast shutdown hook thread. When enabled, the shutdown action is determined according to the value of `hazelcast.shutdownhook.policy`. | +| `hazelcast.shutdownhook.policy` | `TERMINATE` | `string` | Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. | + +:::note + +Always shut down Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It is not recommended to rely on the shutdown hook, because this is a last-effort measure. ::: -
`hazelcast.max.wait.seconds.before.join`20intMaximum wait time before join operation. This is an upper limit on the cluster's pre-join phase duration. The pre-join phase starts when the master receives the first join request, and ends after no new members have tried to join for `hazelcast.wait.seconds.before.join` seconds, or after this upper limit elapsed (whichever comes first). Once the pre-join phase ends, the master moves into the join phase, during which it will only admit members that have already tried joining during the pre-join phase and are still trying to. Once the join phase is complete, the master will again start admitting new members. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.mc.executor.thread.count`int2Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance.
`hazelcast.mc.max.visible.slow.operations.count`10intManagement Center maximum visible slow operations count.
`hazelcast.member.demote.max.wait`600intMaximum wait duration in seconds during the demotion of a data member to a lite member.
`hazelcast.member.list.publish.interval.seconds`60intInterval at which master member publishes a member list.
`hazelcast.member.naming.moby.enabled`trueboolDefines whether the Moby naming should be used for generating instance names when they are not provided by user. Moby name is a short human-readable name consisting of a randomly chosen adjective and the surname of a famous person. If set to `true`, a Moby name is generated. Otherwise, a name that is concatenation of a static prefix, number and cluster name is provided.
`hazelcast.merge.first.run.delay.seconds`300intInitial run delay of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.merge.next.run.delay.seconds`120intRun interval of [split-brain/merge process](../operate-and-manage/fault-tolerance/handling-network-partitions/network-partitioning.mdx#split-brain-syndrome) in seconds.
`hazelcast.metrics.collection.frequency`5intFrequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.datastructures.enabled`trueboolSpecifies whether collecting metrics from the distributed data structures is enabled.
`hazelcast.metrics.debug.enabled`falseboolEnables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only.
`hazelcast.metrics.enabled`trueboolEnables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.enabled`trueboolEnables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.mc.retention`5intDuration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.metrics.jmx.enabled`trueboolEnables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration).
`hazelcast.multicast.group`N/AlongIP address of a multicast group. If not set, then the configuration is read from the [multicast configuration](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx#multicast-element).
`hazelcast.multicast.socket.set.interface`N/AlongAllows explicit control if the `setInterface()` method is called in the Hazelcast multicast discovery service. This configuration may affect the multicast behavior on some platforms. The default value is not specified here, and, in such case, Hazelcast multicast service itself decides if `setInterface()` should be called.
`hazelcast.network.stats.refresh.interval.seconds`3intInterval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used.
`hazelcast.nio.tcp.spoofing.checks`falseboolControls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed under NAT'ed infrastructure.
`hazelcast.operation.backup.timeout.millis`5000intMaximum time a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even no backup response is received.
`hazelcast.operation.call.timeout.millis`60000intTimeout to wait for a response when a remote call is sent, in milliseconds.
`hazelcast.operation.fail.on.indeterminate.state`falseboolWhen enabled, an operation fails with `IndeterminateOperationStateException`, if it does not receive backup acks in time with respect to backup configuration of its data structure, or the member which owns primary replica of the target partition leaves the cluster.
`hazelcast.operation.generic.thread.count`2intNumber of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`.
`hazelcast.operation.priority.generic.thread.count`1intNumber of priority generic operation handler threads per member. Having at least 1 priority generic operation thread helps to improve cluster stability since a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations don't get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least 1 thread.
`hazelcast.operation.response.thread.count`2intNumber of threads the process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput.
`hazelcast.operation.responsequeue.idlestrategy`blockstringSpecifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance.
`hazelcast.operation.thread.count`2intNumber of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors.
`hazelcast.partial.member.disconnection.resolution.algorithm.timeout.seconds`5intTimeout, in seconds, to stop the execution of resolution algorithm when needed, in the case of lots of possible random network disconnections especially in the large clusters.
`hazelcast.partial.member.disconnection.resolution.heartbeat.count`0intWhen the master (oldest member in the cluster) receives a heartbeat problem report from another member, it first waits for a number of heartbeat rounds to allow other members to report their problems, if there is any. This property sets the number of these rounds.
`hazelcast.partition.backup.sync.interval`30intInterval for syncing backup replicas in seconds.
`hazelcast.partition.count`271intTotal partition count.
`hazelcast.partition.max.parallel.migrations`10intMaximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups.
`hazelcast.partition.max.parallel.replications`10intMaximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups.
`hazelcast.partition.migration.chunks.enabled`trueboolSubdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations.
`hazelcast.partition.migration.chunks.max.migrating.data.in.mb`250intLimits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value.
`hazelcast.partition.migration.fragments.enabled`trueboolWhen enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete.
`hazelcast.partition.migration.interval`0intInterval to run partition migration tasks in seconds.
`hazelcast.partition.migration.stale.read.disabled`falseboolHazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed.
`hazelcast.partition.migration.timeout`300intTimeout for partition migration tasks in seconds.
`hazelcast.partition.table.send.interval`15intInterval for publishing partition table periodically to all cluster members in seconds.
`hazelcast.partitioning.strategy.class`stringClass name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping.
`hazelcast.persistence.auto.cluster.state`trueboolEnables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes Statefulset, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions.
`hazelcast.persistence.auto.cluster.state.strategy`string`NO_MIGRATION`Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes Statefulset which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`.
`hazelcast.phone.home.enabled`trueboolEnable or disable the sending of phone home data to Hazelcast's phone home server.
`hazelcast.prefer.ipv4.stack`trueboolPrefer IPv4 network interface when picking a local address.
`hazelcast.query.max.local.partition.limit.for.precheck`3intMaximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps.
`hazelcast.query.optimizer.type`RULESStringType of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`.
`hazelcast.query.predicate.parallel.evaluation`falseboolEach Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications overweight can benefit from parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member.
`hazelcast.query.result.size.limit`-1intResult size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit.
`hazelcast.rest.allow.config.templating`falseboolEnables [configuration variables or templating](../operate-and-manage/configuration/static-configuration/configuring-declaratively.mdx#variables) for updating configuration over the [REST API](../clients-and-apis/apis/enterprise-rest-api/overview.mdx).
`hazelcast.security.recommendations`nullstringWhen set to any non-null value, security recommendations are logged at the `INFO` level during the member startup.
`hazelcast.serialization.compact.allowlist.classes`string +## Networking and I/O + +These properties control sockets, I/O threads, and the network addresses that members use: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.internal.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on member. | +| `hazelcast.internal.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.io.balancer.interval.seconds` | 20 | `int` | Interval in seconds between IOBalancer executions. | +| `hazelcast.io.input.thread.count` | 3 | `int` | Number of socket input threads. | +| `hazelcast.io.output.thread.count` | 3 | `int` | Number of socket output threads. | +| `hazelcast.io.thread.count` | 3 | `int` | Number of threads performing socket input and socket output. If, for example, the default value (3) is used, it means there are three threads performing input and three threads performing output (six threads in total). | +| `hazelcast.io.write.through` | `true` | `bool` | Optimization that allows sending of packets over the network to be done on the calling thread if the conditions are right. This can reduce the latency and increase the performance for low threaded environments. | +| `hazelcast.local.localAddress` | | `string` | It overrides the default server socket listener's IP address. If this property is set, then this is the address where the server socket is bound to. | +| `hazelcast.local.publicAddress` | | `string` | It overrides the default public address to be advertised to other cluster members and clients. | +| `hazelcast.network.stats.refresh.interval.seconds` | 3 | `int` | Interval, in seconds, at which the network statistics (bytes sent and received) are re-calculated and published. It is valid only when [advanced networking](../operate-and-manage/partition-groups-and-networking/network-configuration.mdx) is used. | +| `hazelcast.nio.tcp.spoofing.checks` | `false` | `bool` | Controls whether more strict checks upon BIND requests towards a cluster member are applied. The checks mainly validate the remote BIND request against the remote address as found in the socket. By default they are disabled, to avoid connectivity issues when deployed behind NAT. | +| `hazelcast.prefer.ipv4.stack` | `true` | `bool` | Prefer IPv4 network interface when picking a local address. | +| `hazelcast.socket.bind.any` | `true` | `bool` | Bind both server-socket and client-sockets to any local interface. For ZIP and TAR distributions, this is overridden by false in configuration files. | +| `hazelcast.socket.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` instead of `ByteBuffer.allocate`. This method makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See the [`ByteBuffer` Javadoc](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information. | +| `hazelcast.socket.client.bind` | `true` | `bool` | Bind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface. | +| `hazelcast.socket.client.bind.any` | `true` | `bool` | Bind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `hazelcast.socket.client.buffer.direct` | `false` | `bool` | Specifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one. | +| `hazelcast.socket.client.receive.buffer.size` | -1 | `int` | Hazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.client.send.buffer.size` | -1 | `int` | Hazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1. | +| `hazelcast.socket.connect.timeout.seconds` | 10 | `int` | Socket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite. | +| `hazelcast.socket.keep.alive` | `true` | `bool` | Sets a socket to be in the `SO_KEEPALIVE` option. | +| `hazelcast.socket.linger.seconds` | 0 | `int` | Sets the linger value (timeout) for a socket in the `SO_LINGER` option. | +| `hazelcast.socket.no.delay` | `true` | `bool` | Specifies whether the delay of sending successive small packets on the network is disabled. | +| `hazelcast.socket.receive.buffer.size` | 128 | `int` | Socket receive buffer (`SO_RCVBUF`) size in KB. If you have a fast network (e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below to tune the size. | +| `hazelcast.socket.send.buffer.size` | 128 | `int` | Socket send buffer (`SO_SNDBUF`) size in KB. | +| `hazelcast.socket.server.bind.any` | `true` | `bool` | Bind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default. | +| `tcp.channels.per.connection` | 1 | `int` | Number of parallel connections between members. Not having more connections than IO threads is recommended. | + +## Client connections + +These properties control how members handle client connections: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.client.cleanup.period.millis` | 10000 | `int` | Period, in milliseconds, to check if a client is still part of the cluster. | +| `hazelcast.client.cleanup.timeout.millis` | 120000 | `int` | Timeout duration to decide if a client is still part of the cluster. If a member cannot find any connection to a client in the cluster, it cleans up the local resources that are owned by that client. | +| `hazelcast.client.internal.skip.cluster.namecheck.during.connection` | `false` | `bool` | Allows clients to connect without matching the cluster name. This can help if you have a large number of existing clients and it would be impractical to update them. When enabled, cluster name validation is skipped during client authentication. | +| `hazelcast.client.max.no.heartbeat.seconds` | 300 | `int` | Time after which the member assumes the client is dead and closes its connections to the client. | +| `hazelcast.client.protocol.max.message.bytes` | 1024 | `int` | Client protocol message size limit (in bytes) for unverified connections. I.e. maximal length of the client authentication message. | +| `hazelcast.client.tpc.enabled` | `false` | `bool` | Enables TPC (Thread-Per-Core) on client. | +| `hazelcast.client.tpc.eventloop` | 12 | `int` | Specifies maximum number of event loops. | +| `hazelcast.clientengine.blocking.thread.count` | -1 | `int` | Number of threads that the client engine has available for processing requests that are blocking, e.g., transactions. When not set, it is set as the value of core size \* 20. | +| `hazelcast.clientengine.query.thread.count` | | `int` | Number of threads to process query requests coming from the clients. Default count is the number of cores multiplied by 1. | +| `hazelcast.clientengine.thread.count` | | `int` | Maximum number of threads to process non-partition-aware client requests, like `map.size()`, executor tasks, etc. Default count is the number of cores multiplied by 20. | + +## Operations, invocations, and events + +These properties control operation threads, invocation retries, backpressure, and event delivery: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.backpressure.backoff.timeout.millis` | 60000 | `int` | Controls the maximum timeout in milliseconds to wait for an invocation space to be available. The value needs to be equal to or larger than 0. | +| `hazelcast.backpressure.enabled` | `false` | `bool` | Enable back pressure. | +| `hazelcast.backpressure.max.concurrent.invocations.per.partition` | 100 | `int` | The maximum number of concurrent invocations per partition. | +| `hazelcast.backpressure.syncwindow` | 1000 | `string` | Used when back pressure is enabled. The larger the sync window value, the less frequent an asynchronous backup is converted to a sync backup. | +| `hazelcast.event.queue.capacity` | 1000000 | `int` | Capacity of internal event queue. | +| `hazelcast.event.queue.timeout.millis` | 250 | `int` | Timeout to enqueue events to event queue. | +| `hazelcast.event.sync.timeout.millis` | 5000 | `int` | To prevent overloading of the outbound connections, once in a while an event is made synchronous by wrapping it in a dummy operation and waiting for a dummy response. This causes the outbound write queue of the connection to get drained. This timeout configures the maximum amount of waiting time for this response. Setting it to a too low value can lead to an uncontrolled increase in the size of the outbound write queue of the connection. | +| `hazelcast.event.thread.count` | 5 | `int` | Number of event handler threads. | +| `hazelcast.invocation.max.retry.count` | 250 | `int` | Maximum number of retries for an invocation. After threshold is reached, the invocation is assumed as failed. | +| `hazelcast.invocation.retry.pause.millis` | 500 | `int` | Pause time between each retry cycle of an invocation in milliseconds. | +| `hazelcast.operation.backup.timeout.millis` | 5000 | `int` | Maximum time for a caller to wait for backup responses of an operation. After this timeout, operation response is returned to the caller even if no backup response is received. | +| `hazelcast.operation.call.timeout.millis` | 60000 | `int` | Timeout to wait for a response when a remote call is sent, in milliseconds. | +| `hazelcast.operation.fail.on.indeterminate.state` | `false` | `bool` | When enabled, an operation fails with `IndeterminateOperationStateException` if it does not receive backup acks in time with respect to backup configuration of its data structure. It also fails if the member which owns primary replica of the target partition leaves the cluster. | +| `hazelcast.operation.generic.thread.count` | 2 | `int` | Number of generic operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and `processor count / 2`. | +| `hazelcast.operation.priority.generic.thread.count` | 1 | `int` | Number of priority generic operation handler threads per member. Having at least one priority generic operation thread helps to improve cluster stability. This is because a lot of cluster operations are generic priority operations and they should get executed as soon as possible. If there is a dedicated generic operation thread then these operations do not get delayed because the generic threads are busy executing regular user operations. So unless memory consumption is an issue, make sure there is at least one thread. | +| `hazelcast.operation.response.thread.count` | 2 | `int` | Number of threads that process responses. The default value gives stable and good performance. If set to 0, the response threads are bypassed and the response handling is done on the IO threads. Under certain conditions this can give a higher throughput. | +| `hazelcast.operation.responsequeue.idlestrategy` | `block` | `string` | Specifies whether the response thread for internal operations on the member side are blocked or not. If you use `block` (the default value) the thread is blocked and need to be notified which can cause a reduction in the performance. If you use `backoff` there is no blocking. By enabling the backoff mode and depending on your use case, you can get a 5-10% performance improvement. However, keep in mind that this increases the CPU utilization. We recommend you to use backoff with care and if you have a tool for measuring your cluster's performance. | +| `hazelcast.operation.thread.count` | 2 | `int` | Number of partition based operation handler threads for each Hazelcast member. Its default value is the maximum of `2` and count of available processors. | + +## Partitions and migration + +These properties control partitions and how members migrate them: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.partition.backup.sync.interval` | 30 | `int` | Interval for syncing backup replicas in seconds. | +| `hazelcast.partition.count` | 271 | `int` | Total partition count. | +| `hazelcast.partition.max.parallel.migrations` | 10 | `int` | Maximum number of partition migrations to be executed concurrently on a member. Member can be either source or target of the migration. Having too much parallelization can increase the heap memory usage and overload the network during a partition rebalance. Having less parallelization can increase the total migration completion time. The default value, `10`, is fine for most of the setups. | +| `hazelcast.partition.max.parallel.replications` | 10 | `int` | Maximum number of parallel partition backup replication operations per member. When a partition backup ownership changes or a backup inconsistency is detected, the members start to sync their backup partitions. This parameter limits the maximum running replication operations in parallel. The default value, which is the value of `hazelcast.partition.max.parallel.migrations`, is fine for most of the setups. | +| `hazelcast.partition.migration.chunks.enabled` | `true` | `bool` | Subdivides the migration fragments into chunks to prevent out-of-memory errors during large partition migrations. | +| `hazelcast.partition.migration.chunks.max.migrating.data.in.mb` | 250 | `int` | Limits the total size of migration data in MB for a single partition migration operation. If you have parallel migrations, the total size of migration data in MB is limited to the number of parallel migrations multiplied by this value. | +| `hazelcast.partition.migration.fragments.enabled` | `true` | `bool` | When enabled, which is the default behavior, partitions are migrated/replicated in small fragments instead of one big chunk. Migrating partitions in fragments reduces pressure on the memory and network since smaller packets are created in the memory and sent through the network. Note that it can increase the migration time to complete. | +| `hazelcast.partition.migration.interval` | 0 | `int` | Interval to run partition migration tasks in seconds. | +| `hazelcast.partition.migration.stale.read.disabled` | `false` | `bool` | Hazelcast allows read operations to be performed while a partition is being migrated. This can lead to stale reads for some scenarios. You can disable stale read operations by setting this system property's value to "true". Its default value is "false", meaning that stale reads are allowed. | +| `hazelcast.partition.migration.timeout` | 300 | `int` | Timeout for partition migration tasks in seconds. | +| `hazelcast.partition.table.send.interval` | 15 | `int` | Interval for publishing partition table periodically to all cluster members in seconds. | +| `hazelcast.partitioning.strategy.class` | | `string` | Class name implementing `com.hazelcast.core.PartitioningStrategy`, which defines key to partition mapping. | + +## Maps, caches, and Near Cache + +These properties control maps, caches, Near Cache invalidation, locks, and the event journal: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.cache.invalidation.batch.enabled` | `true` | `bool` | Specifies whether the cache invalidation event batch sending is enabled or not. | +| `hazelcast.cache.invalidation.batch.size` | 100 | `int` | Defines the maximum number of cache invalidation events to be drained and sent to the event listeners in a batch. | +| `hazelcast.cache.invalidation.batchfrequency.seconds` | 5 | `int` | Defines cache invalidation event batch sending frequency in seconds. | +| `hazelcast.concurrent.window.ms` | 100 | `int` | Property needed for concurrency detection so that write through can be done correctly. This property sets the time window, in milliseconds, between the concurrency detection and its notification. Normally in a concurrent system, the window keeps sliding forward so it always remains concurrent. Setting it too high effectively disables the optimization because once a concurrency is detected it keeps that way. Setting it too low could lead to suboptimal performance because the system tries write through and other optimizations even though the system is concurrent. | +| `hazelcast.internal.map.expiration.cleanup.operation.count` | N/A | `int` | Count of scannable partitions in each run of the background expiration task. No default value exists. It is dynamically calculated against the partition count or partition thread count. | +| `hazelcast.internal.map.expiration.cleanup.percentage` | 10 | `int` | Scannable percentage of the entries in the maps' partitions in each run of the background expiration task. | +| `hazelcast.internal.map.expiration.task.period.seconds` | 5 | `int` | Interval, in seconds, at which the background expiration task is going to run. | +| `hazelcast.internal.map.expired.key.scan.timeout.nanos` | 1000000 | `int` | Timeout for a partition of a map. Its default value is 1000000 nanoseconds (1 ms). It puts an upper limit for execution of a background expiry operations to prevent the high CPU usages when a partition's size increases. | +| `hazelcast.invalidation.max.tolerated.miss.count` | 10 | `int` | If missed invalidation count is bigger than this value, relevant cached data is made unreachable. | +| `hazelcast.invalidation.reconciliation.interval.seconds` | 60 | `int` | Period for which the cluster members are scanned to compare generated invalidation events with the received ones from Near Cache. | +| `hazelcast.jcache.provider.type` | | `string` | Type of the JCache provider. Values can be `client` or `server`. | +| `hazelcast.journal.cleanup.threshold` | 1.0 | `float` | The cleanup threshold for the event journal, expressed as a fraction of its capacity (a value between 0.0 and 1.0). When the remaining capacity falls below this threshold, a cleanup may be triggered during put operations to remove expired events (only if a [time-to-live](../develop-and-build/distributed-data-structures/streaming-data-structures/event-journal.mdx#configuring-event-journal-ttl) for event journal is configured). A value of 0.0 means that no cleanup is performed, while a value of 1.0 means cleanup is triggered after each put operation. | +| `hazelcast.lock.max.lease.time.seconds` | `Long.MAX_VALUE` | `long` | All locks which are acquired without an explicit lease time use this value (in seconds) as the lease time. When you want to set an explicit lease time for your locks, you cannot set it to a longer time than this value. | +| `hazelcast.map.entry.filtering.natural.event.types` | `false` | `bool` | Notify [entry listeners with predicates](../develop-and-build/distributed-data-structures/ap-data-structures/map/listening-for-map-entries.mdx) on map entry updates with events that match entry, update or exit from predicate value space. | +| `hazelcast.map.eviction.batch.size` | 1 | `int` | Maximum number of IMap entries Hazelcast evicts during a single eviction cycle. Eviction cycle is triggered by a map mutation. Typically it is fine to evict at most a single entry. However, when you insert values in a loop, each iteration doubles the entry size. In this situation more than just a single entry should be evicted. | +| `hazelcast.map.eviction.sample.count` | 15 | `int` | Count of the IMap entries in the entry set formed by random samplings from which Hazelcast chooses to remove the optimal entry during an IMap eviction. | +| `hazelcast.map.expiry.delay.seconds` | 10 | `int` | Delays expiration of backup map entries by the defined amount. This may be useful to prevent some cases where an entry might be observed on the primary replica (partition owner) but not on the backup replica. For instance, when running an entry processor on both primary and backup replicas. | +| `hazelcast.map.invalidation.batch.enabled` | `true` | `bool` | Enable or disable batching. When it is set to `false`, all invalidations are sent immediately. | +| `hazelcast.map.invalidation.batch.size` | 100 | `int` | Maximum number of invalidations in a batch. | +| `hazelcast.map.invalidation.batchfrequency.seconds` | 10 | `int` | If the collected invalidations do not reach the configured batch size, a background process sends them at this interval. | +| `hazelcast.map.load.chunk.size` | 1000 | `int` | Maximum size of the key batch sent to the partition owners for value loading. This is also the maximum size of a key batch for which values are loaded in a single partition. | +| `hazelcast.map.loaded.key.limit.per.node` | 50000 | `int` | Maximum number of keys read into memory at a time. This is a per-member limit to prevent `OutOfMemoryError` when multiple maps are tried to load concurrently from the same member. | +| `hazelcast.map.replica.scheduled.task.delay.seconds` | 10 | `int` | Scheduler delay for map tasks that are executed on backup members. | +| `hazelcast.map.write.behind.queue.capacity` | 50000 | `string` | Maximum write-behind queue capacity per member. It is the total of all write-behind queue sizes in a member including backups. Its maximum value is `Integer.MAX_VALUE`. The value of this property is taken into account only if the `write-coalescing` element of the Map Store configuration is `false`. See [Configuring a MapStore](../develop-and-build/working-with-external-data/configuration-guide.mdx) for the description of the `write-coalescing` element. | + +## Queries and indexes + +These properties control query execution, aggregations, and indexes: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.aggregation.accumulation.parallel.evaluation` | `true` | `bool` | Specifies whether to run the aggregation accumulation for multiple entries in parallel. Each Hazelcast member executes the accumulation stage of an aggregation using a single thread by default. In most cases it is useful to do it in parallel. | +| `hazelcast.hd.global.index.enabled` | `true` | `bool` | Specifies whether the global concurrent High-Density Memory Store indexes are enabled or not. | +| `hazelcast.index.copy.behavior` | `COPY_ON_READ` | `string` | Defines the behavior for index copying on index read/write. See the [Copying Indexes section](../develop-and-build/improving-query-performance/indexing-maps.mdx#copying-indexes). | +| `hazelcast.query.max.local.partition.limit.for.precheck` | 3 | `int` | Maximum value of local partitions to trigger local pre-check for `Predicates#alwaysTrue()` query operations on maps. | +| `hazelcast.query.optimizer.type` | `RULES` | `string` | Type of the query optimizer. For optimizations based on static rules, set the value to `RULES`. To disable the optimization, set the value to `NONE`. | +| `hazelcast.query.predicate.parallel.evaluation` | `false` | `bool` | Each Hazelcast member evaluates query predicates using a single thread by default. In most cases, the overhead of inter-thread communications outweighs the benefit of parallel execution. When you have a large dataset and/or slow predicate, you may benefit from parallel predicate evaluations. Set to `true` if you are using slow predicates or have \> 100,000s entries per member. | +| `hazelcast.query.result.size.limit` | -1 | `int` | Result size limit for query operations on maps. This value defines the maximum number of returned elements for a single query result. If a query exceeds this number of elements, a `QueryResultSizeExceededException` is thrown. Its default value is -1, meaning it is disabled. See [Setting Query Result Size Limit](../develop-and-build/improving-query-performance/preventing-out-of-memory.mdx#setting-query-result-size-limit) for a detailed explanation of setting a result size limit. | + +## Diagnostics, metrics, and logging + +The properties in this section control diagnostics, health monitoring, slow operation detection, metrics, and logging. + +### Diagnostics log + +These properties control the diagnostics log. :::note -We recommend configuring the zero-config Compact serialization filter through the [`zero-config-filter` element](../develop-and-build/serialization/compact-serialization/overview.mdx#zero-config-filter) in your member or client configuration, rather than through these system properties. The system properties are provided mainly to ease upgrades from pre-5.7 versions that rely on them for hardened configuration. +For detailed information about the diagnostic tool and the diagnostics properties, see the [Diagnostics section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#diagnostics). ::: -Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. - -
`hazelcast.serialization.compact.allowlist.packages`stringComma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.allowlist.prefixes`stringComma-separated list of class-name prefixes to allow for ZCCS.
`hazelcast.serialization.compact.blocklist.classes`stringComma-separated list of fully qualified class names to block from ZCCS. Default is empty.
`hazelcast.serialization.compact.blocklist.defaults`trueboolControls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options.
`hazelcast.serialization.compact.blocklist.packages`stringComma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched.
`hazelcast.serialization.compact.blocklist.prefixes`stringComma-separated list of class-name prefixes to block from ZCCS.
`hazelcast.serialization.version`longVersion of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version.
`hazelcast.shutdownhook.enabled`trueboolEnables/disables Hazelcast shutdownhook thread. When enabled, the shutdown action is determined according to the value of [`hazelcast.shutdownhook.policy`](#hazelcast.shutdownhook.policy).
`hazelcast.shutdownhook.policy`TERMINATEstring - -Specifies the behavior when JVM is exiting while the Hazelcast instance is still running. It has two values: TERMINATE and GRACEFUL. The former one terminates the Hazelcast instance immediately. The latter, GRACEFUL, initiates the graceful shutdown which can significantly slow down the JVM exit process, but it tries to retain data safety. +The diagnostics properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.diagnostics.directory` | `user.dir` | `string` | Output directory of the diagnostic log files. | +| `hazelcast.diagnostics.enabled` | `false` | `bool` | Specifies whether diagnostics tool is enabled or not for the cluster. | +| `hazelcast.diagnostics.filename.prefix` | | `string` | Optional prefix for the diagnostics log file. | +| `hazelcast.diagnostics.invocation.sample.period.seconds` | 0 | `long` | Frequency of scanning all the pending invocations in seconds. 0 means the `Invocations` plugin for diagnostics tool is disabled. | +| `hazelcast.diagnostics.invocation.slow.threshold.seconds` | 5 | `long` | Threshold period, in seconds, that makes an invocation to be considered as slow. | +| `hazelcast.diagnostics.max.rolled.file.count` | 10 | `int` | Allowed count of diagnostic files within each roll. | +| `hazelcast.diagnostics.max.rolled.file.size.mb` | 50 | `int` | Size of each diagnostic file to be rolled. | +| `hazelcast.diagnostics.member-heartbeat.max-deviation-percentage` | 100 | `int` | Maximum allowed deviation for member-to-member heartbeats. | +| `hazelcast.diagnostics.member-heartbeat.period.seconds` | 10 | `long` | Period for which the MemberHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.memberinfo.period.seconds` | 60 | `long` | Frequency, in seconds, at which the cluster information is dumped to the diagnostics log file. | +| `hazelcast.diagnostics.metrics.period.seconds` | 60 | `long` | Frequency, in seconds, at which the Metrics plugin dumps information to the diagnostics log file. | +| `hazelcast.diagnostics.operation-heartbeat.max-deviation-percentage` | 33 | `int` | Maximum allowed deviation for member-to-member operation heartbeats. | +| `hazelcast.diagnostics.operation-heartbeat.seconds` | 10 | `long` | Period, in seconds, for which the OperationHeartbeats plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.pending.invocations.period.seconds` | 0 | `long` | Period, in seconds, for which the PendingInvocations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.slowoperations.period.seconds` | 60 | `long` | Period, in seconds, for which the SlowOperations plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.stdout` | `FILE` | `string` | Configures the output for the diagnostics. Available values are `FILE`, `STDOUT`, and `LOGGER`. | +| `hazelcast.diagnostics.storeLatency.period.seconds` | 0 | `long` | Period, in seconds, for which the StoreLatency plugin of the diagnostics tool runs. 0 means this plugin is disabled. | +| `hazelcast.diagnostics.storeLatency.reset.period.seconds` | 0 | `long` | Period, in seconds, for resetting the statistics for the StoreLatency plugin of the diagnostics tool. | +| `hazelcast.diagnostics.systemlog.enabled` | `true` | `bool` | Specifies whether the SystemLog plugin of the diagnostics tool is enabled or not. | +| `hazelcast.diagnostics.systemlog.partitions` | `false` | `bool` | Specifies whether the SystemLog plugin collects information about partition migrations. | + +### Health monitoring + +These properties control the health monitor: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.health.monitoring.delay.seconds` | 20 | `int` | Health monitoring logging interval in seconds. NOTE: For detailed information about the health monitoring tool, along with this and the following health monitoring related system properties, see the [Health Check and Monitoring section](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#health-check-and-monitoring). | +| `hazelcast.health.monitoring.level` | `SILENT` | `string` | Health monitoring log level. When `SILENT`, logs are printed only when values exceed some predefined threshold. When `NOISY`, logs are always printed periodically. Set `OFF` to turn off completely. | +| `hazelcast.health.monitoring.threshold.cpu.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the CPU usage exceeds this threshold. | +| `hazelcast.health.monitoring.threshold.memory.percentage` | 70 | `int` | When the health monitoring level is `SILENT`, logs are printed only when the memory usage exceeds this threshold. | + +### Slow operation detector + +These properties control the slow operation detector: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.slow.operation.detector.enabled` | `true` | `bool` | Enables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx). | +| `hazelcast.slow.operation.detector.log.purge.interval.seconds` | 300 | `int` | Purge interval for slow operation logs. | +| `hazelcast.slow.operation.detector.log.retention.seconds` | 3600 | `int` | Defines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted. | +| `hazelcast.slow.operation.detector.stacktrace.logging.enabled` | `false` | `bool` | Defines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small. | +| `hazelcast.slow.operation.detector.threshold.millis` | 10000 | `int` | Defines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. The value should be set at least 1000 ms. The detector cannot reliably detect all operations taking under 1000 ms. | + +### Metrics, JMX, and Management Center + +These properties control metrics collection, JMX, and the data that members send to Management Center: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jmx` | `false` | `bool` | Enable [JMX](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#monitoring-with-jmx) agent. | +| `hazelcast.jmx.update.interval.seconds` | 5 | `int` | Some JMX MBeans are cached to reduce the overhead of calculating statistics. This parameter determines for how long the MBeans can go stale. | +| `hazelcast.mc.executor.thread.count` | 2 | `int` | Number of threads that the Management Center service has available for processing the operations sent from the connected Management Center instance. | +| `hazelcast.mc.max.visible.slow.operations.count` | 10 | `int` | Management Center maximum visible slow operations count. | +| `hazelcast.metrics.collection.frequency` | 5 | `int` | Frequency, in seconds, of the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) collection cycle. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.datastructures.enabled` | `true` | `bool` | Specifies whether collecting metrics from the distributed data structures is enabled. | +| `hazelcast.metrics.debug.enabled` | `false` | `bool` | Enables collecting debug metrics if set to true, disables it otherwise. Note that this can be set with system property only. | +| `hazelcast.metrics.enabled` | `true` | `bool` | Enables the [metrics collection](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.jmx.enabled` | `true` | `bool` | Enables exposing the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) over JMX if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.enabled` | `true` | `bool` | Enables buffering the collected [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) for Management Center if set to `true`, disables it otherwise. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | +| `hazelcast.metrics.mc.retention` | 5 | `int` | Duration, in seconds, that the [metrics](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#metrics) are retained for Management Center. Note that the preferred way for controlling this setting is [Metrics Configuration](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#configuration). | + +### Logging + +These properties control logging: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.logging.details.enabled` | `true` | `bool` | Specifies whether the cluster name, IP and version should be included in all log messages. | +| `hazelcast.logging.emoji.enabled` | `false` | `bool` | Specifies whether cluster emojis can be used in log messages. This is just a hint for components calling the logging. | +| `hazelcast.logging.type` | `jdk` | `enum` | Name of [logging](../operate-and-manage/logging.mdx) framework type to send logging events. | + +## Persistence and native memory + +These properties control Persistence and native memory: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.hidensity.check.freememory` | `true` | `bool` | If enabled and is able to fetch memory statistics via Java's `OperatingSystemMXBean`, it checks whether there is enough free physical memory for the requested number of bytes. If the free memory checker is disabled (false), acts as if the check is succeeded. | +| `hazelcast.hotrestart.free.native.memory.percentage` (deprecated) | 15 | `long` | Percentage of the free memory space that is required for [Persistence](../operate-and-manage/fault-tolerance/persistence/persistence.mdx). | +| `hazelcast.persistence.auto.cluster.state` | `true` | `bool` | Enables/disables [automatic state management](../develop-and-build/kubernetes/kubernetes-persistence.mdx) of clusters in Kubernetes StatefulSet, which are configured with persistence enabled. When enabled, Hazelcast monitors the runtime environment to detect the intent of shutdown and automates the cluster state management decisions. | +| `hazelcast.persistence.auto.cluster.state.strategy` | `NO_MIGRATION` | `string` | Selects the [cluster state](../develop-and-build/kubernetes/kubernetes-persistence.mdx) to be used when members are temporarily missing from a cluster in Kubernetes StatefulSet which is configured with persistence enabled. Valid values are `NO_MIGRATION` and `FROZEN`. | + +## Jet + +These properties control the Jet engine, which runs data pipelines and jobs: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.jet.custom.lib.dir` | `custom-lib` | `string` | The directory containing the JAR files, that can be used to specify custom classpath for a stage in a pipeline. | +| `hazelcast.jet.idle.cooperative.max.microseconds` | 500 | `int` | The maximum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.cooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit throughput. | +| `hazelcast.jet.idle.noncooperative.max.microseconds` | 5000 | `int` | The maximum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.idle.noncooperative.min.microseconds` | 25 | `int` | The minimum time in microseconds the non-cooperative worker threads sleep if none of the tasklets made any progress. Lower values increase idle CPU usage but may result in decreased latency. Higher values increase latency, and high values (\>10000µs) also limit the throughput. | +| `hazelcast.jet.job.results.max.size` | 1000 | `int` | Maximum number of job results to keep in the cluster; the oldest results are automatically deleted after this size is reached. | +| `hazelcast.jet.job.results.ttl.seconds` | 604800 | `int` | Maximum amount of time in seconds the job results are kept in the cluster. They are automatically deleted after this period is reached. | +| `hazelcast.jet.job.scan.period` | 5000 | `int` | The Jet engine periodically checks for new jobs to start and perform cleanup of the unused resources. This property configures how often this check and cleanup is done, in milliseconds. | + +## WAN replication + +These properties control WAN replication: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.wan.consumer.ack.delay.backoff.init` | 1 | `int` | Defines the initial backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.max` | 100 | `int` | Defines the maximum backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.ack.delay.backoff.multiplier` | `1.5D` | `string` | Defines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the acknowledgment delaying feature is enabled. | +| `hazelcast.wan.consumer.invocation.threshold`| 50000 | `int` | Defines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member delay the WAN acknowledgment. This slows down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature. | +| `hazelcast.wan.replicate.icache.evictions` | `false` | `bool` | Specifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | +| `hazelcast.wan.replicate.imap.evictions` | `false` | `bool` | Specifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters. | + +## Configuration and security + +These properties control configuration loading, licensing, security checks, and phone home: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.config.instance.tracking.file` | | `string` | The JVM system property which gets a value as the full path of the instance tracking file for each Hazelcast member. It can then be used to verify the name and location of this file. See [Instance Tracking](../operate-and-manage/maintaining-a-cluster/monitoring.mdx#instance-tracking). | +| `hazelcast.data.search.dynamic.config.first.enabled` | `false` | `bool` | Enables performing search for the data structures within the dynamic configurations first. Default behavior is searching within the static configurations. | +| `hazelcast.dynamicconfig.ignore.conflicts` | | `bool` | When it is set to `true`, Hazelcast does not check if the added dynamic configuration conflicts with an existing dynamic configuration. Existing dynamic configuration is not replaced. Note that, this property is not meant to ignore the conflicts between static configuration and dynamic configuration. If the added dynamic configuration exists in the static configuration of the member, it throws an exception regardless of this property. | +| `hazelcast.enterprise.license.key` | `null` | `string` | [Hazelcast Enterprise](https://hazelcast.com/products/) license key. | +| `hazelcast.ignoreXxeProtectionFailures` | `false` | `bool` | If enabled and when a problem occurs during enabling XML External Entity (XXE) protection, then the problem is ignored and only a warning message is logged. This property should only be used as a last resort. Hazelcast uses the XXE protection by setting respective XML processor properties. These properties are supported in modern XML processors, e.g., the default one available in Java. An old processor on the classpath, such as Xerces and Xalan, may miss the support and throw an exception during enabling the XXE protection. Setting this system property to `true` allows ignoring such exceptions. | +| `hazelcast.phone.home.enabled` | `true` | `bool` | Enable or disable the sending of phone home data to Hazelcast's phone home server. | +| `hazelcast.rest.allow.config.templating` | `false` | `bool` | Enables [configuration variables or templating](../operate-and-manage/configuration/static-configuration/configuring-declaratively.mdx#variables) for updating configuration over the [REST API](../clients-and-apis/apis/enterprise-rest-api/overview.mdx). | +| `hazelcast.security.recommendations` | `null` | `string` | When set to any non-null value, security recommendations are logged at the `INFO` level during the member startup. | + +## Serialization + +These properties control serialization, including the filter for zero-config Compact serialization. :::note -Always shutdown Hazelcast explicitly using the `HazelcastInstance.shutdown()` method; see [Graceful Shutdown](../operate-and-manage/maintaining-a-cluster/shutdown.mdx#graceful-shutdown). It's not recommended to rely on the shutdown hook, this is a last-effort measure. +We recommend configuring the zero-config Compact serialization filter through the [`zero-config-filter` element](../develop-and-build/serialization/compact-serialization/overview.mdx#zero-config-filter) in your member or client configuration, rather than through the `hazelcast.serialization.compact.allowlist.*` and `hazelcast.serialization.compact.blocklist.*` system properties. The system properties are provided mainly to ease upgrades from pre-5.7 versions that rely on them for hardened configuration. ::: -
`hazelcast.slow.operation.detector.enabled`trueboolEnables/disables the [SlowOperationDetector](../develop-and-build/best-practices/overview.mdx).
`hazelcast.slow.operation.detector.log.purge.interval.seconds`300intPurge interval for slow operation logs.
`hazelcast.slow.operation.detector.log.retention.seconds`3600intDefines the retention time of invocations in slow operation logs. If an invocation is older than this value, it is purged from the log to prevent unlimited memory usage. When all invocations are purged from a log, the log itself is deleted.
`hazelcast.slow.operation.detector.stacktrace.logging.enabled`falseboolDefines if the stacktraces of slow operations are logged in the log file. Stack traces are always reported to the Management Center, but by default, they are not printed to keep the log size small.
`hazelcast.slow.operation.detector.threshold.millis`10000intDefines a threshold above which a running operation in `OperationService` is considered to be slow. These operations log a warning and are shown in the Management Center with detailed information, e.g., stacktrace. The value should be set at least 1000 ms. The detector cannot reliably detect all operations taking under 1000 ms.
`hazelcast.socket.bind.any`trueboolBind both server-socket and client-sockets to any local interface. For ZIP and TAR distributions, this is overridden by false in configuration files.
`hazelcast.socket.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket should be a direct byte buffer (`true`) or a regular one (`false`). When it is set to `true`, Hazelcast internally uses the method `ByteBuffer.allocateDirect` (instead of `ByteBuffer.allocate`) which makes use of the off-heap and may skip the memory copying when performing socket I/O operations. See [here](https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html) for more information.
`hazelcast.socket.client.bind`trueboolBind client socket to an interface when connecting to a remote server socket. When set to `false`, client socket is not bound to any interface.
`hazelcast.socket.client.bind.any`trueboolBind client-sockets to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.socket.client.buffer.direct`falseboolSpecifies whether the byte buffers used in the socket, when connecting to a client, should be direct or a regular one.
`hazelcast.socket.client.receive.buffer.size`-1intHazelcast creates all connections with receive buffer size set according to the `hazelcast.socket.receive.buffer.size`. When it detects a connection opened by a client, then it adjusts the receive buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.client.send.buffer.size`-1intHazelcast creates all connections with send buffer size set according to the `hazelcast.socket.send.buffer.size`. When it detects a connection opened by a client, then it adjusts the send buffer size according to this property. It is in kilobytes and its default value is -1.
`hazelcast.socket.connect.timeout.seconds`10intSocket connection timeout in seconds. `Socket.connect()` is blocked until either connection is established or connection is refused or this timeout passes. Default is 10 seconds, 0 means infinite.
`hazelcast.socket.keep.alive`trueboolSets a socket to be in the `SO_KEEPALIVE` option.
`hazelcast.socket.linger.seconds`0intSets the linger value (timeout) for a socket in the `SO_LINGER` option.
`hazelcast.socket.no.delay`trueboolSpecifies whether the delay of sending successive small packets on the network is disabled.
`hazelcast.socket.receive.buffer.size`128intSocket receive buffer (`SO_RCVBUF`) size in KB. If you have a very fast network, e.g., 10gbit) and/or you have large entries, then you may benefit from increasing sender/receiver buffer sizes. Use this property and the next one below tune the size.
`hazelcast.socket.send.buffer.size`128intSocket send buffer (`SO_SNDBUF`) size in KB.
`hazelcast.socket.server.bind.any`trueboolBind server-socket to any local interface. If not set, `hazelcast.socket.bind.any` is used as the default.
`hazelcast.tcp.join.port.try.count`3intThe number of incremental ports, starting with the port number defined in the network configuration, that is used to connect to a host (which is defined without a port in TCP/IP member list while a member is searching for a cluster).
`hazelcast.tcp.join.previously.joined.member.address.retention.seconds`14400intSpecifies how long the address of a member that has previously joined the cluster will be retained/remembered in the TCP/IP joiner, after it leaves the cluster. In a split-brain scenario, this member addresses is used to discover the other cluster by the split-brain handler.
`hazelcast.wait.seconds.before.join`5intWait time before join operation. This time establishes a pre-join phase time window for newcomer members to make their first join requests. Once `hazelcast.wait.seconds.before.join` elapses since the last first-timer join request (i.e., where the member hasn't made any previous join request), or the pre-join phase has lasted for `hazelcast.max.wait.seconds.before.join` seconds, the phase ends and the master starts forming the cluster. See `hazelcast.async.join.strategy.enabled` for how this behaviour can change.
`hazelcast.wan.consumer.ack.delay.backoff.init`1intDefines the initial backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.max`100intDefines the maximum backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled.
`hazelcast.wan.consumer.ack.delay.backoff.multiplier`1.5DstringDefines the multiplier (the speed of the function) for the backoff delay for the WAN implementation's consumer. It is used if the [acknowledgment delaying](#ack-delay) feature is enabled
`hazelcast.wan.consumer.invocation.threshold`50000intDefines the pending invocation threshold for the WAN replication implementation. Exceeding this threshold on a WAN consumer member makes the member to delay the WAN acknowledgment, thus slowing down the WAN publishers on the source side that send WAN events to the given WAN consumer. Setting this value to negative disables the acknowledgment delaying feature.
`hazelcast.wan.replicate.imap.evictions`falseboolSpecifies whether `IMap` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`hazelcast.wan.replicate.icache.evictions`falseboolSpecifies whether `ICache` objects replicate entry evictions over WAN to target clusters. Use this property with caution. When enabled, *ALL* evictions, including size or expiration-driven evictions and manual invocations are replicated to target clusters. Setting this property to `true` does not guarantee data consistency between clusters.
`tcp.channels.per.connection`1intNumber of parallel connections between members. Not having more connections than IO threads is recommended.
+The serialization properties are: + +| Property name | Default value | Type | Description | +| --- | --- | --- | --- | +| `hazelcast.serialization.compact.allowlist.classes` | | `string` | Comma-separated list of fully qualified class names to allow for [zero-config Compact serialization](../develop-and-build/serialization/compact-serialization/overview.mdx) (ZCCS). If set, only classes on this list (and not on the blocklist) are eligible for ZCCS. Default is empty. | +| `hazelcast.serialization.compact.allowlist.packages` | | `string` | Comma-separated list of package names to allow for ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.allowlist.prefixes` | | `string` | Comma-separated list of class-name prefixes to allow for ZCCS. | +| `hazelcast.serialization.compact.blocklist.classes` | | `string` | Comma-separated list of fully qualified class names to block from ZCCS. Default is empty. | +| `hazelcast.serialization.compact.blocklist.defaults` | `true` | `bool` | Controls whether the default blocklist of known-problematic classes is applied for ZCCS. Note that this property is `defaults`, not `defaultsDisabled` as seen for other configuration options. | +| `hazelcast.serialization.compact.blocklist.packages` | | `string` | Comma-separated list of package names to block from ZCCS. Only classes in the exact package (not sub-packages) are matched. | +| `hazelcast.serialization.compact.blocklist.prefixes` | | `string` | Comma-separated list of class-name prefixes to block from ZCCS. | +| `hazelcast.serialization.version` | | `long` | Version of the Hazelcast serialization. Accepted values are between 1 and the highest supported serialization version. | diff --git a/management-center/cluster/client-filtering/create-filter-lists-rest.mdx b/management-center/cluster/client-filtering/create-filter-lists-rest.mdx index 320a303c..eb3c77ac 100644 --- a/management-center/cluster/client-filtering/create-filter-lists-rest.mdx +++ b/management-center/cluster/client-filtering/create-filter-lists-rest.mdx @@ -9,7 +9,7 @@ You can define filter lists to allow or disallow client connections to clusters, ## Before you begin - Configure your Hazelcast clients with one or more failover clusters to make sure that disconnected clients can connect to another cluster. For a tutorial, see . -- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) property. +- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#general) property. - If you are not using Management Center in dev mode, generate an [authentication token](../../integrate/clustered-rest/clustered-rest.mdx) to use in HTTP requests. You can deploy either an allow list or a deny list to a cluster, not both. If you deploy an allow list, the cluster disallows connections from any clients that aren't in the allow list. If you deploy a deny list, the cluster allows connections from any client that isn't in the deny list. diff --git a/management-center/cluster/client-filtering/overview.mdx b/management-center/cluster/client-filtering/overview.mdx index e9ed463f..754c6f03 100644 --- a/management-center/cluster/client-filtering/overview.mdx +++ b/management-center/cluster/client-filtering/overview.mdx @@ -31,7 +31,7 @@ Management Center supports the following types of filter list: - **Allow list**: Clients that **are allowed** to connect to the cluster. - **Deny list**: Clients that **are not allowed** to connect to the cluster. -To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-client-client-filtering-modes). +To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#cluster-connections). ![Client Filtering View](./images/ClientFilteringView.png) diff --git a/management-center/cluster/healthcheck.mdx b/management-center/cluster/healthcheck.mdx index b2011752..d89e7a4d 100644 --- a/management-center/cluster/healthcheck.mdx +++ b/management-center/cluster/healthcheck.mdx @@ -100,4 +100,4 @@ A check may be further enabled for the whole cluster, or for a specific data str You can exclude a check from Healthcheck analysis entirely by adding the check ID (shown in the left column) to the `hazelcast.mc.clusterHealthCheck.exclude` system property. Excluded checks will not be performed on any member in the cluster and will not appear in the Healthcheck report. -See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-clusterHealthCheck-exclude) for more information. +See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) for more information. diff --git a/management-center/deploy-and-manage/configuration/configuring.mdx b/management-center/deploy-and-manage/configuration/configuring.mdx index 73598b67..bf350cff 100644 --- a/management-center/deploy-and-manage/configuration/configuring.mdx +++ b/management-center/deploy-and-manage/configuration/configuring.mdx @@ -16,7 +16,7 @@ By default, Management Center saves the following data in the `hazelcast-mc` dir - Configuration settings - Metrics -You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home). +You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#general). ## Ways to configure Management Center diff --git a/management-center/deploy-and-manage/configuration/declarative-configuration/overview.mdx b/management-center/deploy-and-manage/configuration/declarative-configuration/overview.mdx index 21458f9f..a435206e 100644 --- a/management-center/deploy-and-manage/configuration/declarative-configuration/overview.mdx +++ b/management-center/deploy-and-manage/configuration/declarative-configuration/overview.mdx @@ -41,7 +41,7 @@ The file covers only one-time configuration writes. It cannot issue or revoke RE ## Point Management Center at a configuration file -Set the `hazelcast.mc.config.file` system property (or the `HAZELCAST_MC_CONFIG_FILE` environment variable) to the path of your YAML file before starting Management Center. See [`hazelcast.mc.config.file`](../system-properties.mdx#hazelcast-mc-config-file). +Set the `hazelcast.mc.config.file` system property (or the `HAZELCAST_MC_CONFIG_FILE` environment variable) to the path of your YAML file before starting Management Center. See [`hazelcast.mc.config.file`](../system-properties.mdx#general). diff --git a/management-center/deploy-and-manage/configuration/logging.mdx b/management-center/deploy-and-manage/configuration/logging.mdx index 3bb2c235..9e67eba7 100644 --- a/management-center/deploy-and-manage/configuration/logging.mdx +++ b/management-center/deploy-and-manage/configuration/logging.mdx @@ -90,7 +90,7 @@ For more information about the JSON logging templates, see the [Log4j2 JSON Layo To make it easier to examine suspicious activity and troubleshoot issues, you can use audit logging to keep a record of events that happen in Management Center such as user logins. -To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#hazelcast-mc-auditlog-enabled) set to `true`. +To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#general) set to `true`. Log entries from the audit logging will be marked with the `hazelcast.auditlog` logging category, abbreviated as `h.auditlog` in logs. diff --git a/management-center/deploy-and-manage/configuration/mc-conf.mdx b/management-center/deploy-and-manage/configuration/mc-conf.mdx index 63503e85..6166d573 100644 --- a/management-center/deploy-and-manage/configuration/mc-conf.mdx +++ b/management-center/deploy-and-manage/configuration/mc-conf.mdx @@ -45,7 +45,7 @@ To use the `hz-mc conf` tool, execute the `hz-mc conf` command in the `bin/` dir :::tip - If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home), you must provide the path to the home directory with the `-H` or `--home` options. + If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#general), you must provide the path to the home directory with the `-H` or `--home` options. ::: 3. To see documentation for a specific command, enter the command, followed by the `-h` flag. @@ -105,7 +105,7 @@ The `hz-mc conf` tool comes with the following commands. Each command includes t ## Skip the check for a lock file -When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#hazelcast-mc-lock-skip). +When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#general). ```bash export JAVA_OPTS='-Dhazelcast.mc.lock.skip=true' diff --git a/management-center/deploy-and-manage/configuration/system-properties.mdx b/management-center/deploy-and-manage/configuration/system-properties.mdx index 470cdd01..e5afe2e7 100644 --- a/management-center/deploy-and-manage/configuration/system-properties.mdx +++ b/management-center/deploy-and-manage/configuration/system-properties.mdx @@ -9,1854 +9,229 @@ import TabItem from "@theme/TabItem"; You can use system properties and environment variables to configure many aspects of Management Center, from JMX to the home directory and feature flags. These properties give you the power to tweak settings at startup without having to configure anything in the UI. -If an environment variable isn't available for a property and you start Management Center using any of the following methods, you can use the `JAVA_OPTS` environment variable to set system properties: - -- Docker environments - - :::tip - - You may also need to use other environment variables. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). - - ::: -- `hz-mc conf` tool -- Start scripts included with Hazelcast Platform or Management Center such as `hz-mc start`. - -You can use properties to configure both Management Center and Management Center's client connection strategy on startup. - -You can also set the properties on this page in the `properties` section of a [YAML declarative configuration file](./declarative-configuration/overview.mdx#properties) (Beta). System properties and environment variables override the values in that file. - -## Management Center configuration - -If an environment variable is available, it is listed under the system property in the Property column. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
- -

`hazelcast.mc.allowMultipleLogin`

- -

`MC_ALLOW_MULTIPLE_LOGIN`

- -
Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. Default: `true`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.allowMultipleLogin=true -``` - -
- -

`hazelcast.mc.auditlog.enabled`

- -

`MC_AUDITLOG_ENABLED`

- -
Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). Default: `false`. - -```bash vars -hz-mc start -Dhazelcast.mc.auditlog.enabled=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.clusterHealthCheck.exclude`

- -

`MC_CLUSTERHEALTHCHECK_EXCLUDE`

- -
List of check identifiers to be excluded from Healthcheck. By default, this is not set. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). - -```bash vars -hz-mc start -Dhazelcast.mc.clusterHealthCheck.exclude=E001,U002 \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.config.file`

- -

`HAZELCAST_MC_CONFIG_FILE`

- -
Path to a YAML declarative configuration file that Management Center applies automatically before it starts. Not set by default. See [YAML declarative configuration (Beta)](./declarative-configuration/overview.mdx). - -```bash -hz-mc start -Dhazelcast.mc.config.file=/path/to/mc-config.yaml -``` - -
`hazelcast.mc.configReplacer.class`Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.class=com.hazelcast.webmonitor.configreplacer.EncryptionReplacer \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.failIfValueMissing`Whether the configuration loading process stops when a replacement value is missing. Default: `true`. - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.failIfValueMissing=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.contextPath`

- -

`MC_CONTEXT_PATH`

- -
Prefix of all URL paths in Management Center. Default: `' '` (empty). - -```bash vars -hz-mc start -Dhazelcast.mc.contextPath=hazelcast-mc \ --jar hazelcast-management-center-{full-version}.jar -``` - -In this example, the URL for Management Center would be `\http:localhost:8080/hazelcast-mc`. - -
- -

`hazelcast.mc.cors.allowedOriginPatterns`

- -

`MC_CORS_ALLOWED_ORIGIN_PATTERNS`

- -
- -A list of origins patterns for which cross-origin requests are allowed. - -If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedOriginPatterns=http://domain.com:[*],https://*.domain.com:8443,http://domain.com:[8080,8090], -``` - -
- -

`hazelcast.mc.cors.allowedMethods`

- -

`MC_CORS_ALLOWED_METHODS`

- -
- -HTTP methods to allow for cross-origin requests. - -By default this is not set. - -If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedMethods=GET,HEAD,POST,DELETE -``` - -
- -

`hazelcast.mc.cors.allowedHeaders`

- -

`MC_CORS_ALLOWED_HEADERS`

- -
- -List of headers that a pre-flight request can list as allowed for use during an actual request. - -The special value `*` allows actual requests to send any header. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedHeaders=* -``` - -
- -

`hazelcast.mc.cors.exposedHeaders`

- -

`MC_CORS_EXPOSED_HEADERS`

- -
- -List of response headers that an actual response might have and can be exposed to the client. - -The special value `*` allows all headers to be exposed. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.exposedHeaders=* -``` - -
- -

`hazelcast.mc.cors.allowCredentials`

- -

`MC_CORS_ALLOW_CREDENTIALS`

- -
Whether user credentials are supported or not. Setting this property to `true` forbids originPatterns, allowedMethods, allowedHeaders to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. By default this is not set (i.e. user credentials are not supported). - -```bash -hz-mc start -Dhazelcast.mc.cors.allowCredentials=true -``` - -
- -

`hazelcast.mc.cors.allowPrivateNetwork`

- -

`MC_CORS_ALLOW_PRIVATE_NETWORK`

- -
- -Whether private network access is supported for user-agents restricting such access by default. - -Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost. - -By default this is not set (i.e. private network access is not supported). - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowPrivateNetwork=true -``` - -
- -

`hazelcast.mc.cors.maxAge`

- -

`MC_CORS_MAX_AGE`

- -
- -Configure how long, in seconds, the response from a pre-flight request can be cached by clients. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.maxAge=1600 -``` - -
`hazelcast.mc.cluster.operation.timeout.millis`Timeout in milliseconds for Management Center operations that wait for a response from members. Default: 60000. - -```bash -hz-mc start -Dhazelcast.mc.cluster.operation.timeout.millis=60000 -``` - -
`hazelcast.mc.disableHostnameVerification`Whether Management Center does not verify the hostname of signed TLS/SSL certificates. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.disableHostnameVerification=true -``` - -
- -

`hazelcast.mc.disableLoginPeriodMultiplier`

- -

`MC_DISABLE_LOGIN_PERIOD_MULTIPLIER`

- -
Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. Default: `10`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.disableLoginPeriodMultiplier=20 -``` - -
- -

`hazelcast.mc.exclude.cipher.suites`

- -

`MC_EXCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.exclude.cipher.suites=^.*_(MD5|SHA|SHA1)$,^TLS_RSA_.*$,^.*_NULL_.*$ -``` - -
- -

`hazelcast.mc.existingKeyStore.path`

- -

`MC_EXISTING_KEYSTORE_PATH`

- -
Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.path=/path/to/existing/keyStore.jceks -``` - -
- -

`hazelcast.mc.existingKeyStore.pass`

- -

`MC_EXISTING_KEYSTORE_PASS`

- -
Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.pass=somepass -``` - -
- -

`hazelcast.mc.existingKeyStore.type`

- -

`MC_EXISTING_KEYSTORE_TYPE`

- -
Type of the keystore. Default: `JCEKS`. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.type=JCEKS -``` - -
- -

`hazelcast.mc.existingKeyStore.provider`

- -

`MC_EXISTING_KEYSTORE_PROVIDER`

- -
Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `` java.security.Provider` `` implementation. Default: System provider. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.provider=com.yourprovider.MyProvider -``` - -
- -

`hazelcast.mc.failedAttemptsBeforeDisableLogin`

- -

`MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN`

- -
Number of failed login attempts that Management Center allows before disabling logins. Default: `3`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.failedAttemptsBeforeDisableLogin=1 -``` - -
- -

`hazelcast.mc.forceLogoutOnMultipleLogin`

- -

`MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN`

- -
Whether Management Center forces users to log out when other users try to log into the same account. Default: `false`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.forceLogoutOnMultipleLogin=true -``` - -
- -

`hazelcast.mc.forwarded.requests.enabled`

- -

`MC_FORWARDED_REQUESTS_ENABLED`

- -
Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. Default: `true`. - -```bash -hz-mc start -Dhazelcast.mc.forwarded.requests.enabled=false -``` - -
- -

`hazelcast.mc.healthCheck.enable`

- -

`MC_HEALTH_CHECK_ENABLED`

- -
Whether the `/health` endpoint is enabled on port [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. Default: `false`. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.enable=true -``` - -In this example, the health check would be available at `http://localhost:8081/health`. - -
- -

`hazelcast.mc.healthCheck.port`

- -

`MC_HEALTH_CHECK_PORT`

- -
The port on which the `/health` endpoint is exposed. Default: [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.port=2000 -``` - -
- -

`hazelcast.mc.home`

- -

`MC_HOME`

- -
Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). - -```bash -hz-mc start -Dhazelcast.mc.home=/home/management-center -``` - -
- -

`hazelcast.mc.hostAddress`

- -

`MC_HOST_ADDRESS`

- -
Network address that Management Center is reachable on. Default: `0.0.0.0` (all network interfaces). - -```bash -hz-mc start -Dhazelcast.mc.hostAddress=127.0.1.1 -``` - -
- -

`hazelcast.mc.http.port`

- -

`MC_HTTP_PORT`

- -
HTTP port for Management Center. Default: `8080`. - -```bash -hz-mc start -Dhazelcast.mc.http.port=80 -``` - -In this example, the URL for Management Center would be `\http:localhost:80`. - -
- -

`hazelcast.mc.include.cipher.suites`

- -

`MC_INCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ -``` - -
- -

`hazelcast.mc.initialDisableLoginPeriod`

- -

`MC_INITIAL_DISABLE_LOGIN_PERIOD`

- -
Initial duration for the disabled login period in seconds. Default: `5`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.initialDisableLoginPeriod=50 -``` - -
- -

`hazelcast.mc.jmx.enabled`

- -

`MC_JMX_ENABLED`

- -
Whether the clustered JMX service is enabled. Default: `false`. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). - -```bash -hz-mc start -Dhazelcast.mc.jmx.enabled=true -``` - -
- -

`hazelcast.mc.jmx.host`

- -

`MC_JMX_HOST_NAME`

- -
Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. Default: Server's hostname. - -```bash -hz-mc start -Dhazelcast.mc.jmx.host=127.0.0.1 -``` - -
- -

`hazelcast.mc.jmx.mutualAuthentication`

- -

`MC_JMX_SSL_MUTUAL_AUTH_ENABLED`

- -
Whether mutual authentication is enabled for the JMX interface. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.mutualAuthentication=false -``` - -
- -

`hazelcast.mc.jmx.port`

- -

`MC_JMX_PORT`

- -
Port on which the clustered JMX service is exposed. Default: `9999`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.port=9000 -``` - -
- -

`hazelcast.mc.jmx.rmi.port`

- -

`MC_JMX_RMI_PORT`

- -
Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. Default: `9998`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.rmi.port=9001 -``` - -
- -

`hazelcast.mc.jmx.ssl.enabled`

- -

`MC_JMX_SSL_ENABLED`

- -
Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.enabled=true -``` - -
- -

`hazelcast.mc.jmx.ssl.protocol`

- -

`MC_JMX_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.protocol=SSLv3 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStore`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Path to a keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStore=/some/dir/selfsigned.jks -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStorePassword`

- -

`MC_JMX_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStore`

- -

`MC_JMX_SSL_TRUST_STORE`

- -
Path to a truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStore=/some/dir/truststore -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStoreType`

- -

`MC_JMX_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStoreType=DKS -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStorePassword`

- -

`MC_JMX_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustManagerAlgorithm`

- -

`MC_JMX_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStoreType`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStoreType=JKS -``` - -
- -

`hazelcast.mc.jmx.ssl.keyManagerAlgorithm`

- -

`MC_TLS_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. Default: System default. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.ldap.timeout`

- -

`MC_LDAP_CONN_TIMEOUT`

- -
Timeout in milliseconds for Active Directory and LDAP search queries. Default: `3000`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.timeout=4000 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.protocol`

- -

`MC_LDAP_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for LDAP connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStore`

- -

`MC_LDAP_SSL_KEY_STORE`

- -
Path to a keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStoreType`

- -

`MC_LDAP_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStorePassword`

- -

`MC_LDAP_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ldap.ssl.keyManagerAlgorithm`

- -

`MC_LDAP_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStore`

- -

`MC_LDAP_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStorePassword`

- -

`MC_LDAP_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStoreType`

- -

`MC_LDAP_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ldap.ssl.trustManagerAlgorithm`

- -

`MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.protocol`

- -

`MC_AD_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for AD connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStore`

- -

`MC_AD_SSL_KEY_STORE`

- -
Path to a keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStoreType`

- -

`MC_AD_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStorePassword`

- -

`MC_AD_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ad.ssl.keyManagerAlgorithm`

- -

`MC_AD_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStore`

- -

`MC_AD_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStorePassword`

- -

`MC_AD_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStoreType`

- -

`MC_AD_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ad.ssl.trustManagerAlgorithm`

- -

`MC_AD_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.license`

- -

`MC_LICENSE`

- -
Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see See [Enterprise licenses](../license-management/license-management.mdx). - -```bash -hz-mc start -Dhazelcast.mc.license={license key} -``` - -
- -

`hazelcast.mc.lock.skip`

- -

`MC_LOCK_SKIP`

- -
Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. Default: `false`. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file) - -```bash -hz-mc start -Dhazelcast.mc.lock.skip=true -``` - -
- -

`hazelcast.mc.maxDisableLoginPeriod`

- -

`MC_MAX_DISABLE_LOGIN_PERIOD`

- -
Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. - -```bash -hz-mc start -Dhazelcast.mc.maxDisableLoginPeriod= \ -``` - -
- -

`hazelcast.mc.metrics.persistence.enabled`

- -

`MC_METRICS_PERSISTENCE_ENABLED`

- -
Whether Management Center persists metrics. Default: `true`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.persistence.enabled=false -``` - -
- -

`hazelcast.mc.metrics.disk.ttl.duration`

- -

`MC_METRICS_DISK_TTL_DURATION`

- -
Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. Default: `P1D` (one day). This value must be positive. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.disk.ttl.duration=P2D -``` - -
- -

`hazelcast.mc.metrics.consumer.thread.pool.size`

- -

`MC_METRICS_CONSUMER_THREAD_POOL_SIZE`

- -
Number of threads that are used to consume metrics from cluster members. Default: `2`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.consumer.thread.pool.size=5 -``` - -
`hazelcast.mc.metrics.reschedule.delay.millis MC_METRICS_RESCHEDULE_DELAY_MILLIS`Interval in milliseconds that Management Center waits before requesting metrics from cluster members. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.metrics.reschedule.delay.millis=5000 -``` - -
`hazelcast.mc.jet.metrics.retentionSecs MC_JET_METRICS_RETENTION_SECS`Interval in seconds that Management Center holds Jet metrics in memory. Default: `3600`. - -```bash -hz-mc start -Dhazelcast.mc.jet.metrics.retentionSecs=7200 -``` - -
- -

`hazelcast.mc.phone.home.enabled`

- -

`MC_PHONE_HOME_ENABLED`

- -
Whether Management Center sends usage data to the Hazelcast phone home server. Default: `true`. See [Usage analytics](../phone-homes.mdx). - -```bash -hz-mc start -Dhazelcast.mc.phone.home.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.enabled`

- -

`MC_PROMETHEUS_EXPORTER_ENABLED`

- -
Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ -``` - -
- -

`hazelcast.mc.prometheusExporter.timestamp.enabled`

- -

`MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED`

- -
Whether to send timestamp of the individual members' metrics to Prometheus. Its default value is `true` (enabled). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.timestamp.enabled=false \ -``` - -
+If a property has no environment variable, you can set it with the `JAVA_OPTS` environment variable. You can use `JAVA_OPTS` when you start Management Center in any of these ways: +- Docker environments +- `hz-mc conf` tool +- Start scripts included with Hazelcast Platform or Management Center, such as `hz-mc start` -

`hazelcast.mc.prometheusExporter.filter.metrics.included`

+:::tip[Docker configuration] -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED`

+You may also need to use other environment variables in Docker environments. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). -
Comma-separated list of metrics to include in the `/metrics` endpoint. Supports the `*` wildcard. Default: `' '` (empty). +::: -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \ -``` +You can use properties to configure both Management Center and Management Center's client connection strategy on startup. -
+You can also set the properties on this page in the `properties` section of a [YAML declarative configuration file](./declarative-configuration/overview.mdx#properties) (Beta). System properties and environment variables override the values in that file. -

`hazelcast.mc.prometheusExporter.filter.metrics.excluded`

+If a property has an environment variable, the Environment variable column lists it. -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED`

+This example shows how to set system properties or environment variables: -
Comma-separated list of metrics to exclude from the `/metrics` endpoint. Supports the `*` wildcard. Default: `' '` (empty). + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \ +hz-mc start -Dhazelcast.mc.http.port=8083 ``` -
- -

`hazelcast.mc.prometheusExporter.port`

- -

`MC_PROMETHEUS_EXPORTER_PORT`

- -
Port on which the `/metrics` endpoint is exposed. - - - + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ - -Dhazelcast.mc.prometheusExporter.port=2222 +export JAVA_OPTS='-Dhazelcast.mc.http.port=8083' +hz-mc start ``` - + ```bash -mc-start.cmd -Dhazelcast.mc.prometheusExporter.enabled=true ^ - -Dhazelcast.mc.prometheusExporter.port=2222 +export MC_HTTP_PORT=8083 +hz-mc start ``` -In this example, the `/metrics` endpoint would be available on port 2222: `http://localhost:2222/metrics`. - -
- -

`hazelcast.mc.prometheusExporter.printers`

- -

`MC_PROMETHEUS_EXPORTER_PRINTERS`

- -
Which set of metrics to expose. Default: `V1,V2`. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.printers=V1 -``` - -
- -

`hazelcast.mc.rest.enabled`

- -

`MC_REST_ENABLED`

- -
Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.rest.enabled=true -``` - -
- -

`hazelcast.mc.security.dictionary.minWordLength`

- -

`MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH`

- -
Minimum length that words in the dictionary must contain. Default: `3`. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ - -Dhazelcast.mc.security.dictionary.minWordLength=3 \ -``` - -
- -

`hazelcast.mc.security.dictionary.path`

- -

`MC_SECURITY_DICTIONARY_PATH`

- -
Path to a text file that contains words that cannot be included in user passwords. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ -``` - -
- -

`hazelcast.mc.session.timeout.seconds`

- -

`MC_SESSION_TIMEOUT_SECONDS`

- -
Number of seconds that a session can remain inactive before it is invalid and the user must log in again. Default `1800`. - -```bash -hz-mc start -Dhazelcast.mc.session.timeout.seconds=60 -``` - -
- -

`hazelcast.mc.state.reschedule.delay.millis`

- -

`MC_STATE_RESCHEDULE_DELAY_MILLIS`

- -
Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. Default: 1000. - -```bash -hz-mc start -Dhazelcast.mc.state.reschedule.delay.millis=2000 -``` - -
- -

`hazelcast.mc.tls.excludeProtocols`

- -

`MC_TLS_EXCLUDE_PROTOCOLS`

- -
A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. - -```bash -hz-mc start -Dhazelcast.mc.tls.excludeProtocols=SSLv3 -``` - -
- -

`hazelcast.mc.tls.openSsl`

- -

`MC_TLS_OPEN_SSL`

- -
Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.openSsl=true -``` - -
- -

`hazelcast.mc.tls.enabled`

- -

`MC_TLS_ENABLED`

- -
Whether TLS/SSL is enabled. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.enabled=true -``` - -
- -

`hazelcast.mc.tls.keyStore`

- -

`MC_TLS_KEY_STORE`

- -
Path to a keystore. - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStore=/keys/mc.keystore -``` - -
- -

`hazelcast.mc.tls.keyStorePassword`

- -

`MC_TLS_KEY_STORE_PASSWORD`

- -
Password of the keystore in [`hazelcast.mc.tls.keyStore`](#hazelcast-mc-tls-keystore). - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.trustStore`

- -

`MC_TLS_TRUST_STORE`

- -
Path to a truststore. If the [`hazelcast.mc.tls.enabled`](#hazelcast-mc-tls-enabled) system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStore=/truststores/mc.truststore -``` - -
- -

`hazelcast.mc.tls.trustStorePassword`

- -

`MC_TLS_TRUST_STORE_PASSWORD`

- -
Password of the truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.enableHttpPort`

- -

`MC_TLS_ENABLE_HTTP_PORT`

- -
Whether the HTTP port in the [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. - -```bash -hz-mc start -Dhazelcast.mc.tls.enableHttpPort=true -``` - -
- -

`hazelcast.mc.tls.mutualAuthentication`

- -

`MC_TLS_MUTUAL_AUTHENTICATION`

- -
- -Whether clients connected to Management Center are authenticated: - -- `REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated. -- `OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. - -Default: `OPTIONAL`. - - - -```bash -hz-mc start -Dhazelcast.mc.tls.mutualAuthentication=REQUIRED -``` - -
- -

`hazelcast.mc.useExistingKeyStore`

- -

`MC_USE_EXISTING_KEY_STORE`

- -
Enables use of an existing keystore. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.useExistingKeyStore=true -``` - -
`hazelcast.mc.sql.max-cell-length MC_MC_SQL_MAX_CELL_LENGTH`Max length of a cell in SQL query result, longer values are truncated. Default: `2048`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-cell-length=10000 -``` - -
`hazelcast.mc.sql.max-row-count MC_MC_SQL_MAX_CELL_LENGTH`Max number of rows returned by SQL batch query. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-row-count=10000 -``` - -
`hazelcast.mc.websocket.buffer-size HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE`The buffer size of the WebSocket connection MC uses for SQL operations. Default: `5MB`. - -```bash -hz-mc start -Dhazelcast.mc.websocket.buffer-size=10MB -``` - -
`hazelcast.mc.ui.asyncTableThreshold MC_UI_ASYNC_TABLE_THRESHOLD`Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. Default: `500`. - -```bash -hz-mc start -Dazelcast.mc.ui.asyncTableThreshold=1000 -``` - -
- -## Client connection strategy configuration {/* #client-config */} +## General + +These properties configure Management Center's configuration file, home directory, license, and general behavior: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.auditlog.enabled` | `MC_AUDITLOG_ENABLED` | `false` | Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). | +| `hazelcast.mc.config.file` | `HAZELCAST_MC_CONFIG_FILE` | | Path to a YAML declarative configuration file that Management Center applies automatically before it starts. See [YAML declarative configuration (Beta)](./declarative-configuration/overview.mdx). | +| `hazelcast.mc.configReplacer.class` | | | Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). | +| `hazelcast.mc.configReplacer.failIfValueMissing` | | `true` | Whether the configuration loading process stops when a replacement value is missing. | +| `hazelcast.mc.home` | `MC_HOME` | | Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). | +| `hazelcast.mc.license` | `MC_LICENSE` | | Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see [Enterprise licenses](../license-management/license-management.mdx). | +| `hazelcast.mc.lock.skip` | `MC_LOCK_SKIP` | `false` | Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file). | +| `hazelcast.mc.phone.home.enabled` | `MC_PHONE_HOME_ENABLED` | `true` | Whether Management Center sends usage data to the Hazelcast phone home server. See [Usage analytics](../phone-homes.mdx). | +| `hazelcast.mc.rest.enabled` | `MC_REST_ENABLED` | `false` | Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. | +| `maskOpts` | | `' '` (empty) | Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via `JAVA_OPTS`. | + +## Web server + +These properties configure the Management Center web server, including the HTTP port, health check, and CORS: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.contextPath` | `MC_CONTEXT_PATH` | `' '` (empty) | Prefix of all URL paths in Management Center. | +| `hazelcast.mc.cors.allowedOriginPatterns` | `MC_CORS_ALLOWED_ORIGIN_PATTERNS` | | A list of origins patterns for which cross-origin requests are allowed. | +| `hazelcast.mc.cors.allowedMethods` | `MC_CORS_ALLOWED_METHODS` | | HTTP methods to allow for cross-origin requests.

If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. | +| `hazelcast.mc.cors.allowedHeaders` | `MC_CORS_ALLOWED_HEADERS` | | List of headers that a pre-flight request can list as allowed for use during an actual request.

The special value `*` allows actual requests to send any header. | +| `hazelcast.mc.cors.exposedHeaders` | `MC_CORS_EXPOSED_HEADERS` | | List of response headers that an actual response might have and can be exposed to the client.

The special value `*` allows all headers to be exposed. | +| `hazelcast.mc.cors.allowCredentials` | `MC_CORS_ALLOW_CREDENTIALS` | | Whether user credentials are supported or not. Setting this property to `true` forbids `originPatterns`, `allowedMethods`, `allowedHeaders` to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. If this property is not set, user credentials are not supported. | +| `hazelcast.mc.cors.allowPrivateNetwork` | `MC_CORS_ALLOW_PRIVATE_NETWORK` | | Whether private network access is supported for user-agents restricting such access by default.

Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost.

If this property is not set, private network access is not supported. | +| `hazelcast.mc.cors.maxAge` | `MC_CORS_MAX_AGE` | | Configure how long, in seconds, the response from a pre-flight request can be cached by clients. | +| `hazelcast.mc.forwarded.requests.enabled` | `MC_FORWARDED_REQUESTS_ENABLED` | `true` | Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. | +| `hazelcast.mc.healthCheck.enable` | `MC_HEALTH_CHECK_ENABLED` | `false` | Whether the `/health` endpoint is enabled on port `hazelcast.mc.http.port` + 1. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. | +| `hazelcast.mc.healthCheck.port` | `MC_HEALTH_CHECK_PORT` | `hazelcast.mc.http.port` + 1 | The port on which the `/health` endpoint is exposed. | +| `hazelcast.mc.hostAddress` | `MC_HOST_ADDRESS` | `0.0.0.0` (all network interfaces) | Network address that Management Center is reachable on. | +| `hazelcast.mc.http.port` | `MC_HTTP_PORT` | `8080` | HTTP port for Management Center. | +| `hazelcast.mc.websocket.buffer-size` | `HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE` | `5MB` | The buffer size of the WebSocket connection MC uses for SQL operations. | + +If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. + +For `hazelcast.mc.cors.allowedHeaders` and `hazelcast.mc.cors.exposedHeaders`, a header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. + +## TLS + +These properties configure TLS for the Management Center web server: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.disableHostnameVerification` | | `false` | Whether Management Center does not verify the hostname of signed TLS/SSL certificates. | +| `hazelcast.mc.exclude.cipher.suites` | `MC_EXCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.existingKeyStore.path` | `MC_EXISTING_KEYSTORE_PATH` | `' '` (empty) | Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). | +| `hazelcast.mc.existingKeyStore.pass` | `MC_EXISTING_KEYSTORE_PASS` | `' '` (empty) | Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. | +| `hazelcast.mc.existingKeyStore.type` | `MC_EXISTING_KEYSTORE_TYPE` | `JCEKS` | Type of the keystore. | +| `hazelcast.mc.existingKeyStore.provider` | `MC_EXISTING_KEYSTORE_PROVIDER` | System provider | Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `java.security.Provider` implementation. | +| `hazelcast.mc.include.cipher.suites` | `MC_INCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.tls.excludeProtocols` | `MC_TLS_EXCLUDE_PROTOCOLS` | | A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. | +| `hazelcast.mc.tls.openSsl` | `MC_TLS_OPEN_SSL` | `false` | Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. | +| `hazelcast.mc.tls.enabled` | `MC_TLS_ENABLED` | `false` | Whether TLS/SSL is enabled. | +| `hazelcast.mc.tls.keyStore` | `MC_TLS_KEY_STORE` | | Path to a keystore. | +| `hazelcast.mc.tls.keyStorePassword` | `MC_TLS_KEY_STORE_PASSWORD` | | Password of the keystore in `hazelcast.mc.tls.keyStore`. | +| `hazelcast.mc.tls.trustStore` | `MC_TLS_TRUST_STORE` | | Path to a truststore. If the `hazelcast.mc.tls.enabled` system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. | +| `hazelcast.mc.tls.trustStorePassword` | `MC_TLS_TRUST_STORE_PASSWORD` | | Password of the truststore. | +| `hazelcast.mc.tls.enableHttpPort` | `MC_TLS_ENABLE_HTTP_PORT` | | Whether the HTTP port in the `hazelcast.mc.http.port` system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. | +| `hazelcast.mc.tls.mutualAuthentication` | `MC_TLS_MUTUAL_AUTHENTICATION` | `OPTIONAL` | Whether clients connected to Management Center are authenticated:

`REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated.
`OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. | +| `hazelcast.mc.useExistingKeyStore` | `MC_USE_EXISTING_KEY_STORE` | `false` | Enables use of an existing keystore. | + +## Login, sessions, and passwords + +These properties configure user logins, sessions, and password checks: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.allowMultipleLogin` | `MC_ALLOW_MULTIPLE_LOGIN` | `true` | Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.disableLoginPeriodMultiplier` | `MC_DISABLE_LOGIN_PERIOD_MULTIPLIER` | `10` | Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.failedAttemptsBeforeDisableLogin` | `MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN` | `3` | Number of failed login attempts that Management Center allows before disabling logins. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.forceLogoutOnMultipleLogin` | `MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN` | `false` | Whether Management Center forces users to log out when other users try to log into the same account. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.initialDisableLoginPeriod` | `MC_INITIAL_DISABLE_LOGIN_PERIOD` | `5` | Initial duration for the disabled login period in seconds. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.maxDisableLoginPeriod` | `MC_MAX_DISABLE_LOGIN_PERIOD` | | Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. | +| `hazelcast.mc.security.dictionary.minWordLength` | `MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH` | `3` | Minimum length that words in the dictionary must contain. | +| `hazelcast.mc.security.dictionary.path` | `MC_SECURITY_DICTIONARY_PATH` | | Path to a text file that contains words that cannot be included in user passwords. | +| `hazelcast.mc.session.timeout.seconds` | `MC_SESSION_TIMEOUT_SECONDS` | `1800` | Number of seconds that a session can remain inactive before it is invalid and the user must log in again. | + +## LDAP and Active Directory + +These properties configure connections to LDAP and Active Directory servers: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.ldap.timeout` | `MC_LDAP_CONN_TIMEOUT` | `3000` | Timeout in milliseconds for Active Directory and LDAP search queries. | +| `hazelcast.mc.ldap.ssl.protocol` | `MC_LDAP_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for LDAP connection. | +| `hazelcast.mc.ldap.ssl.keyStore` | `MC_LDAP_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for LDAP SSL connection. | +| `hazelcast.mc.ldap.ssl.keyStoreType` | `MC_LDAP_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ldap.ssl.keyStorePassword` | `MC_LDAP_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for LDAP SSL connection. | +| `mc.ldap.ssl.keyManagerAlgorithm` | `MC_LDAP_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ldap.ssl.trustStore` | `MC_LDAP_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ldap.ssl.trustStorePassword` | `MC_LDAP_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ldap.ssl.trustStoreType` | `MC_LDAP_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ldap.ssl.trustManagerAlgorithm` | `MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.protocol` | `MC_AD_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for AD connection. | +| `hazelcast.mc.ad.ssl.keyStore` | `MC_AD_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for AD SSL connection. | +| `hazelcast.mc.ad.ssl.keyStoreType` | `MC_AD_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ad.ssl.keyStorePassword` | `MC_AD_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for AD SSL connection. | +| `mc.ad.ssl.keyManagerAlgorithm` | `MC_AD_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.trustStore` | `MC_AD_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ad.ssl.trustStorePassword` | `MC_AD_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ad.ssl.trustStoreType` | `MC_AD_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ad.ssl.trustManagerAlgorithm` | `MC_AD_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | + +## JMX + +These properties configure JMX for Management Center: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.jmx.enabled` | `MC_JMX_ENABLED` | `false` | Whether the clustered JMX service is enabled. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). | +| `hazelcast.mc.jmx.host` | `MC_JMX_HOST_NAME` | Server's hostname | Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. | +| `hazelcast.mc.jmx.mutualAuthentication` | `MC_JMX_SSL_MUTUAL_AUTH_ENABLED` | `false` | Whether mutual authentication is enabled for the JMX interface. | +| `hazelcast.mc.jmx.port` | `MC_JMX_PORT` | `9999` | Port on which the clustered JMX service is exposed. | +| `hazelcast.mc.jmx.rmi.port` | `MC_JMX_RMI_PORT` | `9998` | Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. | +| `hazelcast.mc.jmx.ssl.enabled` | `MC_JMX_SSL_ENABLED` | `false` | Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. | +| `hazelcast.mc.jmx.ssl.protocol` | `MC_JMX_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol. | +| `hazelcast.mc.jmx.ssl.keyStore` | `MC_JMX_SSL_KEY_STORE_TYPE` | `' '` (empty) | Path to a keystore. | +| `hazelcast.mc.jmx.ssl.keyStorePassword` | `MC_JMX_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore. | +| `hazelcast.mc.jmx.ssl.trustStore` | `MC_JMX_SSL_TRUST_STORE` | `' '` (empty) | Path to a truststore. | +| `hazelcast.mc.jmx.ssl.trustStoreType` | `MC_JMX_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `hazelcast.mc.jmx.ssl.trustStorePassword` | `MC_JMX_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.jmx.ssl.trustManagerAlgorithm` | `MC_JMX_SSL_TRUST_MANAGER_ALGORITHM` | | Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. | +| `hazelcast.mc.jmx.ssl.keyStoreType` | `MC_JMX_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.jmx.ssl.keyManagerAlgorithm` | `MC_TLS_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. | + +## Metrics and Prometheus + +These properties configure how Management Center stores metrics and exports them to Prometheus: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.metrics.persistence.enabled` | `MC_METRICS_PERSISTENCE_ENABLED` | `true` | Whether Management Center persists metrics. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.disk.ttl.duration` | `MC_METRICS_DISK_TTL_DURATION` | `P1D` (one day) | Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. This value must be positive. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.consumer.thread.pool.size` | `MC_METRICS_CONSUMER_THREAD_POOL_SIZE` | `2` | Number of threads that are used to consume metrics from cluster members. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.reschedule.delay.millis` | `MC_METRICS_RESCHEDULE_DELAY_MILLIS` | `1000` | Interval in milliseconds that Management Center waits before requesting metrics from cluster members. | +| `hazelcast.mc.jet.metrics.retentionSecs` | `MC_JET_METRICS_RETENTION_SECS` | `3600` | Interval in seconds that Management Center holds Jet metrics in memory. | +| `hazelcast.mc.prometheusExporter.enabled` | `MC_PROMETHEUS_EXPORTER_ENABLED` | `false` | Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. | +| `hazelcast.mc.prometheusExporter.timestamp.enabled` | `MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED` | `true` (enabled) | Whether to send timestamp of the individual members' metrics to Prometheus. | +| `hazelcast.mc.prometheusExporter.filter.metrics.included` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED` | `' '` (empty) | Comma-separated list of metrics to include in the `/metrics` endpoint. Supports the `*` wildcard. | +| `hazelcast.mc.prometheusExporter.filter.metrics.excluded` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED` | `' '` (empty) | Comma-separated list of metrics to exclude from the `/metrics` endpoint. Supports the `*` wildcard. | +| `hazelcast.mc.prometheusExporter.port` | `MC_PROMETHEUS_EXPORTER_PORT` | | Port on which the `/metrics` endpoint is exposed. | +| `hazelcast.mc.prometheusExporter.printers` | `MC_PROMETHEUS_EXPORTER_PRINTERS` | `V1,V2` | Which set of metrics to expose. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). | + +## SQL browser and UI + +These properties configure the SQL browser and the UI: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.info.instanceName` | `MC_INFO_INSTANCE_NAME` | | Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Management Center is deployed on. | +| `hazelcast.mc.sql.max-cell-length` | `MC_MC_SQL_MAX_CELL_LENGTH` | `2048` | Max length of a cell in SQL query result, longer values are truncated. | +| `hazelcast.mc.sql.max-row-count` | `MC_MC_SQL_MAX_CELL_LENGTH` | `1000` | Max number of rows returned by SQL batch query. | +| `hazelcast.mc.ui.asyncTableThreshold` | `MC_UI_ASYNC_TABLE_THRESHOLD` | `500` | Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. | + +## Cluster connections + +These properties configure how Management Center communicates with clusters: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.clientFiltering.modes` | `MC_CLIENT_FILTERING_MODES` | `ALLOWLIST, DENYLIST` | Adjusts client filtering modes. Value must be set of `ALLOWLIST` and `DENYLIST`. | +| `hazelcast.mc.clusterHealthCheck.exclude` | `MC_CLUSTERHEALTHCHECK_EXCLUDE` | | List of check identifiers to be excluded from Healthcheck. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). | +| `hazelcast.mc.cluster.operation.timeout.millis` | | 60000 | Timeout in milliseconds for Management Center operations that wait for a response from members. | +| `hazelcast.mc.state.reschedule.delay.millis` | `MC_STATE_RESCHEDULE_DELAY_MILLIS` | 1000 | Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. | + +## Client connection strategy {/* #client-config */} Use the following properties to configure the connection strategy of the Management Center client. These properties apply to all clients that are started by Management Center. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
`hazelcast.mc.client.max.backoff.millis`Upper limit of the backoff in milliseconds. Default: `30000`. Values must be between 30000 and 600000. - -```bash -hz-mc start -Dhazelcast.mc.client.max.backoff.millis=486000 -``` - -
`hazelcast.mc.client.backoff.multiplier`Factor by which to multiply the backoff after each failed retry. Default: `2`. Values must be between 1 and 10. - -```bash -hz-mc start -Dhazelcast.mc.client.backoff.multiplier=3 -``` - -
`hazelcast.mc.client.initial.backoff.millis`Duration in milliseconds that Management Center waits after the first connection failure before retrying. Default: `1000`. Values must be between 1000 and 60000. - -```bash -hz-mc start -Dhazelcast.mc.client.initial.backoff.millis=2000 -``` - -
`hazelcast.mc.clientFiltering.modes`Adjusts client filtering modes. Default: `ALLOWLIST, DENYLIST`. Value must be set of `ALLOWLIST` and `DENYLIST`. - -```bash -hz-mc start -Dhazelcast.mc.clientFiltering.modes=ALLOWLIST -``` - -
`hazelcast.mc.info.instanceName`Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Manage Center is deployed on. - -```bash -hz-mc start -Dhazelcast.mc.info.instanceName=ManCenter-us-east-1 -``` - -
`maskOpts`Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via JAVA\_OPTS. Default: `' '` (empty). - -```bash -hz-mc start -Djavax.net.ssl.keyStorePassword=keypassword -Djavax.net.ssl.trustStorePassword=trustpassword -DmaskOpts=javax.net.ssl.keyStorePassword,javax.net.ssl.trustStorePassword -``` - -
+| Property | Default | Description | +| --- | --- | --- | +| `hazelcast.mc.client.max.backoff.millis` | `30000` | Upper limit of the backoff in milliseconds. Values must be between 30000 and 600000. | +| `hazelcast.mc.client.backoff.multiplier` | `2` | Factor by which to multiply the backoff after each failed retry. Values must be between 1 and 10. | +| `hazelcast.mc.client.initial.backoff.millis` | `1000` | Duration in milliseconds that Management Center waits after the first connection failure before retrying. Values must be between 1000 and 60000. | diff --git a/management-center/deploy-and-manage/configuration/variable-replacers.mdx b/management-center/deploy-and-manage/configuration/variable-replacers.mdx index f944c8db..ac77b54b 100644 --- a/management-center/deploy-and-manage/configuration/variable-replacers.mdx +++ b/management-center/deploy-and-manage/configuration/variable-replacers.mdx @@ -60,7 +60,7 @@ $ENC{h7kmetFZwh8=:531:dOsG5ezhSZiyBXY5JNx8gg==} To use the encrypted value as configuration input in Management Center, you need to provide the following properties: -- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#hazelcast-mc-configreplacer-class) +- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#general) - Any configuration properties that you used to generate the encrypted value. - Any property to take the encrypted value as input for the `EncryptionReplacer` to decrypt. diff --git a/management-center/deploy-and-manage/historical-metrics.mdx b/management-center/deploy-and-manage/historical-metrics.mdx index 366a9ab8..e2dfeab2 100644 --- a/management-center/deploy-and-manage/historical-metrics.mdx +++ b/management-center/deploy-and-manage/historical-metrics.mdx @@ -36,7 +36,7 @@ Each in-memory minute bucket consumes around 0.5 KB of memory. ## Change the metrics time to live -To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#disk-usage-config). +To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#metrics-and-prometheus). This property takes a duration in days, represented in the ISO-8601 format: @@ -83,7 +83,7 @@ These logs provide some basic persistence statistics and details about any activ ## Disable metrics persistence -If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#hazelcast-mc-metrics-persistence-enabled) property to `false`, which stores metrics only in memory. +If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#metrics-and-prometheus) property to `false`, which stores metrics only in memory. :::tip @@ -109,7 +109,7 @@ hz-mc start Management Center may experience delays while consuming metrics from cluster members, resulting in `N/A` or `0` displayed instead of the metric values. Delays usually occur when Management Center is connected to a large cluster of 30+ members. -To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#hazelcast-mc-metrics-consumer-thread-pool-size) +To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#metrics-and-prometheus) ### Slow background persistence runs diff --git a/management-center/deploy-and-manage/license-management/updating-mc-license-ui.mdx b/management-center/deploy-and-manage/license-management/updating-mc-license-ui.mdx index 37ebad1c..b4042405 100644 --- a/management-center/deploy-and-manage/license-management/updating-mc-license-ui.mdx +++ b/management-center/deploy-and-manage/license-management/updating-mc-license-ui.mdx @@ -44,4 +44,4 @@ The information on the page is updated for the new license. Use the REST API to [get details about license expiration times](../../integrate/clustered-rest/cluster-metrics.mdx#get-rest-license). -Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#starting-with-a-license) to override any Enterprise license for Management Center that's already installed. +Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#general) to override any Enterprise license for Management Center that's already installed. diff --git a/management-center/deploy-and-manage/phone-homes.mdx b/management-center/deploy-and-manage/phone-homes.mdx index af21ac5f..d8e768b4 100644 --- a/management-center/deploy-and-manage/phone-homes.mdx +++ b/management-center/deploy-and-manage/phone-homes.mdx @@ -56,4 +56,4 @@ For each user login, we store the following information and send it in a phone h ## Disable the collection of usage analytics -You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#hazelcast-mc-phone-home-enabled) to `false` +You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#general) to `false` diff --git a/management-center/deploy-and-manage/security/sessions.mdx b/management-center/deploy-and-manage/security/sessions.mdx index 0cc2a818..343396ec 100644 --- a/management-center/deploy-and-manage/security/sessions.mdx +++ b/management-center/deploy-and-manage/security/sessions.mdx @@ -13,7 +13,7 @@ To secure users' sessions, you can configure session timeouts and multiple user If you have deployed Management Center on an application server/container, you can configure the default session timeout period of the application server/container to change the session timeout period for the Management Center. If your server/container allows application specific configuration, you can use it to configure the session timeout period for the Management Center. -If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#hazelcast-mc-session-timeout-seconds). For example, the following command starts Management Center with a session timeout period of 1 minute: +If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#login-sessions-and-passwords). For example, the following command starts Management Center with a session timeout period of 1 minute: diff --git a/management-center/deploy-and-manage/security/tls/serving-https.mdx b/management-center/deploy-and-manage/security/tls/serving-https.mdx index c221988d..c08eb99d 100644 --- a/management-center/deploy-and-manage/security/tls/serving-https.mdx +++ b/management-center/deploy-and-manage/security/tls/serving-https.mdx @@ -55,7 +55,7 @@ It's not always necessary to have certificates signed by a well-known certificat To use a self-signed certificate, do one of the following: - Create the certificate with the hostname of the machine you will deploy the Management Center on. -- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#hazelcast-mc-disablehostnameverification) to `true`. +- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#tls) to `true`. Otherwise, you may see this exception in the member logs: @@ -97,7 +97,7 @@ This command starts the Management Center on HTTPS port 443. ## Redirect the HTTP port to HTTPS {/* #enabling-http-port */} -By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#hazelcast.mc.tls.enableHttpPort) to `true`. +By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#tls) to `true`. ## Mutual authentication @@ -105,4 +105,4 @@ To make sure that only authenticated HTTP clients such as web browsers or cURL c When mutual authentication is enabled, HTTP clients need to present their own TLS certificate to Management Center before they are allowed to connect. You can store trusted clients' TLS certificates in the Management Center truststore so it can authenticate them. -To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#hazelcast-mc-tls-mutualauthentication). +To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#tls). diff --git a/management-center/deploy-and-manage/security/tls/tls-security.mdx b/management-center/deploy-and-manage/security/tls/tls-security.mdx index 3bf3c512..d07da06e 100644 --- a/management-center/deploy-and-manage/security/tls/tls-security.mdx +++ b/management-center/deploy-and-manage/security/tls/tls-security.mdx @@ -10,7 +10,7 @@ Management Center communicates over many channels. To encrypt data transmitted o :::note -The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#enabling-health-check-endpoint) property. +The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#web-server) property. ::: @@ -22,7 +22,7 @@ The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. Se :::note - Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#hazelcast-mc-forwarded-requests-enabled) is set to `true`. + Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#web-server) is set to `true`. ::: - If your Hazelcast cluster uses TLS, configure Management Center with the necessary truststore information. You'll need to configure the truststore, using a client configuration file. See [Cluster connections](../../cluster-connections/cluster-connections.mdx). @@ -49,7 +49,7 @@ After starting Management Center, a line similar to the following appears in the ## Include and exclude cipher suites {/* #including-excluding-specific-cipher-suites */} -When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#hazelcast-mc-exclude-cipher-suites) on startup. You can either use the exact cipher suite name or a regular expression. For example: +When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#tls) on startup. You can either use the exact cipher suite name or a regular expression. For example: ```none -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ diff --git a/management-center/deploy-and-manage/security/user-authentication/active-directory.mdx b/management-center/deploy-and-manage/security/user-authentication/active-directory.mdx index a8bd6d7d..bf362ba8 100644 --- a/management-center/deploy-and-manage/security/user-authentication/active-directory.mdx +++ b/management-center/deploy-and-manage/security/user-authentication/active-directory.mdx @@ -61,7 +61,7 @@ securityProvider: :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Admin Groups:** Members of this group and its nested groups have admin privileges on the Management Center. To use more than one group, separate them with a semicolon (;). @@ -99,7 +99,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `active- ## Enable TLS/SSL for Active Directory {/* #ad-ssl */} -If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ad-ssl-protocol). +If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Using `--force` to configure Active Directory {/* #using-force-to-configure-active-directory */} diff --git a/management-center/deploy-and-manage/security/user-authentication/ldap.mdx b/management-center/deploy-and-manage/security/user-authentication/ldap.mdx index 676d872a..96c767f1 100644 --- a/management-center/deploy-and-manage/security/user-authentication/ldap.mdx +++ b/management-center/deploy-and-manage/security/user-authentication/ldap.mdx @@ -75,7 +75,7 @@ An optional `keystore` block covers [password encryption](#password-encryption) :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Group Search Filter:** LDAP search filter expression to search for the groups. For example, `uniquemember={0}` searches for a group that matches with the `uniquemember` attribute. @@ -123,7 +123,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `ldap co ## Enable TLS/SSL for LDAP {/* #ldap-ssl */} -If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ldap-ssl-protocol). +If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Password encryption diff --git a/management-center/get-started/get-started.mdx b/management-center/get-started/get-started.mdx index cf1b780e..2cbbdaca 100644 --- a/management-center/get-started/get-started.mdx +++ b/management-center/get-started/get-started.mdx @@ -73,7 +73,7 @@ To complete this tutorial, you need the following: ### Start the compose stack with an Enterprise license -If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details): +If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details): ```yaml vars services: diff --git a/management-center/get-started/user-interface-overview/user-interface.mdx b/management-center/get-started/user-interface-overview/user-interface.mdx index a5f4ac3b..5503d0d3 100644 --- a/management-center/get-started/user-interface-overview/user-interface.mdx +++ b/management-center/get-started/user-interface-overview/user-interface.mdx @@ -18,7 +18,7 @@ The user interface has a Top Bar running along the top and a Side Bar on the lef The Top Bar has the following elements: -- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-info-instanceName). +- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui). - **Cluster dropdown**. Select a connected cluster to manage. Cluster version is shown to the right of each connected cluster. :::note diff --git a/management-center/install-and-upgrade/install.mdx b/management-center/install-and-upgrade/install.mdx index 379a1b3c..1599ef2b 100644 --- a/management-center/install-and-upgrade/install.mdx +++ b/management-center/install-and-upgrade/install.mdx @@ -194,7 +194,7 @@ mc-start.cmd ## Starting Management Center with an Enterprise license {/* #starting-with-enterprise-license */} -If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details). +If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details). diff --git a/management-center/integrate/clustered-jmx/jmx.mdx b/management-center/integrate/clustered-jmx/jmx.mdx index 6dc65273..1f8327e1 100644 --- a/management-center/integrate/clustered-jmx/jmx.mdx +++ b/management-center/integrate/clustered-jmx/jmx.mdx @@ -19,7 +19,7 @@ For information about integration with Datadog, see the: [Datadog Docs](https:// ::: -To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-jmx-enabled): +To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#jmx): diff --git a/management-center/integrate/clustered-rest/clustered-rest.mdx b/management-center/integrate/clustered-rest/clustered-rest.mdx index afa8c926..8e30d4cf 100644 --- a/management-center/integrate/clustered-rest/clustered-rest.mdx +++ b/management-center/integrate/clustered-rest/clustered-rest.mdx @@ -15,7 +15,7 @@ The clustered REST API can be enabled to allow you to monitor clustered statisti The REST API is disabled by default. -To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) at startup. +To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#general) at startup. ## Root endpoint diff --git a/management-center/integrate/prometheus-monitoring/overview.mdx b/management-center/integrate/prometheus-monitoring/overview.mdx index 0cd8707b..b2503c36 100644 --- a/management-center/integrate/prometheus-monitoring/overview.mdx +++ b/management-center/integrate/prometheus-monitoring/overview.mdx @@ -29,7 +29,7 @@ Management Center also reformats the metrics to align with Prometheus best pract Management Center collects metrics with the timestamp of individual members, and sends this timestamp to Prometheus. Prometheus discards metrics with the oldest timestamps. You can disable sending timestamps so that your monitoring system continues to operate when clock shifts happen in the cluster. -To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#prometheus-timestamp) property to `false`. +To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#metrics-and-prometheus) property to `false`. ## Configure Prometheus diff --git a/management-center/tools/sql-browser.mdx b/management-center/tools/sql-browser.mdx index e8c14dea..3524f6c4 100644 --- a/management-center/tools/sql-browser.mdx +++ b/management-center/tools/sql-browser.mdx @@ -103,7 +103,7 @@ Example query results ## Truncate displayed query results -To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-sql-max-cell-length) property. +To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui) property. ## View map metadata diff --git a/management-center/troubleshoot/management-center.mdx b/management-center/troubleshoot/management-center.mdx index 42ace521..0b50d0d5 100644 --- a/management-center/troubleshoot/management-center.mdx +++ b/management-center/troubleshoot/management-center.mdx @@ -15,7 +15,7 @@ The scrollbar should hide shortly after you stop scrolling. This is the default ## Experience timeout -If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-cluster-operation-timeout) property. +If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) property. ## Cannot open the configuration for a data structure diff --git a/management-center_versioned_docs/version-5.10/cluster/client-filtering/create-filter-lists-rest.mdx b/management-center_versioned_docs/version-5.10/cluster/client-filtering/create-filter-lists-rest.mdx index 320a303c..eb3c77ac 100644 --- a/management-center_versioned_docs/version-5.10/cluster/client-filtering/create-filter-lists-rest.mdx +++ b/management-center_versioned_docs/version-5.10/cluster/client-filtering/create-filter-lists-rest.mdx @@ -9,7 +9,7 @@ You can define filter lists to allow or disallow client connections to clusters, ## Before you begin - Configure your Hazelcast clients with one or more failover clusters to make sure that disconnected clients can connect to another cluster. For a tutorial, see . -- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) property. +- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#general) property. - If you are not using Management Center in dev mode, generate an [authentication token](../../integrate/clustered-rest/clustered-rest.mdx) to use in HTTP requests. You can deploy either an allow list or a deny list to a cluster, not both. If you deploy an allow list, the cluster disallows connections from any clients that aren't in the allow list. If you deploy a deny list, the cluster allows connections from any client that isn't in the deny list. diff --git a/management-center_versioned_docs/version-5.10/cluster/client-filtering/overview.mdx b/management-center_versioned_docs/version-5.10/cluster/client-filtering/overview.mdx index e9ed463f..754c6f03 100644 --- a/management-center_versioned_docs/version-5.10/cluster/client-filtering/overview.mdx +++ b/management-center_versioned_docs/version-5.10/cluster/client-filtering/overview.mdx @@ -31,7 +31,7 @@ Management Center supports the following types of filter list: - **Allow list**: Clients that **are allowed** to connect to the cluster. - **Deny list**: Clients that **are not allowed** to connect to the cluster. -To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-client-client-filtering-modes). +To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#cluster-connections). ![Client Filtering View](./images/ClientFilteringView.png) diff --git a/management-center_versioned_docs/version-5.10/cluster/healthcheck.mdx b/management-center_versioned_docs/version-5.10/cluster/healthcheck.mdx index b2011752..d89e7a4d 100644 --- a/management-center_versioned_docs/version-5.10/cluster/healthcheck.mdx +++ b/management-center_versioned_docs/version-5.10/cluster/healthcheck.mdx @@ -100,4 +100,4 @@ A check may be further enabled for the whole cluster, or for a specific data str You can exclude a check from Healthcheck analysis entirely by adding the check ID (shown in the left column) to the `hazelcast.mc.clusterHealthCheck.exclude` system property. Excluded checks will not be performed on any member in the cluster and will not appear in the Healthcheck report. -See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-clusterHealthCheck-exclude) for more information. +See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) for more information. diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx index 11306c15..b0409785 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/configuring.mdx @@ -16,7 +16,7 @@ By default, Management Center saves the following data in the `hazelcast-mc` dir - Configuration settings - Metrics -You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home). +You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#general). ## Ways to configure Management Center diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/logging.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/logging.mdx index c2386ccf..cc1b8ffa 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/logging.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/logging.mdx @@ -90,7 +90,7 @@ For more information about the JSON logging templates, see the [Log4j2 JSON Layo To make it easier to examine suspicious activity and troubleshoot issues, you can use audit logging to keep a record of events that happen in Management Center such as user logins. -To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#hazelcast-mc-auditlog-enabled) set to `true`. +To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#general) set to `true`. Log entries from the audit logging will be marked with the `hazelcast.auditlog` logging category, abbreviated as `h.auditlog` in logs. diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/mc-conf.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/mc-conf.mdx index eb6801c5..ad08c2a7 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/mc-conf.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/mc-conf.mdx @@ -39,7 +39,7 @@ To use the `hz-mc conf` tool, execute the `hz-mc conf` command in the `bin/` dir :::tip - If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home), you must provide the path to the home directory with the `-H` or `--home` options. + If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#general), you must provide the path to the home directory with the `-H` or `--home` options. ::: 3. To see documentation for a specific command, enter the command, followed by the `-h` flag. @@ -99,7 +99,7 @@ The `hz-mc conf` tool comes with the following commands. Each command includes t ## Skip the check for a lock file -When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#hazelcast-mc-lock-skip). +When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#general). ```bash export JAVA_OPTS='-Dhazelcast.mc.lock.skip=true' diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/system-properties.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/system-properties.mdx index 288ea3bc..b10e566f 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/system-properties.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/system-properties.mdx @@ -9,1835 +9,226 @@ import TabItem from "@theme/TabItem"; You can use system properties and environment variables to configure many aspects of Management Center, from JMX to the home directory and feature flags. These properties give you the power to tweak settings at startup without having to configure anything in the UI. -If an environment variable isn't available for a property and you start Management Center using any of the following methods, you can use the `JAVA_OPTS` environment variable to set system properties: - -- Docker environments - - :::tip - - You may also need to use other environment variables. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). - - ::: -- `hz-mc conf` tool -- Start scripts included with Hazelcast Platform or Management Center such as `hz-mc start`. - -You can use properties to configure both Management Center and Management Center's client connection strategy on startup. - -## Management Center configuration - -If an environment variable is available, it is listed under the system property in the Property column. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
- -

`hazelcast.mc.allowMultipleLogin`

- -

`MC_ALLOW_MULTIPLE_LOGIN`

- -
Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. Default: `true`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.allowMultipleLogin=true -``` - -
- -

`hazelcast.mc.auditlog.enabled`

- -

`MC_AUDITLOG_ENABLED`

- -
Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). Default: `false`. - -```bash vars -hz-mc start -Dhazelcast.mc.auditlog.enabled=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.clusterHealthCheck.exclude`

- -

`MC_CLUSTERHEALTHCHECK_EXCLUDE`

- -
List of check identifiers to be excluded from Healthcheck. By default, this is not set. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). - -```bash vars -hz-mc start -Dhazelcast.mc.clusterHealthCheck.exclude=E001,U002 \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.class`Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.class=com.hazelcast.webmonitor.configreplacer.EncryptionReplacer \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.failIfValueMissing`Whether the configuration loading process stops when a replacement value is missing. Default: `true`. - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.failIfValueMissing=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.contextPath`

- -

`MC_CONTEXT_PATH`

- -
Prefix of all URL paths in Management Center. Default: `' '` (empty). - -```bash vars -hz-mc start -Dhazelcast.mc.contextPath=hazelcast-mc \ --jar hazelcast-management-center-{full-version}.jar -``` - -In this example, the URL for Management Center would be `\http:localhost:8080/hazelcast-mc`. - -
- -

`hazelcast.mc.cors.allowedOriginPatterns`

- -

`MC_CORS_ALLOWED_ORIGIN_PATTERNS`

- -
- -A list of origins patterns for which cross-origin requests are allowed. - -If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedOriginPatterns=http://domain.com:[*],https://*.domain.com:8443,http://domain.com:[8080,8090], -``` - -
- -

`hazelcast.mc.cors.allowedMethods`

- -

`MC_CORS_ALLOWED_METHODS`

- -
- -HTTP methods to allow for cross-origin requests. - -By default this is not set. - -If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedMethods=GET,HEAD,POST,DELETE -``` - -
- -

`hazelcast.mc.cors.allowedHeaders`

- -

`MC_CORS_ALLOWED_HEADERS`

- -
- -List of headers that a pre-flight request can list as allowed for use during an actual request. - -The special value `*` allows actual requests to send any header. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedHeaders=* -``` - -
- -

`hazelcast.mc.cors.exposedHeaders`

- -

`MC_CORS_EXPOSED_HEADERS`

- -
- -List of response headers that an actual response might have and can be exposed to the client. - -The special value `*` allows all headers to be exposed. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.exposedHeaders=* -``` - -
- -

`hazelcast.mc.cors.allowCredentials`

- -

`MC_CORS_ALLOW_CREDENTIALS`

- -
Whether user credentials are supported or not. Setting this property to `true` forbids originPatterns, allowedMethods, allowedHeaders to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. By default this is not set (i.e. user credentials are not supported). - -```bash -hz-mc start -Dhazelcast.mc.cors.allowCredentials=true -``` - -
- -

`hazelcast.mc.cors.allowPrivateNetwork`

- -

`MC_CORS_ALLOW_PRIVATE_NETWORK`

- -
- -Whether private network access is supported for user-agents restricting such access by default. - -Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost. - -By default this is not set (i.e. private network access is not supported). - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowPrivateNetwork=true -``` - -
- -

`hazelcast.mc.cors.maxAge`

- -

`MC_CORS_MAX_AGE`

- -
- -Configure how long, in seconds, the response from a pre-flight request can be cached by clients. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.maxAge=1600 -``` - -
`hazelcast.mc.cluster.operation.timeout.millis`Timeout in milliseconds for Management Center operations that wait for a response from members. Default: 60000. - -```bash -hz-mc start -Dhazelcast.mc.cluster.operation.timeout.millis=60000 -``` - -
`hazelcast.mc.disableHostnameVerification`Whether Management Center does not verify the hostname of signed TLS/SSL certificates. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.disableHostnameVerification=true -``` - -
- -

`hazelcast.mc.disableLoginPeriodMultiplier`

- -

`MC_DISABLE_LOGIN_PERIOD_MULTIPLIER`

- -
Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. Default: `10`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.disableLoginPeriodMultiplier=20 -``` - -
- -

`hazelcast.mc.exclude.cipher.suites`

- -

`MC_EXCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.exclude.cipher.suites=^.*_(MD5|SHA|SHA1)$,^TLS_RSA_.*$,^.*_NULL_.*$ -``` - -
- -

`hazelcast.mc.existingKeyStore.path`

- -

`MC_EXISTING_KEYSTORE_PATH`

- -
Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.path=/path/to/existing/keyStore.jceks -``` - -
- -

`hazelcast.mc.existingKeyStore.pass`

- -

`MC_EXISTING_KEYSTORE_PASS`

- -
Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.pass=somepass -``` - -
- -

`hazelcast.mc.existingKeyStore.type`

- -

`MC_EXISTING_KEYSTORE_TYPE`

- -
Type of the keystore. Default: `JCEKS`. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.type=JCEKS -``` - -
- -

`hazelcast.mc.existingKeyStore.provider`

- -

`MC_EXISTING_KEYSTORE_PROVIDER`

- -
Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `` java.security.Provider` `` implementation. Default: System provider. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.provider=com.yourprovider.MyProvider -``` - -
- -

`hazelcast.mc.failedAttemptsBeforeDisableLogin`

- -

`MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN`

- -
Number of failed login attempts that Management Center allows before disabling logins. Default: `3`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.failedAttemptsBeforeDisableLogin=1 -``` - -
- -

`hazelcast.mc.forceLogoutOnMultipleLogin`

- -

`MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN`

- -
Whether Management Center forces users to log out when other users try to log into the same account. Default: `false`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.forceLogoutOnMultipleLogin=true -``` - -
- -

`hazelcast.mc.forwarded.requests.enabled`

- -

`MC_FORWARDED_REQUESTS_ENABLED`

- -
Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. Default: `true`. - -```bash -hz-mc start -Dhazelcast.mc.forwarded.requests.enabled=false -``` - -
- -

`hazelcast.mc.healthCheck.enable`

- -

`MC_HEALTH_CHECK_ENABLED`

- -
Whether the `/health` endpoint is enabled on port [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. Default: `false`. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.enable=true -``` - -In this example, the health check would be available at `http://localhost:8081/health`. - -
- -

`hazelcast.mc.healthCheck.port`

- -

`MC_HEALTH_CHECK_PORT`

- -
The port on which the `/health` endpoint is exposed. Default: [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.port=2000 -``` - -
- -

`hazelcast.mc.home`

- -

`MC_HOME`

- -
Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). - -```bash -hz-mc start -Dhazelcast.mc.home=/home/management-center -``` - -
- -

`hazelcast.mc.hostAddress`

- -

`MC_HOST_ADDRESS`

- -
Network address that Management Center is reachable on. Default: `0.0.0.0` (all network interfaces). - -```bash -hz-mc start -Dhazelcast.mc.hostAddress=127.0.1.1 -``` - -
- -

`hazelcast.mc.http.port`

- -

`MC_HTTP_PORT`

- -
HTTP port for Management Center. Default: `8080`. - -```bash -hz-mc start -Dhazelcast.mc.http.port=80 -``` - -In this example, the URL for Management Center would be `\http:localhost:80`. - -
- -

`hazelcast.mc.include.cipher.suites`

- -

`MC_INCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ -``` - -
- -

`hazelcast.mc.initialDisableLoginPeriod`

- -

`MC_INITIAL_DISABLE_LOGIN_PERIOD`

- -
Initial duration for the disabled login period in seconds. Default: `5`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.initialDisableLoginPeriod=50 -``` - -
- -

`hazelcast.mc.jmx.enabled`

- -

`MC_JMX_ENABLED`

- -
Whether the clustered JMX service is enabled. Default: `false`. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). - -```bash -hz-mc start -Dhazelcast.mc.jmx.enabled=true -``` - -
- -

`hazelcast.mc.jmx.host`

- -

`MC_JMX_HOST_NAME`

- -
Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. Default: Server's hostname. - -```bash -hz-mc start -Dhazelcast.mc.jmx.host=127.0.0.1 -``` - -
- -

`hazelcast.mc.jmx.mutualAuthentication`

- -

`MC_JMX_SSL_MUTUAL_AUTH_ENABLED`

- -
Whether mutual authentication is enabled for the JMX interface. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.mutualAuthentication=false -``` - -
- -

`hazelcast.mc.jmx.port`

- -

`MC_JMX_PORT`

- -
Port on which the clustered JMX service is exposed. Default: `9999`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.port=9000 -``` - -
- -

`hazelcast.mc.jmx.rmi.port`

- -

`MC_JMX_RMI_PORT`

- -
Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. Default: `9998`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.rmi.port=9001 -``` - -
- -

`hazelcast.mc.jmx.ssl.enabled`

- -

`MC_JMX_SSL_ENABLED`

- -
Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.enabled=true -``` - -
- -

`hazelcast.mc.jmx.ssl.protocol`

- -

`MC_JMX_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.protocol=SSLv3 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStore`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Path to a keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStore=/some/dir/selfsigned.jks -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStorePassword`

- -

`MC_JMX_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStore`

- -

`MC_JMX_SSL_TRUST_STORE`

- -
Path to a truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStore=/some/dir/truststore -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStoreType`

- -

`MC_JMX_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStoreType=DKS -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStorePassword`

- -

`MC_JMX_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustManagerAlgorithm`

- -

`MC_JMX_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStoreType`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStoreType=JKS -``` - -
- -

`hazelcast.mc.jmx.ssl.keyManagerAlgorithm`

- -

`MC_TLS_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. Default: System default. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.ldap.timeout`

- -

`MC_LDAP_CONN_TIMEOUT`

- -
Timeout in milliseconds for Active Directory and LDAP search queries. Default: `3000`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.timeout=4000 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.protocol`

- -

`MC_LDAP_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for LDAP connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStore`

- -

`MC_LDAP_SSL_KEY_STORE`

- -
Path to a keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStoreType`

- -

`MC_LDAP_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStorePassword`

- -

`MC_LDAP_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ldap.ssl.keyManagerAlgorithm`

- -

`MC_LDAP_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStore`

- -

`MC_LDAP_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStorePassword`

- -

`MC_LDAP_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStoreType`

- -

`MC_LDAP_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ldap.ssl.trustManagerAlgorithm`

- -

`MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.protocol`

- -

`MC_AD_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for AD connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStore`

- -

`MC_AD_SSL_KEY_STORE`

- -
Path to a keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStoreType`

- -

`MC_AD_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStorePassword`

- -

`MC_AD_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ad.ssl.keyManagerAlgorithm`

- -

`MC_AD_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStore`

- -

`MC_AD_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStorePassword`

- -

`MC_AD_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStoreType`

- -

`MC_AD_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ad.ssl.trustManagerAlgorithm`

- -

`MC_AD_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.license`

- -

`MC_LICENSE`

- -
Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see See [Enterprise licenses](../license-management/license-management.mdx). - -```bash -hz-mc start -Dhazelcast.mc.license={license key} -``` - -
- -

`hazelcast.mc.lock.skip`

- -

`MC_LOCK_SKIP`

- -
Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. Default: `false`. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file) - -```bash -hz-mc start -Dhazelcast.mc.lock.skip=true -``` - -
- -

`hazelcast.mc.maxDisableLoginPeriod`

- -

`MC_MAX_DISABLE_LOGIN_PERIOD`

- -
Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. - -```bash -hz-mc start -Dhazelcast.mc.maxDisableLoginPeriod= \ -``` - -
- -

`hazelcast.mc.metrics.persistence.enabled`

- -

`MC_METRICS_PERSISTENCE_ENABLED`

- -
Whether Management Center persists metrics. Default: `true`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.persistence.enabled=false -``` - -
- -

`hazelcast.mc.metrics.disk.ttl.duration`

- -

`MC_METRICS_DISK_TTL_DURATION`

- -
Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. Default: `P1D` (one day). This value must be positive. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.disk.ttl.duration=P2D -``` - -
- -

`hazelcast.mc.metrics.consumer.thread.pool.size`

- -

`MC_METRICS_CONSUMER_THREAD_POOL_SIZE`

- -
Number of threads that are used to consume metrics from cluster members. Default: `2`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.consumer.thread.pool.size=5 -``` - -
`hazelcast.mc.metrics.reschedule.delay.millis MC_METRICS_RESCHEDULE_DELAY_MILLIS`Interval in milliseconds that Management Center waits before requesting metrics from cluster members. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.metrics.reschedule.delay.millis=5000 -``` - -
`hazelcast.mc.jet.metrics.retentionSecs MC_JET_METRICS_RETENTION_SECS`Interval in seconds that Management Center holds Jet metrics in memory. Default: `3600`. - -```bash -hz-mc start -Dhazelcast.mc.jet.metrics.retentionSecs=7200 -``` - -
- -

`hazelcast.mc.phone.home.enabled`

- -

`MC_PHONE_HOME_ENABLED`

- -
Whether Management Center sends usage data to the Hazelcast phone home server. Default: `true`. See [Usage analytics](../phone-homes.mdx). - -```bash -hz-mc start -Dhazelcast.mc.phone.home.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.enabled`

- -

`MC_PROMETHEUS_EXPORTER_ENABLED`

- -
Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ -``` - -
- -

`hazelcast.mc.prometheusExporter.timestamp.enabled`

- -

`MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED`

- -
Whether to send timestamp of the individual members' metrics to Prometheus. Its default value is `true` (enabled). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.timestamp.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.filter.metrics.included`

+If a property has no environment variable, you can set it with the `JAVA_OPTS` environment variable. You can use `JAVA_OPTS` when you start Management Center in any of these ways: +- Docker environments +- `hz-mc conf` tool +- Start scripts included with Hazelcast Platform or Management Center, such as `hz-mc start` -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED`

+:::tip[Docker configuration] -
Metrics to include in the `/metrics` endpoint. Default: `' '` (empty). +You may also need to use other environment variables in Docker environments. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \ -``` +::: -
+You can use properties to configure both Management Center and Management Center's client connection strategy on startup. -

`hazelcast.mc.prometheusExporter.filter.metrics.excluded`

+If a property has an environment variable, the Environment variable column lists it. -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED`

+This example shows how to set system properties or environment variables: -
Metrics to exclude from the `/metrics` endpoint. Default: `' '` (empty). + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \ +hz-mc start -Dhazelcast.mc.http.port=8083 ``` -
- -

`hazelcast.mc.prometheusExporter.port`

- -

`MC_PROMETHEUS_EXPORTER_PORT`

- -
Port on which the `/metrics` endpoint is exposed. - - - + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ - -Dhazelcast.mc.prometheusExporter.port=2222 +export JAVA_OPTS='-Dhazelcast.mc.http.port=8083' +hz-mc start ``` - + ```bash -mc-start.cmd -Dhazelcast.mc.prometheusExporter.enabled=true ^ - -Dhazelcast.mc.prometheusExporter.port=2222 +export MC_HTTP_PORT=8083 +hz-mc start ``` -In this example, the `/metrics` endpoint would be available on port 2222: `http://localhost:2222/metrics`. - -
- -

`hazelcast.mc.prometheusExporter.printers`

- -

`MC_PROMETHEUS_EXPORTER_PRINTERS`

- -
Which set of metrics to expose. Default: `V1,V2`. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.printers=V1 -``` - -
- -

`hazelcast.mc.rest.enabled`

- -

`MC_REST_ENABLED`

- -
Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.rest.enabled=true -``` - -
- -

`hazelcast.mc.security.dictionary.minWordLength`

- -

`MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH`

- -
Minimum length that words in the dictionary must contain. Default: `3`. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ - -Dhazelcast.mc.security.dictionary.minWordLength=3 \ -``` - -
- -

`hazelcast.mc.security.dictionary.path`

- -

`MC_SECURITY_DICTIONARY_PATH`

- -
Path to a text file that contains words that cannot be included in user passwords. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ -``` - -
- -

`hazelcast.mc.session.timeout.seconds`

- -

`MC_SESSION_TIMEOUT_SECONDS`

- -
Number of seconds that a session can remain inactive before it is invalid and the user must log in again. Default `1800`. - -```bash -hz-mc start -Dhazelcast.mc.session.timeout.seconds=60 -``` - -
- -

`hazelcast.mc.state.reschedule.delay.millis`

- -

`MC_STATE_RESCHEDULE_DELAY_MILLIS`

- -
Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. Default: 1000. - -```bash -hz-mc start -Dhazelcast.mc.state.reschedule.delay.millis=2000 -``` - -
- -

`hazelcast.mc.tls.excludeProtocols`

- -

`MC_TLS_EXCLUDE_PROTOCOLS`

- -
A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. - -```bash -hz-mc start -Dhazelcast.mc.tls.excludeProtocols=SSLv3 -``` - -
- -

`hazelcast.mc.tls.openSsl`

- -

`MC_TLS_OPEN_SSL`

- -
Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.openSsl=true -``` - -
- -

`hazelcast.mc.tls.enabled`

- -

`MC_TLS_ENABLED`

- -
Whether TLS/SSL is enabled. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.enabled=true -``` - -
- -

`hazelcast.mc.tls.keyStore`

- -

`MC_TLS_KEY_STORE`

- -
Path to a keystore. - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStore=/keys/mc.keystore -``` - -
- -

`hazelcast.mc.tls.keyStorePassword`

- -

`MC_TLS_KEY_STORE_PASSWORD`

- -
Password of the keystore in [`hazelcast.mc.tls.keyStore`](#hazelcast-mc-tls-keystore). - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.trustStore`

- -

`MC_TLS_TRUST_STORE`

- -
Path to a truststore. If the [`hazelcast.mc.tls.enabled`](#hazelcast-mc-tls-enabled) system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStore=/truststores/mc.truststore -``` - -
- -

`hazelcast.mc.tls.trustStorePassword`

- -

`MC_TLS_TRUST_STORE_PASSWORD`

- -
Password of the truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.enableHttpPort`

- -

`MC_TLS_ENABLE_HTTP_PORT`

- -
Whether the HTTP port in the [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. - -```bash -hz-mc start -Dhazelcast.mc.tls.enableHttpPort=true -``` - -
- -

`hazelcast.mc.tls.mutualAuthentication`

- -

`MC_TLS_MUTUAL_AUTHENTICATION`

- -
- -Whether clients connected to Management Center are authenticated: - -- `REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated. -- `OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. - -Default: `OPTIONAL`. - - - -```bash -hz-mc start -Dhazelcast.mc.tls.mutualAuthentication=REQUIRED -``` - -
- -

`hazelcast.mc.useExistingKeyStore`

- -

`MC_USE_EXISTING_KEY_STORE`

- -
Enables use of an existing keystore. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.useExistingKeyStore=true -``` - -
`hazelcast.mc.sql.max-cell-length MC_MC_SQL_MAX_CELL_LENGTH`Max length of a cell in SQL query result, longer values are truncated. Default: `2048`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-cell-length=10000 -``` - -
`hazelcast.mc.sql.max-row-count MC_MC_SQL_MAX_CELL_LENGTH`Max number of rows returned by SQL batch query. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-row-count=10000 -``` - -
`hazelcast.mc.websocket.buffer-size HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE`The buffer size of the WebSocket connection MC uses for SQL operations. Default: `5MB`. - -```bash -hz-mc start -Dhazelcast.mc.websocket.buffer-size=10MB -``` - -
`hazelcast.mc.ui.asyncTableThreshold MC_UI_ASYNC_TABLE_THRESHOLD`Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. Default: `500`. - -```bash -hz-mc start -Dazelcast.mc.ui.asyncTableThreshold=1000 -``` - -
- -## Client connection strategy configuration {/* #client-config */} +## General + +These properties configure Management Center's configuration file, home directory, license, and general behavior: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.auditlog.enabled` | `MC_AUDITLOG_ENABLED` | `false` | Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). | +| `hazelcast.mc.configReplacer.class` | | | Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). | +| `hazelcast.mc.configReplacer.failIfValueMissing` | | `true` | Whether the configuration loading process stops when a replacement value is missing. | +| `hazelcast.mc.home` | `MC_HOME` | | Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). | +| `hazelcast.mc.license` | `MC_LICENSE` | | Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see [Enterprise licenses](../license-management/license-management.mdx). | +| `hazelcast.mc.lock.skip` | `MC_LOCK_SKIP` | `false` | Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file). | +| `hazelcast.mc.phone.home.enabled` | `MC_PHONE_HOME_ENABLED` | `true` | Whether Management Center sends usage data to the Hazelcast phone home server. See [Usage analytics](../phone-homes.mdx). | +| `hazelcast.mc.rest.enabled` | `MC_REST_ENABLED` | `false` | Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. | +| `maskOpts` | | `' '` (empty) | Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via `JAVA_OPTS`. | + +## Web server + +These properties configure the Management Center web server, including the HTTP port, health check, and CORS: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.contextPath` | `MC_CONTEXT_PATH` | `' '` (empty) | Prefix of all URL paths in Management Center. | +| `hazelcast.mc.cors.allowedOriginPatterns` | `MC_CORS_ALLOWED_ORIGIN_PATTERNS` | | A list of origins patterns for which cross-origin requests are allowed. | +| `hazelcast.mc.cors.allowedMethods` | `MC_CORS_ALLOWED_METHODS` | | HTTP methods to allow for cross-origin requests.

If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. | +| `hazelcast.mc.cors.allowedHeaders` | `MC_CORS_ALLOWED_HEADERS` | | List of headers that a pre-flight request can list as allowed for use during an actual request.

The special value `*` allows actual requests to send any header. | +| `hazelcast.mc.cors.exposedHeaders` | `MC_CORS_EXPOSED_HEADERS` | | List of response headers that an actual response might have and can be exposed to the client.

The special value `*` allows all headers to be exposed. | +| `hazelcast.mc.cors.allowCredentials` | `MC_CORS_ALLOW_CREDENTIALS` | | Whether user credentials are supported or not. Setting this property to `true` forbids `originPatterns`, `allowedMethods`, `allowedHeaders` to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. If this property is not set, user credentials are not supported. | +| `hazelcast.mc.cors.allowPrivateNetwork` | `MC_CORS_ALLOW_PRIVATE_NETWORK` | | Whether private network access is supported for user-agents restricting such access by default.

Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost.

If this property is not set, private network access is not supported. | +| `hazelcast.mc.cors.maxAge` | `MC_CORS_MAX_AGE` | | Configure how long, in seconds, the response from a pre-flight request can be cached by clients. | +| `hazelcast.mc.forwarded.requests.enabled` | `MC_FORWARDED_REQUESTS_ENABLED` | `true` | Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. | +| `hazelcast.mc.healthCheck.enable` | `MC_HEALTH_CHECK_ENABLED` | `false` | Whether the `/health` endpoint is enabled on port `hazelcast.mc.http.port` + 1. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. | +| `hazelcast.mc.healthCheck.port` | `MC_HEALTH_CHECK_PORT` | `hazelcast.mc.http.port` + 1 | The port on which the `/health` endpoint is exposed. | +| `hazelcast.mc.hostAddress` | `MC_HOST_ADDRESS` | `0.0.0.0` (all network interfaces) | Network address that Management Center is reachable on. | +| `hazelcast.mc.http.port` | `MC_HTTP_PORT` | `8080` | HTTP port for Management Center. | +| `hazelcast.mc.websocket.buffer-size` | `HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE` | `5MB` | The buffer size of the WebSocket connection MC uses for SQL operations. | + +If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. + +For `hazelcast.mc.cors.allowedHeaders` and `hazelcast.mc.cors.exposedHeaders`, a header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. + +## TLS + +These properties configure TLS for the Management Center web server: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.disableHostnameVerification` | | `false` | Whether Management Center does not verify the hostname of signed TLS/SSL certificates. | +| `hazelcast.mc.exclude.cipher.suites` | `MC_EXCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.existingKeyStore.path` | `MC_EXISTING_KEYSTORE_PATH` | `' '` (empty) | Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). | +| `hazelcast.mc.existingKeyStore.pass` | `MC_EXISTING_KEYSTORE_PASS` | `' '` (empty) | Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. | +| `hazelcast.mc.existingKeyStore.type` | `MC_EXISTING_KEYSTORE_TYPE` | `JCEKS` | Type of the keystore. | +| `hazelcast.mc.existingKeyStore.provider` | `MC_EXISTING_KEYSTORE_PROVIDER` | System provider | Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `java.security.Provider` implementation. | +| `hazelcast.mc.include.cipher.suites` | `MC_INCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.tls.excludeProtocols` | `MC_TLS_EXCLUDE_PROTOCOLS` | | A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. | +| `hazelcast.mc.tls.openSsl` | `MC_TLS_OPEN_SSL` | `false` | Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. | +| `hazelcast.mc.tls.enabled` | `MC_TLS_ENABLED` | `false` | Whether TLS/SSL is enabled. | +| `hazelcast.mc.tls.keyStore` | `MC_TLS_KEY_STORE` | | Path to a keystore. | +| `hazelcast.mc.tls.keyStorePassword` | `MC_TLS_KEY_STORE_PASSWORD` | | Password of the keystore in `hazelcast.mc.tls.keyStore`. | +| `hazelcast.mc.tls.trustStore` | `MC_TLS_TRUST_STORE` | | Path to a truststore. If the `hazelcast.mc.tls.enabled` system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. | +| `hazelcast.mc.tls.trustStorePassword` | `MC_TLS_TRUST_STORE_PASSWORD` | | Password of the truststore. | +| `hazelcast.mc.tls.enableHttpPort` | `MC_TLS_ENABLE_HTTP_PORT` | | Whether the HTTP port in the `hazelcast.mc.http.port` system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. | +| `hazelcast.mc.tls.mutualAuthentication` | `MC_TLS_MUTUAL_AUTHENTICATION` | `OPTIONAL` | Whether clients connected to Management Center are authenticated:

`REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated.
`OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. | +| `hazelcast.mc.useExistingKeyStore` | `MC_USE_EXISTING_KEY_STORE` | `false` | Enables use of an existing keystore. | + +## Login, sessions, and passwords + +These properties configure user logins, sessions, and password checks: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.allowMultipleLogin` | `MC_ALLOW_MULTIPLE_LOGIN` | `true` | Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.disableLoginPeriodMultiplier` | `MC_DISABLE_LOGIN_PERIOD_MULTIPLIER` | `10` | Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.failedAttemptsBeforeDisableLogin` | `MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN` | `3` | Number of failed login attempts that Management Center allows before disabling logins. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.forceLogoutOnMultipleLogin` | `MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN` | `false` | Whether Management Center forces users to log out when other users try to log into the same account. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.initialDisableLoginPeriod` | `MC_INITIAL_DISABLE_LOGIN_PERIOD` | `5` | Initial duration for the disabled login period in seconds. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.maxDisableLoginPeriod` | `MC_MAX_DISABLE_LOGIN_PERIOD` | | Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. | +| `hazelcast.mc.security.dictionary.minWordLength` | `MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH` | `3` | Minimum length that words in the dictionary must contain. | +| `hazelcast.mc.security.dictionary.path` | `MC_SECURITY_DICTIONARY_PATH` | | Path to a text file that contains words that cannot be included in user passwords. | +| `hazelcast.mc.session.timeout.seconds` | `MC_SESSION_TIMEOUT_SECONDS` | `1800` | Number of seconds that a session can remain inactive before it is invalid and the user must log in again. | + +## LDAP and Active Directory + +These properties configure connections to LDAP and Active Directory servers: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.ldap.timeout` | `MC_LDAP_CONN_TIMEOUT` | `3000` | Timeout in milliseconds for Active Directory and LDAP search queries. | +| `hazelcast.mc.ldap.ssl.protocol` | `MC_LDAP_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for LDAP connection. | +| `hazelcast.mc.ldap.ssl.keyStore` | `MC_LDAP_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for LDAP SSL connection. | +| `hazelcast.mc.ldap.ssl.keyStoreType` | `MC_LDAP_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ldap.ssl.keyStorePassword` | `MC_LDAP_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for LDAP SSL connection. | +| `mc.ldap.ssl.keyManagerAlgorithm` | `MC_LDAP_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ldap.ssl.trustStore` | `MC_LDAP_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ldap.ssl.trustStorePassword` | `MC_LDAP_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ldap.ssl.trustStoreType` | `MC_LDAP_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ldap.ssl.trustManagerAlgorithm` | `MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.protocol` | `MC_AD_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for AD connection. | +| `hazelcast.mc.ad.ssl.keyStore` | `MC_AD_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for AD SSL connection. | +| `hazelcast.mc.ad.ssl.keyStoreType` | `MC_AD_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ad.ssl.keyStorePassword` | `MC_AD_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for AD SSL connection. | +| `mc.ad.ssl.keyManagerAlgorithm` | `MC_AD_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.trustStore` | `MC_AD_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ad.ssl.trustStorePassword` | `MC_AD_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ad.ssl.trustStoreType` | `MC_AD_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ad.ssl.trustManagerAlgorithm` | `MC_AD_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | + +## JMX + +These properties configure JMX for Management Center: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.jmx.enabled` | `MC_JMX_ENABLED` | `false` | Whether the clustered JMX service is enabled. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). | +| `hazelcast.mc.jmx.host` | `MC_JMX_HOST_NAME` | Server's hostname | Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. | +| `hazelcast.mc.jmx.mutualAuthentication` | `MC_JMX_SSL_MUTUAL_AUTH_ENABLED` | `false` | Whether mutual authentication is enabled for the JMX interface. | +| `hazelcast.mc.jmx.port` | `MC_JMX_PORT` | `9999` | Port on which the clustered JMX service is exposed. | +| `hazelcast.mc.jmx.rmi.port` | `MC_JMX_RMI_PORT` | `9998` | Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. | +| `hazelcast.mc.jmx.ssl.enabled` | `MC_JMX_SSL_ENABLED` | `false` | Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. | +| `hazelcast.mc.jmx.ssl.protocol` | `MC_JMX_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol. | +| `hazelcast.mc.jmx.ssl.keyStore` | `MC_JMX_SSL_KEY_STORE_TYPE` | `' '` (empty) | Path to a keystore. | +| `hazelcast.mc.jmx.ssl.keyStorePassword` | `MC_JMX_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore. | +| `hazelcast.mc.jmx.ssl.trustStore` | `MC_JMX_SSL_TRUST_STORE` | `' '` (empty) | Path to a truststore. | +| `hazelcast.mc.jmx.ssl.trustStoreType` | `MC_JMX_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `hazelcast.mc.jmx.ssl.trustStorePassword` | `MC_JMX_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.jmx.ssl.trustManagerAlgorithm` | `MC_JMX_SSL_TRUST_MANAGER_ALGORITHM` | | Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. | +| `hazelcast.mc.jmx.ssl.keyStoreType` | `MC_JMX_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.jmx.ssl.keyManagerAlgorithm` | `MC_TLS_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. | + +## Metrics and Prometheus + +These properties configure how Management Center stores metrics and exports them to Prometheus: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.metrics.persistence.enabled` | `MC_METRICS_PERSISTENCE_ENABLED` | `true` | Whether Management Center persists metrics. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.disk.ttl.duration` | `MC_METRICS_DISK_TTL_DURATION` | `P1D` (one day) | Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. This value must be positive. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.consumer.thread.pool.size` | `MC_METRICS_CONSUMER_THREAD_POOL_SIZE` | `2` | Number of threads that are used to consume metrics from cluster members. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.reschedule.delay.millis` | `MC_METRICS_RESCHEDULE_DELAY_MILLIS` | `1000` | Interval in milliseconds that Management Center waits before requesting metrics from cluster members. | +| `hazelcast.mc.jet.metrics.retentionSecs` | `MC_JET_METRICS_RETENTION_SECS` | `3600` | Interval in seconds that Management Center holds Jet metrics in memory. | +| `hazelcast.mc.prometheusExporter.enabled` | `MC_PROMETHEUS_EXPORTER_ENABLED` | `false` | Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. | +| `hazelcast.mc.prometheusExporter.timestamp.enabled` | `MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED` | `true` (enabled) | Whether to send timestamp of the individual members' metrics to Prometheus. | +| `hazelcast.mc.prometheusExporter.filter.metrics.included` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED` | `' '` (empty) | Metrics to include in the `/metrics` endpoint. | +| `hazelcast.mc.prometheusExporter.filter.metrics.excluded` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED` | `' '` (empty) | Metrics to exclude from the `/metrics` endpoint. | +| `hazelcast.mc.prometheusExporter.port` | `MC_PROMETHEUS_EXPORTER_PORT` | | Port on which the `/metrics` endpoint is exposed. | +| `hazelcast.mc.prometheusExporter.printers` | `MC_PROMETHEUS_EXPORTER_PRINTERS` | `V1,V2` | Which set of metrics to expose. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). | + +## SQL browser and UI + +These properties configure the SQL browser and the UI: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.info.instanceName` | `MC_INFO_INSTANCE_NAME` | | Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Management Center is deployed on. | +| `hazelcast.mc.sql.max-cell-length` | `MC_MC_SQL_MAX_CELL_LENGTH` | `2048` | Max length of a cell in SQL query result, longer values are truncated. | +| `hazelcast.mc.sql.max-row-count` | `MC_MC_SQL_MAX_CELL_LENGTH` | `1000` | Max number of rows returned by SQL batch query. | +| `hazelcast.mc.ui.asyncTableThreshold` | `MC_UI_ASYNC_TABLE_THRESHOLD` | `500` | Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. | + +## Cluster connections + +These properties configure how Management Center communicates with clusters: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.clientFiltering.modes` | `MC_CLIENT_FILTERING_MODES` | `ALLOWLIST, DENYLIST` | Adjusts client filtering modes. Value must be set of `ALLOWLIST` and `DENYLIST`. | +| `hazelcast.mc.clusterHealthCheck.exclude` | `MC_CLUSTERHEALTHCHECK_EXCLUDE` | | List of check identifiers to be excluded from Healthcheck. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). | +| `hazelcast.mc.cluster.operation.timeout.millis` | | 60000 | Timeout in milliseconds for Management Center operations that wait for a response from members. | +| `hazelcast.mc.state.reschedule.delay.millis` | `MC_STATE_RESCHEDULE_DELAY_MILLIS` | 1000 | Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. | + +## Client connection strategy {/* #client-config */} Use the following properties to configure the connection strategy of the Management Center client. These properties apply to all clients that are started by Management Center. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
`hazelcast.mc.client.max.backoff.millis`Upper limit of the backoff in milliseconds. Default: `30000`. Values must be between 30000 and 600000. - -```bash -hz-mc start -Dhazelcast.mc.client.max.backoff.millis=486000 -``` - -
`hazelcast.mc.client.backoff.multiplier`Factor by which to multiply the backoff after each failed retry. Default: `2`. Values must be between 1 and 10. - -```bash -hz-mc start -Dhazelcast.mc.client.backoff.multiplier=3 -``` - -
`hazelcast.mc.client.initial.backoff.millis`Duration in milliseconds that Management Center waits after the first connection failure before retrying. Default: `1000`. Values must be between 1000 and 60000. - -```bash -hz-mc start -Dhazelcast.mc.client.initial.backoff.millis=2000 -``` - -
`hazelcast.mc.clientFiltering.modes`Adjusts client filtering modes. Default: `ALLOWLIST, DENYLIST`. Value must be set of `ALLOWLIST` and `DENYLIST`. - -```bash -hz-mc start -Dhazelcast.mc.clientFiltering.modes=ALLOWLIST -``` - -
`hazelcast.mc.info.instanceName`Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Manage Center is deployed on. - -```bash -hz-mc start -Dhazelcast.mc.info.instanceName=ManCenter-us-east-1 -``` - -
`maskOpts`Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via JAVA\_OPTS. Default: `' '` (empty). - -```bash -hz-mc start -Djavax.net.ssl.keyStorePassword=keypassword -Djavax.net.ssl.trustStorePassword=trustpassword -DmaskOpts=javax.net.ssl.keyStorePassword,javax.net.ssl.trustStorePassword -``` - -
+| Property | Default | Description | +| --- | --- | --- | +| `hazelcast.mc.client.max.backoff.millis` | `30000` | Upper limit of the backoff in milliseconds. Values must be between 30000 and 600000. | +| `hazelcast.mc.client.backoff.multiplier` | `2` | Factor by which to multiply the backoff after each failed retry. Values must be between 1 and 10. | +| `hazelcast.mc.client.initial.backoff.millis` | `1000` | Duration in milliseconds that Management Center waits after the first connection failure before retrying. Values must be between 1000 and 60000. | diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/variable-replacers.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/variable-replacers.mdx index c55f85d0..4c0b3aa6 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/variable-replacers.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/configuration/variable-replacers.mdx @@ -54,7 +54,7 @@ $ENC{h7kmetFZwh8=:531:dOsG5ezhSZiyBXY5JNx8gg==} To use the encrypted value as configuration input in Management Center, you need to provide the following properties: -- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#hazelcast-mc-configreplacer-class) +- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#general) - Any configuration properties that you used to generate the encrypted value. - Any property to take the encrypted value as input for the `EncryptionReplacer` to decrypt. diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/historical-metrics.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/historical-metrics.mdx index 366a9ab8..e2dfeab2 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/historical-metrics.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/historical-metrics.mdx @@ -36,7 +36,7 @@ Each in-memory minute bucket consumes around 0.5 KB of memory. ## Change the metrics time to live -To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#disk-usage-config). +To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#metrics-and-prometheus). This property takes a duration in days, represented in the ISO-8601 format: @@ -83,7 +83,7 @@ These logs provide some basic persistence statistics and details about any activ ## Disable metrics persistence -If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#hazelcast-mc-metrics-persistence-enabled) property to `false`, which stores metrics only in memory. +If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#metrics-and-prometheus) property to `false`, which stores metrics only in memory. :::tip @@ -109,7 +109,7 @@ hz-mc start Management Center may experience delays while consuming metrics from cluster members, resulting in `N/A` or `0` displayed instead of the metric values. Delays usually occur when Management Center is connected to a large cluster of 30+ members. -To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#hazelcast-mc-metrics-consumer-thread-pool-size) +To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#metrics-and-prometheus) ### Slow background persistence runs diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/license-management/updating-mc-license-ui.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/license-management/updating-mc-license-ui.mdx index 37ebad1c..b4042405 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/license-management/updating-mc-license-ui.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/license-management/updating-mc-license-ui.mdx @@ -44,4 +44,4 @@ The information on the page is updated for the new license. Use the REST API to [get details about license expiration times](../../integrate/clustered-rest/cluster-metrics.mdx#get-rest-license). -Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#starting-with-a-license) to override any Enterprise license for Management Center that's already installed. +Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#general) to override any Enterprise license for Management Center that's already installed. diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/phone-homes.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/phone-homes.mdx index af21ac5f..d8e768b4 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/phone-homes.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/phone-homes.mdx @@ -56,4 +56,4 @@ For each user login, we store the following information and send it in a phone h ## Disable the collection of usage analytics -You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#hazelcast-mc-phone-home-enabled) to `false` +You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#general) to `false` diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/sessions.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/sessions.mdx index 0cc2a818..343396ec 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/sessions.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/sessions.mdx @@ -13,7 +13,7 @@ To secure users' sessions, you can configure session timeouts and multiple user If you have deployed Management Center on an application server/container, you can configure the default session timeout period of the application server/container to change the session timeout period for the Management Center. If your server/container allows application specific configuration, you can use it to configure the session timeout period for the Management Center. -If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#hazelcast-mc-session-timeout-seconds). For example, the following command starts Management Center with a session timeout period of 1 minute: +If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#login-sessions-and-passwords). For example, the following command starts Management Center with a session timeout period of 1 minute: diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/serving-https.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/serving-https.mdx index c221988d..c08eb99d 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/serving-https.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/serving-https.mdx @@ -55,7 +55,7 @@ It's not always necessary to have certificates signed by a well-known certificat To use a self-signed certificate, do one of the following: - Create the certificate with the hostname of the machine you will deploy the Management Center on. -- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#hazelcast-mc-disablehostnameverification) to `true`. +- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#tls) to `true`. Otherwise, you may see this exception in the member logs: @@ -97,7 +97,7 @@ This command starts the Management Center on HTTPS port 443. ## Redirect the HTTP port to HTTPS {/* #enabling-http-port */} -By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#hazelcast.mc.tls.enableHttpPort) to `true`. +By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#tls) to `true`. ## Mutual authentication @@ -105,4 +105,4 @@ To make sure that only authenticated HTTP clients such as web browsers or cURL c When mutual authentication is enabled, HTTP clients need to present their own TLS certificate to Management Center before they are allowed to connect. You can store trusted clients' TLS certificates in the Management Center truststore so it can authenticate them. -To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#hazelcast-mc-tls-mutualauthentication). +To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#tls). diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/tls-security.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/tls-security.mdx index 3bf3c512..d07da06e 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/tls-security.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/tls/tls-security.mdx @@ -10,7 +10,7 @@ Management Center communicates over many channels. To encrypt data transmitted o :::note -The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#enabling-health-check-endpoint) property. +The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#web-server) property. ::: @@ -22,7 +22,7 @@ The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. Se :::note - Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#hazelcast-mc-forwarded-requests-enabled) is set to `true`. + Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#web-server) is set to `true`. ::: - If your Hazelcast cluster uses TLS, configure Management Center with the necessary truststore information. You'll need to configure the truststore, using a client configuration file. See [Cluster connections](../../cluster-connections/cluster-connections.mdx). @@ -49,7 +49,7 @@ After starting Management Center, a line similar to the following appears in the ## Include and exclude cipher suites {/* #including-excluding-specific-cipher-suites */} -When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#hazelcast-mc-exclude-cipher-suites) on startup. You can either use the exact cipher suite name or a regular expression. For example: +When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#tls) on startup. You can either use the exact cipher suite name or a regular expression. For example: ```none -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/active-directory.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/active-directory.mdx index 55f7ffbc..62bc0b26 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/active-directory.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/active-directory.mdx @@ -42,7 +42,7 @@ mc-conf.bat active-directory configure :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Admin Groups:** Members of this group and its nested groups have admin privileges on the Management Center. To use more than one group, separate them with a semicolon (;). @@ -80,7 +80,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `active- ## Enable TLS/SSL for Active Directory {/* #ad-ssl */} -If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ad-ssl-protocol). +If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Next steps diff --git a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/ldap.mdx b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/ldap.mdx index 2e8b9c33..f5e18dbf 100644 --- a/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/ldap.mdx +++ b/management-center_versioned_docs/version-5.10/deploy-and-manage/security/user-authentication/ldap.mdx @@ -49,7 +49,7 @@ mc-conf.bat ldap configure :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Group Search Filter:** LDAP search filter expression to search for the groups. For example, `uniquemember={0}` searches for a group that matches with the `uniquemember` attribute. @@ -97,7 +97,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `ldap co ## Enable TLS/SSL for LDAP {/* #ldap-ssl */} -If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ldap-ssl-protocol). +If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Password encryption diff --git a/management-center_versioned_docs/version-5.10/get-started/get-started.mdx b/management-center_versioned_docs/version-5.10/get-started/get-started.mdx index cf1b780e..2cbbdaca 100644 --- a/management-center_versioned_docs/version-5.10/get-started/get-started.mdx +++ b/management-center_versioned_docs/version-5.10/get-started/get-started.mdx @@ -73,7 +73,7 @@ To complete this tutorial, you need the following: ### Start the compose stack with an Enterprise license -If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details): +If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details): ```yaml vars services: diff --git a/management-center_versioned_docs/version-5.10/get-started/user-interface-overview/user-interface.mdx b/management-center_versioned_docs/version-5.10/get-started/user-interface-overview/user-interface.mdx index a5f4ac3b..5503d0d3 100644 --- a/management-center_versioned_docs/version-5.10/get-started/user-interface-overview/user-interface.mdx +++ b/management-center_versioned_docs/version-5.10/get-started/user-interface-overview/user-interface.mdx @@ -18,7 +18,7 @@ The user interface has a Top Bar running along the top and a Side Bar on the lef The Top Bar has the following elements: -- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-info-instanceName). +- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui). - **Cluster dropdown**. Select a connected cluster to manage. Cluster version is shown to the right of each connected cluster. :::note diff --git a/management-center_versioned_docs/version-5.10/install-and-upgrade/install.mdx b/management-center_versioned_docs/version-5.10/install-and-upgrade/install.mdx index ca8955b6..a4beaa2e 100644 --- a/management-center_versioned_docs/version-5.10/install-and-upgrade/install.mdx +++ b/management-center_versioned_docs/version-5.10/install-and-upgrade/install.mdx @@ -193,7 +193,7 @@ mc-start.cmd ## Starting Management Center with an Enterprise license {/* #starting-with-enterprise-license */} -If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details). +If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details). diff --git a/management-center_versioned_docs/version-5.10/integrate/clustered-jmx/jmx.mdx b/management-center_versioned_docs/version-5.10/integrate/clustered-jmx/jmx.mdx index 6dc65273..1f8327e1 100644 --- a/management-center_versioned_docs/version-5.10/integrate/clustered-jmx/jmx.mdx +++ b/management-center_versioned_docs/version-5.10/integrate/clustered-jmx/jmx.mdx @@ -19,7 +19,7 @@ For information about integration with Datadog, see the: [Datadog Docs](https:// ::: -To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-jmx-enabled): +To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#jmx): diff --git a/management-center_versioned_docs/version-5.10/integrate/clustered-rest/clustered-rest.mdx b/management-center_versioned_docs/version-5.10/integrate/clustered-rest/clustered-rest.mdx index afa8c926..8e30d4cf 100644 --- a/management-center_versioned_docs/version-5.10/integrate/clustered-rest/clustered-rest.mdx +++ b/management-center_versioned_docs/version-5.10/integrate/clustered-rest/clustered-rest.mdx @@ -15,7 +15,7 @@ The clustered REST API can be enabled to allow you to monitor clustered statisti The REST API is disabled by default. -To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) at startup. +To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#general) at startup. ## Root endpoint diff --git a/management-center_versioned_docs/version-5.10/integrate/prometheus-monitoring/overview.mdx b/management-center_versioned_docs/version-5.10/integrate/prometheus-monitoring/overview.mdx index 5e8e9821..d151ffa8 100644 --- a/management-center_versioned_docs/version-5.10/integrate/prometheus-monitoring/overview.mdx +++ b/management-center_versioned_docs/version-5.10/integrate/prometheus-monitoring/overview.mdx @@ -29,7 +29,7 @@ Management Center also reformats the metrics to align with Prometheus best pract Management Center collects metrics with the timestamp of individual members, and sends this timestamp to Prometheus. Prometheus discards metrics with the oldest timestamps. You can disable sending timestamps so that your monitoring system continues to operate when clock shifts happen in the cluster. -To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#prometheus-timestamp) property to `false`. +To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#metrics-and-prometheus) property to `false`. ## Configure Prometheus diff --git a/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx index e8c14dea..3524f6c4 100644 --- a/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx +++ b/management-center_versioned_docs/version-5.10/tools/sql-browser.mdx @@ -103,7 +103,7 @@ Example query results ## Truncate displayed query results -To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-sql-max-cell-length) property. +To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui) property. ## View map metadata diff --git a/management-center_versioned_docs/version-5.10/troubleshoot/management-center.mdx b/management-center_versioned_docs/version-5.10/troubleshoot/management-center.mdx index 42ace521..0b50d0d5 100644 --- a/management-center_versioned_docs/version-5.10/troubleshoot/management-center.mdx +++ b/management-center_versioned_docs/version-5.10/troubleshoot/management-center.mdx @@ -15,7 +15,7 @@ The scrollbar should hide shortly after you stop scrolling. This is the default ## Experience timeout -If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-cluster-operation-timeout) property. +If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) property. ## Cannot open the configuration for a data structure diff --git a/management-center_versioned_docs/version-5.11/cluster/client-filtering/create-filter-lists-rest.mdx b/management-center_versioned_docs/version-5.11/cluster/client-filtering/create-filter-lists-rest.mdx index 320a303c..eb3c77ac 100644 --- a/management-center_versioned_docs/version-5.11/cluster/client-filtering/create-filter-lists-rest.mdx +++ b/management-center_versioned_docs/version-5.11/cluster/client-filtering/create-filter-lists-rest.mdx @@ -9,7 +9,7 @@ You can define filter lists to allow or disallow client connections to clusters, ## Before you begin - Configure your Hazelcast clients with one or more failover clusters to make sure that disconnected clients can connect to another cluster. For a tutorial, see . -- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) property. +- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#general) property. - If you are not using Management Center in dev mode, generate an [authentication token](../../integrate/clustered-rest/clustered-rest.mdx) to use in HTTP requests. You can deploy either an allow list or a deny list to a cluster, not both. If you deploy an allow list, the cluster disallows connections from any clients that aren't in the allow list. If you deploy a deny list, the cluster allows connections from any client that isn't in the deny list. diff --git a/management-center_versioned_docs/version-5.11/cluster/client-filtering/overview.mdx b/management-center_versioned_docs/version-5.11/cluster/client-filtering/overview.mdx index e9ed463f..754c6f03 100644 --- a/management-center_versioned_docs/version-5.11/cluster/client-filtering/overview.mdx +++ b/management-center_versioned_docs/version-5.11/cluster/client-filtering/overview.mdx @@ -31,7 +31,7 @@ Management Center supports the following types of filter list: - **Allow list**: Clients that **are allowed** to connect to the cluster. - **Deny list**: Clients that **are not allowed** to connect to the cluster. -To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-client-client-filtering-modes). +To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#cluster-connections). ![Client Filtering View](./images/ClientFilteringView.png) diff --git a/management-center_versioned_docs/version-5.11/cluster/healthcheck.mdx b/management-center_versioned_docs/version-5.11/cluster/healthcheck.mdx index b2011752..d89e7a4d 100644 --- a/management-center_versioned_docs/version-5.11/cluster/healthcheck.mdx +++ b/management-center_versioned_docs/version-5.11/cluster/healthcheck.mdx @@ -100,4 +100,4 @@ A check may be further enabled for the whole cluster, or for a specific data str You can exclude a check from Healthcheck analysis entirely by adding the check ID (shown in the left column) to the `hazelcast.mc.clusterHealthCheck.exclude` system property. Excluded checks will not be performed on any member in the cluster and will not appear in the Healthcheck report. -See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-clusterHealthCheck-exclude) for more information. +See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) for more information. diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx index 11306c15..b0409785 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/configuring.mdx @@ -16,7 +16,7 @@ By default, Management Center saves the following data in the `hazelcast-mc` dir - Configuration settings - Metrics -You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home). +You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#general). ## Ways to configure Management Center diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/logging.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/logging.mdx index c2386ccf..cc1b8ffa 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/logging.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/logging.mdx @@ -90,7 +90,7 @@ For more information about the JSON logging templates, see the [Log4j2 JSON Layo To make it easier to examine suspicious activity and troubleshoot issues, you can use audit logging to keep a record of events that happen in Management Center such as user logins. -To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#hazelcast-mc-auditlog-enabled) set to `true`. +To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#general) set to `true`. Log entries from the audit logging will be marked with the `hazelcast.auditlog` logging category, abbreviated as `h.auditlog` in logs. diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/mc-conf.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/mc-conf.mdx index e3329dce..9dee3cdf 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/mc-conf.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/mc-conf.mdx @@ -39,7 +39,7 @@ To use the `hz-mc conf` tool, execute the `hz-mc conf` command in the `bin/` dir :::tip - If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home), you must provide the path to the home directory with the `-H` or `--home` options. + If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#general), you must provide the path to the home directory with the `-H` or `--home` options. ::: 3. To see documentation for a specific command, enter the command, followed by the `-h` flag. @@ -99,7 +99,7 @@ The `hz-mc conf` tool comes with the following commands. Each command includes t ## Skip the check for a lock file -When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#hazelcast-mc-lock-skip). +When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#general). ```bash export JAVA_OPTS='-Dhazelcast.mc.lock.skip=true' diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/system-properties.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/system-properties.mdx index 288ea3bc..b10e566f 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/system-properties.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/system-properties.mdx @@ -9,1835 +9,226 @@ import TabItem from "@theme/TabItem"; You can use system properties and environment variables to configure many aspects of Management Center, from JMX to the home directory and feature flags. These properties give you the power to tweak settings at startup without having to configure anything in the UI. -If an environment variable isn't available for a property and you start Management Center using any of the following methods, you can use the `JAVA_OPTS` environment variable to set system properties: - -- Docker environments - - :::tip - - You may also need to use other environment variables. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). - - ::: -- `hz-mc conf` tool -- Start scripts included with Hazelcast Platform or Management Center such as `hz-mc start`. - -You can use properties to configure both Management Center and Management Center's client connection strategy on startup. - -## Management Center configuration - -If an environment variable is available, it is listed under the system property in the Property column. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
- -

`hazelcast.mc.allowMultipleLogin`

- -

`MC_ALLOW_MULTIPLE_LOGIN`

- -
Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. Default: `true`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.allowMultipleLogin=true -``` - -
- -

`hazelcast.mc.auditlog.enabled`

- -

`MC_AUDITLOG_ENABLED`

- -
Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). Default: `false`. - -```bash vars -hz-mc start -Dhazelcast.mc.auditlog.enabled=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.clusterHealthCheck.exclude`

- -

`MC_CLUSTERHEALTHCHECK_EXCLUDE`

- -
List of check identifiers to be excluded from Healthcheck. By default, this is not set. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). - -```bash vars -hz-mc start -Dhazelcast.mc.clusterHealthCheck.exclude=E001,U002 \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.class`Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.class=com.hazelcast.webmonitor.configreplacer.EncryptionReplacer \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.failIfValueMissing`Whether the configuration loading process stops when a replacement value is missing. Default: `true`. - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.failIfValueMissing=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.contextPath`

- -

`MC_CONTEXT_PATH`

- -
Prefix of all URL paths in Management Center. Default: `' '` (empty). - -```bash vars -hz-mc start -Dhazelcast.mc.contextPath=hazelcast-mc \ --jar hazelcast-management-center-{full-version}.jar -``` - -In this example, the URL for Management Center would be `\http:localhost:8080/hazelcast-mc`. - -
- -

`hazelcast.mc.cors.allowedOriginPatterns`

- -

`MC_CORS_ALLOWED_ORIGIN_PATTERNS`

- -
- -A list of origins patterns for which cross-origin requests are allowed. - -If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedOriginPatterns=http://domain.com:[*],https://*.domain.com:8443,http://domain.com:[8080,8090], -``` - -
- -

`hazelcast.mc.cors.allowedMethods`

- -

`MC_CORS_ALLOWED_METHODS`

- -
- -HTTP methods to allow for cross-origin requests. - -By default this is not set. - -If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedMethods=GET,HEAD,POST,DELETE -``` - -
- -

`hazelcast.mc.cors.allowedHeaders`

- -

`MC_CORS_ALLOWED_HEADERS`

- -
- -List of headers that a pre-flight request can list as allowed for use during an actual request. - -The special value `*` allows actual requests to send any header. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedHeaders=* -``` - -
- -

`hazelcast.mc.cors.exposedHeaders`

- -

`MC_CORS_EXPOSED_HEADERS`

- -
- -List of response headers that an actual response might have and can be exposed to the client. - -The special value `*` allows all headers to be exposed. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.exposedHeaders=* -``` - -
- -

`hazelcast.mc.cors.allowCredentials`

- -

`MC_CORS_ALLOW_CREDENTIALS`

- -
Whether user credentials are supported or not. Setting this property to `true` forbids originPatterns, allowedMethods, allowedHeaders to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. By default this is not set (i.e. user credentials are not supported). - -```bash -hz-mc start -Dhazelcast.mc.cors.allowCredentials=true -``` - -
- -

`hazelcast.mc.cors.allowPrivateNetwork`

- -

`MC_CORS_ALLOW_PRIVATE_NETWORK`

- -
- -Whether private network access is supported for user-agents restricting such access by default. - -Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost. - -By default this is not set (i.e. private network access is not supported). - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowPrivateNetwork=true -``` - -
- -

`hazelcast.mc.cors.maxAge`

- -

`MC_CORS_MAX_AGE`

- -
- -Configure how long, in seconds, the response from a pre-flight request can be cached by clients. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.maxAge=1600 -``` - -
`hazelcast.mc.cluster.operation.timeout.millis`Timeout in milliseconds for Management Center operations that wait for a response from members. Default: 60000. - -```bash -hz-mc start -Dhazelcast.mc.cluster.operation.timeout.millis=60000 -``` - -
`hazelcast.mc.disableHostnameVerification`Whether Management Center does not verify the hostname of signed TLS/SSL certificates. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.disableHostnameVerification=true -``` - -
- -

`hazelcast.mc.disableLoginPeriodMultiplier`

- -

`MC_DISABLE_LOGIN_PERIOD_MULTIPLIER`

- -
Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. Default: `10`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.disableLoginPeriodMultiplier=20 -``` - -
- -

`hazelcast.mc.exclude.cipher.suites`

- -

`MC_EXCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.exclude.cipher.suites=^.*_(MD5|SHA|SHA1)$,^TLS_RSA_.*$,^.*_NULL_.*$ -``` - -
- -

`hazelcast.mc.existingKeyStore.path`

- -

`MC_EXISTING_KEYSTORE_PATH`

- -
Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.path=/path/to/existing/keyStore.jceks -``` - -
- -

`hazelcast.mc.existingKeyStore.pass`

- -

`MC_EXISTING_KEYSTORE_PASS`

- -
Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.pass=somepass -``` - -
- -

`hazelcast.mc.existingKeyStore.type`

- -

`MC_EXISTING_KEYSTORE_TYPE`

- -
Type of the keystore. Default: `JCEKS`. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.type=JCEKS -``` - -
- -

`hazelcast.mc.existingKeyStore.provider`

- -

`MC_EXISTING_KEYSTORE_PROVIDER`

- -
Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `` java.security.Provider` `` implementation. Default: System provider. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.provider=com.yourprovider.MyProvider -``` - -
- -

`hazelcast.mc.failedAttemptsBeforeDisableLogin`

- -

`MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN`

- -
Number of failed login attempts that Management Center allows before disabling logins. Default: `3`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.failedAttemptsBeforeDisableLogin=1 -``` - -
- -

`hazelcast.mc.forceLogoutOnMultipleLogin`

- -

`MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN`

- -
Whether Management Center forces users to log out when other users try to log into the same account. Default: `false`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.forceLogoutOnMultipleLogin=true -``` - -
- -

`hazelcast.mc.forwarded.requests.enabled`

- -

`MC_FORWARDED_REQUESTS_ENABLED`

- -
Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. Default: `true`. - -```bash -hz-mc start -Dhazelcast.mc.forwarded.requests.enabled=false -``` - -
- -

`hazelcast.mc.healthCheck.enable`

- -

`MC_HEALTH_CHECK_ENABLED`

- -
Whether the `/health` endpoint is enabled on port [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. Default: `false`. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.enable=true -``` - -In this example, the health check would be available at `http://localhost:8081/health`. - -
- -

`hazelcast.mc.healthCheck.port`

- -

`MC_HEALTH_CHECK_PORT`

- -
The port on which the `/health` endpoint is exposed. Default: [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.port=2000 -``` - -
- -

`hazelcast.mc.home`

- -

`MC_HOME`

- -
Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). - -```bash -hz-mc start -Dhazelcast.mc.home=/home/management-center -``` - -
- -

`hazelcast.mc.hostAddress`

- -

`MC_HOST_ADDRESS`

- -
Network address that Management Center is reachable on. Default: `0.0.0.0` (all network interfaces). - -```bash -hz-mc start -Dhazelcast.mc.hostAddress=127.0.1.1 -``` - -
- -

`hazelcast.mc.http.port`

- -

`MC_HTTP_PORT`

- -
HTTP port for Management Center. Default: `8080`. - -```bash -hz-mc start -Dhazelcast.mc.http.port=80 -``` - -In this example, the URL for Management Center would be `\http:localhost:80`. - -
- -

`hazelcast.mc.include.cipher.suites`

- -

`MC_INCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ -``` - -
- -

`hazelcast.mc.initialDisableLoginPeriod`

- -

`MC_INITIAL_DISABLE_LOGIN_PERIOD`

- -
Initial duration for the disabled login period in seconds. Default: `5`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.initialDisableLoginPeriod=50 -``` - -
- -

`hazelcast.mc.jmx.enabled`

- -

`MC_JMX_ENABLED`

- -
Whether the clustered JMX service is enabled. Default: `false`. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). - -```bash -hz-mc start -Dhazelcast.mc.jmx.enabled=true -``` - -
- -

`hazelcast.mc.jmx.host`

- -

`MC_JMX_HOST_NAME`

- -
Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. Default: Server's hostname. - -```bash -hz-mc start -Dhazelcast.mc.jmx.host=127.0.0.1 -``` - -
- -

`hazelcast.mc.jmx.mutualAuthentication`

- -

`MC_JMX_SSL_MUTUAL_AUTH_ENABLED`

- -
Whether mutual authentication is enabled for the JMX interface. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.mutualAuthentication=false -``` - -
- -

`hazelcast.mc.jmx.port`

- -

`MC_JMX_PORT`

- -
Port on which the clustered JMX service is exposed. Default: `9999`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.port=9000 -``` - -
- -

`hazelcast.mc.jmx.rmi.port`

- -

`MC_JMX_RMI_PORT`

- -
Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. Default: `9998`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.rmi.port=9001 -``` - -
- -

`hazelcast.mc.jmx.ssl.enabled`

- -

`MC_JMX_SSL_ENABLED`

- -
Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.enabled=true -``` - -
- -

`hazelcast.mc.jmx.ssl.protocol`

- -

`MC_JMX_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.protocol=SSLv3 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStore`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Path to a keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStore=/some/dir/selfsigned.jks -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStorePassword`

- -

`MC_JMX_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStore`

- -

`MC_JMX_SSL_TRUST_STORE`

- -
Path to a truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStore=/some/dir/truststore -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStoreType`

- -

`MC_JMX_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStoreType=DKS -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStorePassword`

- -

`MC_JMX_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustManagerAlgorithm`

- -

`MC_JMX_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStoreType`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStoreType=JKS -``` - -
- -

`hazelcast.mc.jmx.ssl.keyManagerAlgorithm`

- -

`MC_TLS_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. Default: System default. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.ldap.timeout`

- -

`MC_LDAP_CONN_TIMEOUT`

- -
Timeout in milliseconds for Active Directory and LDAP search queries. Default: `3000`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.timeout=4000 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.protocol`

- -

`MC_LDAP_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for LDAP connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStore`

- -

`MC_LDAP_SSL_KEY_STORE`

- -
Path to a keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStoreType`

- -

`MC_LDAP_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStorePassword`

- -

`MC_LDAP_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ldap.ssl.keyManagerAlgorithm`

- -

`MC_LDAP_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStore`

- -

`MC_LDAP_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStorePassword`

- -

`MC_LDAP_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStoreType`

- -

`MC_LDAP_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ldap.ssl.trustManagerAlgorithm`

- -

`MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.protocol`

- -

`MC_AD_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for AD connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStore`

- -

`MC_AD_SSL_KEY_STORE`

- -
Path to a keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStoreType`

- -

`MC_AD_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStorePassword`

- -

`MC_AD_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ad.ssl.keyManagerAlgorithm`

- -

`MC_AD_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStore`

- -

`MC_AD_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStorePassword`

- -

`MC_AD_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStoreType`

- -

`MC_AD_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ad.ssl.trustManagerAlgorithm`

- -

`MC_AD_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.license`

- -

`MC_LICENSE`

- -
Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see See [Enterprise licenses](../license-management/license-management.mdx). - -```bash -hz-mc start -Dhazelcast.mc.license={license key} -``` - -
- -

`hazelcast.mc.lock.skip`

- -

`MC_LOCK_SKIP`

- -
Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. Default: `false`. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file) - -```bash -hz-mc start -Dhazelcast.mc.lock.skip=true -``` - -
- -

`hazelcast.mc.maxDisableLoginPeriod`

- -

`MC_MAX_DISABLE_LOGIN_PERIOD`

- -
Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. - -```bash -hz-mc start -Dhazelcast.mc.maxDisableLoginPeriod= \ -``` - -
- -

`hazelcast.mc.metrics.persistence.enabled`

- -

`MC_METRICS_PERSISTENCE_ENABLED`

- -
Whether Management Center persists metrics. Default: `true`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.persistence.enabled=false -``` - -
- -

`hazelcast.mc.metrics.disk.ttl.duration`

- -

`MC_METRICS_DISK_TTL_DURATION`

- -
Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. Default: `P1D` (one day). This value must be positive. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.disk.ttl.duration=P2D -``` - -
- -

`hazelcast.mc.metrics.consumer.thread.pool.size`

- -

`MC_METRICS_CONSUMER_THREAD_POOL_SIZE`

- -
Number of threads that are used to consume metrics from cluster members. Default: `2`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.consumer.thread.pool.size=5 -``` - -
`hazelcast.mc.metrics.reschedule.delay.millis MC_METRICS_RESCHEDULE_DELAY_MILLIS`Interval in milliseconds that Management Center waits before requesting metrics from cluster members. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.metrics.reschedule.delay.millis=5000 -``` - -
`hazelcast.mc.jet.metrics.retentionSecs MC_JET_METRICS_RETENTION_SECS`Interval in seconds that Management Center holds Jet metrics in memory. Default: `3600`. - -```bash -hz-mc start -Dhazelcast.mc.jet.metrics.retentionSecs=7200 -``` - -
- -

`hazelcast.mc.phone.home.enabled`

- -

`MC_PHONE_HOME_ENABLED`

- -
Whether Management Center sends usage data to the Hazelcast phone home server. Default: `true`. See [Usage analytics](../phone-homes.mdx). - -```bash -hz-mc start -Dhazelcast.mc.phone.home.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.enabled`

- -

`MC_PROMETHEUS_EXPORTER_ENABLED`

- -
Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ -``` - -
- -

`hazelcast.mc.prometheusExporter.timestamp.enabled`

- -

`MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED`

- -
Whether to send timestamp of the individual members' metrics to Prometheus. Its default value is `true` (enabled). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.timestamp.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.filter.metrics.included`

+If a property has no environment variable, you can set it with the `JAVA_OPTS` environment variable. You can use `JAVA_OPTS` when you start Management Center in any of these ways: +- Docker environments +- `hz-mc conf` tool +- Start scripts included with Hazelcast Platform or Management Center, such as `hz-mc start` -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED`

+:::tip[Docker configuration] -
Metrics to include in the `/metrics` endpoint. Default: `' '` (empty). +You may also need to use other environment variables in Docker environments. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \ -``` +::: -
+You can use properties to configure both Management Center and Management Center's client connection strategy on startup. -

`hazelcast.mc.prometheusExporter.filter.metrics.excluded`

+If a property has an environment variable, the Environment variable column lists it. -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED`

+This example shows how to set system properties or environment variables: -
Metrics to exclude from the `/metrics` endpoint. Default: `' '` (empty). + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \ +hz-mc start -Dhazelcast.mc.http.port=8083 ``` -
- -

`hazelcast.mc.prometheusExporter.port`

- -

`MC_PROMETHEUS_EXPORTER_PORT`

- -
Port on which the `/metrics` endpoint is exposed. - - - + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ - -Dhazelcast.mc.prometheusExporter.port=2222 +export JAVA_OPTS='-Dhazelcast.mc.http.port=8083' +hz-mc start ``` - + ```bash -mc-start.cmd -Dhazelcast.mc.prometheusExporter.enabled=true ^ - -Dhazelcast.mc.prometheusExporter.port=2222 +export MC_HTTP_PORT=8083 +hz-mc start ``` -In this example, the `/metrics` endpoint would be available on port 2222: `http://localhost:2222/metrics`. - -
- -

`hazelcast.mc.prometheusExporter.printers`

- -

`MC_PROMETHEUS_EXPORTER_PRINTERS`

- -
Which set of metrics to expose. Default: `V1,V2`. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.printers=V1 -``` - -
- -

`hazelcast.mc.rest.enabled`

- -

`MC_REST_ENABLED`

- -
Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.rest.enabled=true -``` - -
- -

`hazelcast.mc.security.dictionary.minWordLength`

- -

`MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH`

- -
Minimum length that words in the dictionary must contain. Default: `3`. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ - -Dhazelcast.mc.security.dictionary.minWordLength=3 \ -``` - -
- -

`hazelcast.mc.security.dictionary.path`

- -

`MC_SECURITY_DICTIONARY_PATH`

- -
Path to a text file that contains words that cannot be included in user passwords. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ -``` - -
- -

`hazelcast.mc.session.timeout.seconds`

- -

`MC_SESSION_TIMEOUT_SECONDS`

- -
Number of seconds that a session can remain inactive before it is invalid and the user must log in again. Default `1800`. - -```bash -hz-mc start -Dhazelcast.mc.session.timeout.seconds=60 -``` - -
- -

`hazelcast.mc.state.reschedule.delay.millis`

- -

`MC_STATE_RESCHEDULE_DELAY_MILLIS`

- -
Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. Default: 1000. - -```bash -hz-mc start -Dhazelcast.mc.state.reschedule.delay.millis=2000 -``` - -
- -

`hazelcast.mc.tls.excludeProtocols`

- -

`MC_TLS_EXCLUDE_PROTOCOLS`

- -
A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. - -```bash -hz-mc start -Dhazelcast.mc.tls.excludeProtocols=SSLv3 -``` - -
- -

`hazelcast.mc.tls.openSsl`

- -

`MC_TLS_OPEN_SSL`

- -
Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.openSsl=true -``` - -
- -

`hazelcast.mc.tls.enabled`

- -

`MC_TLS_ENABLED`

- -
Whether TLS/SSL is enabled. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.enabled=true -``` - -
- -

`hazelcast.mc.tls.keyStore`

- -

`MC_TLS_KEY_STORE`

- -
Path to a keystore. - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStore=/keys/mc.keystore -``` - -
- -

`hazelcast.mc.tls.keyStorePassword`

- -

`MC_TLS_KEY_STORE_PASSWORD`

- -
Password of the keystore in [`hazelcast.mc.tls.keyStore`](#hazelcast-mc-tls-keystore). - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.trustStore`

- -

`MC_TLS_TRUST_STORE`

- -
Path to a truststore. If the [`hazelcast.mc.tls.enabled`](#hazelcast-mc-tls-enabled) system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStore=/truststores/mc.truststore -``` - -
- -

`hazelcast.mc.tls.trustStorePassword`

- -

`MC_TLS_TRUST_STORE_PASSWORD`

- -
Password of the truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.enableHttpPort`

- -

`MC_TLS_ENABLE_HTTP_PORT`

- -
Whether the HTTP port in the [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. - -```bash -hz-mc start -Dhazelcast.mc.tls.enableHttpPort=true -``` - -
- -

`hazelcast.mc.tls.mutualAuthentication`

- -

`MC_TLS_MUTUAL_AUTHENTICATION`

- -
- -Whether clients connected to Management Center are authenticated: - -- `REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated. -- `OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. - -Default: `OPTIONAL`. - - - -```bash -hz-mc start -Dhazelcast.mc.tls.mutualAuthentication=REQUIRED -``` - -
- -

`hazelcast.mc.useExistingKeyStore`

- -

`MC_USE_EXISTING_KEY_STORE`

- -
Enables use of an existing keystore. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.useExistingKeyStore=true -``` - -
`hazelcast.mc.sql.max-cell-length MC_MC_SQL_MAX_CELL_LENGTH`Max length of a cell in SQL query result, longer values are truncated. Default: `2048`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-cell-length=10000 -``` - -
`hazelcast.mc.sql.max-row-count MC_MC_SQL_MAX_CELL_LENGTH`Max number of rows returned by SQL batch query. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-row-count=10000 -``` - -
`hazelcast.mc.websocket.buffer-size HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE`The buffer size of the WebSocket connection MC uses for SQL operations. Default: `5MB`. - -```bash -hz-mc start -Dhazelcast.mc.websocket.buffer-size=10MB -``` - -
`hazelcast.mc.ui.asyncTableThreshold MC_UI_ASYNC_TABLE_THRESHOLD`Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. Default: `500`. - -```bash -hz-mc start -Dazelcast.mc.ui.asyncTableThreshold=1000 -``` - -
- -## Client connection strategy configuration {/* #client-config */} +## General + +These properties configure Management Center's configuration file, home directory, license, and general behavior: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.auditlog.enabled` | `MC_AUDITLOG_ENABLED` | `false` | Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). | +| `hazelcast.mc.configReplacer.class` | | | Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). | +| `hazelcast.mc.configReplacer.failIfValueMissing` | | `true` | Whether the configuration loading process stops when a replacement value is missing. | +| `hazelcast.mc.home` | `MC_HOME` | | Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). | +| `hazelcast.mc.license` | `MC_LICENSE` | | Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see [Enterprise licenses](../license-management/license-management.mdx). | +| `hazelcast.mc.lock.skip` | `MC_LOCK_SKIP` | `false` | Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file). | +| `hazelcast.mc.phone.home.enabled` | `MC_PHONE_HOME_ENABLED` | `true` | Whether Management Center sends usage data to the Hazelcast phone home server. See [Usage analytics](../phone-homes.mdx). | +| `hazelcast.mc.rest.enabled` | `MC_REST_ENABLED` | `false` | Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. | +| `maskOpts` | | `' '` (empty) | Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via `JAVA_OPTS`. | + +## Web server + +These properties configure the Management Center web server, including the HTTP port, health check, and CORS: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.contextPath` | `MC_CONTEXT_PATH` | `' '` (empty) | Prefix of all URL paths in Management Center. | +| `hazelcast.mc.cors.allowedOriginPatterns` | `MC_CORS_ALLOWED_ORIGIN_PATTERNS` | | A list of origins patterns for which cross-origin requests are allowed. | +| `hazelcast.mc.cors.allowedMethods` | `MC_CORS_ALLOWED_METHODS` | | HTTP methods to allow for cross-origin requests.

If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. | +| `hazelcast.mc.cors.allowedHeaders` | `MC_CORS_ALLOWED_HEADERS` | | List of headers that a pre-flight request can list as allowed for use during an actual request.

The special value `*` allows actual requests to send any header. | +| `hazelcast.mc.cors.exposedHeaders` | `MC_CORS_EXPOSED_HEADERS` | | List of response headers that an actual response might have and can be exposed to the client.

The special value `*` allows all headers to be exposed. | +| `hazelcast.mc.cors.allowCredentials` | `MC_CORS_ALLOW_CREDENTIALS` | | Whether user credentials are supported or not. Setting this property to `true` forbids `originPatterns`, `allowedMethods`, `allowedHeaders` to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. If this property is not set, user credentials are not supported. | +| `hazelcast.mc.cors.allowPrivateNetwork` | `MC_CORS_ALLOW_PRIVATE_NETWORK` | | Whether private network access is supported for user-agents restricting such access by default.

Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost.

If this property is not set, private network access is not supported. | +| `hazelcast.mc.cors.maxAge` | `MC_CORS_MAX_AGE` | | Configure how long, in seconds, the response from a pre-flight request can be cached by clients. | +| `hazelcast.mc.forwarded.requests.enabled` | `MC_FORWARDED_REQUESTS_ENABLED` | `true` | Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. | +| `hazelcast.mc.healthCheck.enable` | `MC_HEALTH_CHECK_ENABLED` | `false` | Whether the `/health` endpoint is enabled on port `hazelcast.mc.http.port` + 1. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. | +| `hazelcast.mc.healthCheck.port` | `MC_HEALTH_CHECK_PORT` | `hazelcast.mc.http.port` + 1 | The port on which the `/health` endpoint is exposed. | +| `hazelcast.mc.hostAddress` | `MC_HOST_ADDRESS` | `0.0.0.0` (all network interfaces) | Network address that Management Center is reachable on. | +| `hazelcast.mc.http.port` | `MC_HTTP_PORT` | `8080` | HTTP port for Management Center. | +| `hazelcast.mc.websocket.buffer-size` | `HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE` | `5MB` | The buffer size of the WebSocket connection MC uses for SQL operations. | + +If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. + +For `hazelcast.mc.cors.allowedHeaders` and `hazelcast.mc.cors.exposedHeaders`, a header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. + +## TLS + +These properties configure TLS for the Management Center web server: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.disableHostnameVerification` | | `false` | Whether Management Center does not verify the hostname of signed TLS/SSL certificates. | +| `hazelcast.mc.exclude.cipher.suites` | `MC_EXCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.existingKeyStore.path` | `MC_EXISTING_KEYSTORE_PATH` | `' '` (empty) | Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). | +| `hazelcast.mc.existingKeyStore.pass` | `MC_EXISTING_KEYSTORE_PASS` | `' '` (empty) | Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. | +| `hazelcast.mc.existingKeyStore.type` | `MC_EXISTING_KEYSTORE_TYPE` | `JCEKS` | Type of the keystore. | +| `hazelcast.mc.existingKeyStore.provider` | `MC_EXISTING_KEYSTORE_PROVIDER` | System provider | Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `java.security.Provider` implementation. | +| `hazelcast.mc.include.cipher.suites` | `MC_INCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.tls.excludeProtocols` | `MC_TLS_EXCLUDE_PROTOCOLS` | | A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. | +| `hazelcast.mc.tls.openSsl` | `MC_TLS_OPEN_SSL` | `false` | Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. | +| `hazelcast.mc.tls.enabled` | `MC_TLS_ENABLED` | `false` | Whether TLS/SSL is enabled. | +| `hazelcast.mc.tls.keyStore` | `MC_TLS_KEY_STORE` | | Path to a keystore. | +| `hazelcast.mc.tls.keyStorePassword` | `MC_TLS_KEY_STORE_PASSWORD` | | Password of the keystore in `hazelcast.mc.tls.keyStore`. | +| `hazelcast.mc.tls.trustStore` | `MC_TLS_TRUST_STORE` | | Path to a truststore. If the `hazelcast.mc.tls.enabled` system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. | +| `hazelcast.mc.tls.trustStorePassword` | `MC_TLS_TRUST_STORE_PASSWORD` | | Password of the truststore. | +| `hazelcast.mc.tls.enableHttpPort` | `MC_TLS_ENABLE_HTTP_PORT` | | Whether the HTTP port in the `hazelcast.mc.http.port` system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. | +| `hazelcast.mc.tls.mutualAuthentication` | `MC_TLS_MUTUAL_AUTHENTICATION` | `OPTIONAL` | Whether clients connected to Management Center are authenticated:

`REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated.
`OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. | +| `hazelcast.mc.useExistingKeyStore` | `MC_USE_EXISTING_KEY_STORE` | `false` | Enables use of an existing keystore. | + +## Login, sessions, and passwords + +These properties configure user logins, sessions, and password checks: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.allowMultipleLogin` | `MC_ALLOW_MULTIPLE_LOGIN` | `true` | Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.disableLoginPeriodMultiplier` | `MC_DISABLE_LOGIN_PERIOD_MULTIPLIER` | `10` | Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.failedAttemptsBeforeDisableLogin` | `MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN` | `3` | Number of failed login attempts that Management Center allows before disabling logins. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.forceLogoutOnMultipleLogin` | `MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN` | `false` | Whether Management Center forces users to log out when other users try to log into the same account. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.initialDisableLoginPeriod` | `MC_INITIAL_DISABLE_LOGIN_PERIOD` | `5` | Initial duration for the disabled login period in seconds. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.maxDisableLoginPeriod` | `MC_MAX_DISABLE_LOGIN_PERIOD` | | Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. | +| `hazelcast.mc.security.dictionary.minWordLength` | `MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH` | `3` | Minimum length that words in the dictionary must contain. | +| `hazelcast.mc.security.dictionary.path` | `MC_SECURITY_DICTIONARY_PATH` | | Path to a text file that contains words that cannot be included in user passwords. | +| `hazelcast.mc.session.timeout.seconds` | `MC_SESSION_TIMEOUT_SECONDS` | `1800` | Number of seconds that a session can remain inactive before it is invalid and the user must log in again. | + +## LDAP and Active Directory + +These properties configure connections to LDAP and Active Directory servers: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.ldap.timeout` | `MC_LDAP_CONN_TIMEOUT` | `3000` | Timeout in milliseconds for Active Directory and LDAP search queries. | +| `hazelcast.mc.ldap.ssl.protocol` | `MC_LDAP_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for LDAP connection. | +| `hazelcast.mc.ldap.ssl.keyStore` | `MC_LDAP_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for LDAP SSL connection. | +| `hazelcast.mc.ldap.ssl.keyStoreType` | `MC_LDAP_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ldap.ssl.keyStorePassword` | `MC_LDAP_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for LDAP SSL connection. | +| `mc.ldap.ssl.keyManagerAlgorithm` | `MC_LDAP_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ldap.ssl.trustStore` | `MC_LDAP_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ldap.ssl.trustStorePassword` | `MC_LDAP_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ldap.ssl.trustStoreType` | `MC_LDAP_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ldap.ssl.trustManagerAlgorithm` | `MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.protocol` | `MC_AD_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for AD connection. | +| `hazelcast.mc.ad.ssl.keyStore` | `MC_AD_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for AD SSL connection. | +| `hazelcast.mc.ad.ssl.keyStoreType` | `MC_AD_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ad.ssl.keyStorePassword` | `MC_AD_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for AD SSL connection. | +| `mc.ad.ssl.keyManagerAlgorithm` | `MC_AD_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.trustStore` | `MC_AD_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ad.ssl.trustStorePassword` | `MC_AD_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ad.ssl.trustStoreType` | `MC_AD_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ad.ssl.trustManagerAlgorithm` | `MC_AD_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | + +## JMX + +These properties configure JMX for Management Center: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.jmx.enabled` | `MC_JMX_ENABLED` | `false` | Whether the clustered JMX service is enabled. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). | +| `hazelcast.mc.jmx.host` | `MC_JMX_HOST_NAME` | Server's hostname | Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. | +| `hazelcast.mc.jmx.mutualAuthentication` | `MC_JMX_SSL_MUTUAL_AUTH_ENABLED` | `false` | Whether mutual authentication is enabled for the JMX interface. | +| `hazelcast.mc.jmx.port` | `MC_JMX_PORT` | `9999` | Port on which the clustered JMX service is exposed. | +| `hazelcast.mc.jmx.rmi.port` | `MC_JMX_RMI_PORT` | `9998` | Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. | +| `hazelcast.mc.jmx.ssl.enabled` | `MC_JMX_SSL_ENABLED` | `false` | Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. | +| `hazelcast.mc.jmx.ssl.protocol` | `MC_JMX_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol. | +| `hazelcast.mc.jmx.ssl.keyStore` | `MC_JMX_SSL_KEY_STORE_TYPE` | `' '` (empty) | Path to a keystore. | +| `hazelcast.mc.jmx.ssl.keyStorePassword` | `MC_JMX_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore. | +| `hazelcast.mc.jmx.ssl.trustStore` | `MC_JMX_SSL_TRUST_STORE` | `' '` (empty) | Path to a truststore. | +| `hazelcast.mc.jmx.ssl.trustStoreType` | `MC_JMX_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `hazelcast.mc.jmx.ssl.trustStorePassword` | `MC_JMX_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.jmx.ssl.trustManagerAlgorithm` | `MC_JMX_SSL_TRUST_MANAGER_ALGORITHM` | | Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. | +| `hazelcast.mc.jmx.ssl.keyStoreType` | `MC_JMX_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.jmx.ssl.keyManagerAlgorithm` | `MC_TLS_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. | + +## Metrics and Prometheus + +These properties configure how Management Center stores metrics and exports them to Prometheus: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.metrics.persistence.enabled` | `MC_METRICS_PERSISTENCE_ENABLED` | `true` | Whether Management Center persists metrics. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.disk.ttl.duration` | `MC_METRICS_DISK_TTL_DURATION` | `P1D` (one day) | Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. This value must be positive. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.consumer.thread.pool.size` | `MC_METRICS_CONSUMER_THREAD_POOL_SIZE` | `2` | Number of threads that are used to consume metrics from cluster members. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.reschedule.delay.millis` | `MC_METRICS_RESCHEDULE_DELAY_MILLIS` | `1000` | Interval in milliseconds that Management Center waits before requesting metrics from cluster members. | +| `hazelcast.mc.jet.metrics.retentionSecs` | `MC_JET_METRICS_RETENTION_SECS` | `3600` | Interval in seconds that Management Center holds Jet metrics in memory. | +| `hazelcast.mc.prometheusExporter.enabled` | `MC_PROMETHEUS_EXPORTER_ENABLED` | `false` | Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. | +| `hazelcast.mc.prometheusExporter.timestamp.enabled` | `MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED` | `true` (enabled) | Whether to send timestamp of the individual members' metrics to Prometheus. | +| `hazelcast.mc.prometheusExporter.filter.metrics.included` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED` | `' '` (empty) | Metrics to include in the `/metrics` endpoint. | +| `hazelcast.mc.prometheusExporter.filter.metrics.excluded` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED` | `' '` (empty) | Metrics to exclude from the `/metrics` endpoint. | +| `hazelcast.mc.prometheusExporter.port` | `MC_PROMETHEUS_EXPORTER_PORT` | | Port on which the `/metrics` endpoint is exposed. | +| `hazelcast.mc.prometheusExporter.printers` | `MC_PROMETHEUS_EXPORTER_PRINTERS` | `V1,V2` | Which set of metrics to expose. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). | + +## SQL browser and UI + +These properties configure the SQL browser and the UI: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.info.instanceName` | `MC_INFO_INSTANCE_NAME` | | Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Management Center is deployed on. | +| `hazelcast.mc.sql.max-cell-length` | `MC_MC_SQL_MAX_CELL_LENGTH` | `2048` | Max length of a cell in SQL query result, longer values are truncated. | +| `hazelcast.mc.sql.max-row-count` | `MC_MC_SQL_MAX_CELL_LENGTH` | `1000` | Max number of rows returned by SQL batch query. | +| `hazelcast.mc.ui.asyncTableThreshold` | `MC_UI_ASYNC_TABLE_THRESHOLD` | `500` | Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. | + +## Cluster connections + +These properties configure how Management Center communicates with clusters: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.clientFiltering.modes` | `MC_CLIENT_FILTERING_MODES` | `ALLOWLIST, DENYLIST` | Adjusts client filtering modes. Value must be set of `ALLOWLIST` and `DENYLIST`. | +| `hazelcast.mc.clusterHealthCheck.exclude` | `MC_CLUSTERHEALTHCHECK_EXCLUDE` | | List of check identifiers to be excluded from Healthcheck. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). | +| `hazelcast.mc.cluster.operation.timeout.millis` | | 60000 | Timeout in milliseconds for Management Center operations that wait for a response from members. | +| `hazelcast.mc.state.reschedule.delay.millis` | `MC_STATE_RESCHEDULE_DELAY_MILLIS` | 1000 | Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. | + +## Client connection strategy {/* #client-config */} Use the following properties to configure the connection strategy of the Management Center client. These properties apply to all clients that are started by Management Center. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
`hazelcast.mc.client.max.backoff.millis`Upper limit of the backoff in milliseconds. Default: `30000`. Values must be between 30000 and 600000. - -```bash -hz-mc start -Dhazelcast.mc.client.max.backoff.millis=486000 -``` - -
`hazelcast.mc.client.backoff.multiplier`Factor by which to multiply the backoff after each failed retry. Default: `2`. Values must be between 1 and 10. - -```bash -hz-mc start -Dhazelcast.mc.client.backoff.multiplier=3 -``` - -
`hazelcast.mc.client.initial.backoff.millis`Duration in milliseconds that Management Center waits after the first connection failure before retrying. Default: `1000`. Values must be between 1000 and 60000. - -```bash -hz-mc start -Dhazelcast.mc.client.initial.backoff.millis=2000 -``` - -
`hazelcast.mc.clientFiltering.modes`Adjusts client filtering modes. Default: `ALLOWLIST, DENYLIST`. Value must be set of `ALLOWLIST` and `DENYLIST`. - -```bash -hz-mc start -Dhazelcast.mc.clientFiltering.modes=ALLOWLIST -``` - -
`hazelcast.mc.info.instanceName`Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Manage Center is deployed on. - -```bash -hz-mc start -Dhazelcast.mc.info.instanceName=ManCenter-us-east-1 -``` - -
`maskOpts`Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via JAVA\_OPTS. Default: `' '` (empty). - -```bash -hz-mc start -Djavax.net.ssl.keyStorePassword=keypassword -Djavax.net.ssl.trustStorePassword=trustpassword -DmaskOpts=javax.net.ssl.keyStorePassword,javax.net.ssl.trustStorePassword -``` - -
+| Property | Default | Description | +| --- | --- | --- | +| `hazelcast.mc.client.max.backoff.millis` | `30000` | Upper limit of the backoff in milliseconds. Values must be between 30000 and 600000. | +| `hazelcast.mc.client.backoff.multiplier` | `2` | Factor by which to multiply the backoff after each failed retry. Values must be between 1 and 10. | +| `hazelcast.mc.client.initial.backoff.millis` | `1000` | Duration in milliseconds that Management Center waits after the first connection failure before retrying. Values must be between 1000 and 60000. | diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/variable-replacers.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/variable-replacers.mdx index c55f85d0..4c0b3aa6 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/variable-replacers.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/configuration/variable-replacers.mdx @@ -54,7 +54,7 @@ $ENC{h7kmetFZwh8=:531:dOsG5ezhSZiyBXY5JNx8gg==} To use the encrypted value as configuration input in Management Center, you need to provide the following properties: -- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#hazelcast-mc-configreplacer-class) +- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#general) - Any configuration properties that you used to generate the encrypted value. - Any property to take the encrypted value as input for the `EncryptionReplacer` to decrypt. diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/historical-metrics.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/historical-metrics.mdx index 366a9ab8..e2dfeab2 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/historical-metrics.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/historical-metrics.mdx @@ -36,7 +36,7 @@ Each in-memory minute bucket consumes around 0.5 KB of memory. ## Change the metrics time to live -To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#disk-usage-config). +To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#metrics-and-prometheus). This property takes a duration in days, represented in the ISO-8601 format: @@ -83,7 +83,7 @@ These logs provide some basic persistence statistics and details about any activ ## Disable metrics persistence -If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#hazelcast-mc-metrics-persistence-enabled) property to `false`, which stores metrics only in memory. +If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#metrics-and-prometheus) property to `false`, which stores metrics only in memory. :::tip @@ -109,7 +109,7 @@ hz-mc start Management Center may experience delays while consuming metrics from cluster members, resulting in `N/A` or `0` displayed instead of the metric values. Delays usually occur when Management Center is connected to a large cluster of 30+ members. -To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#hazelcast-mc-metrics-consumer-thread-pool-size) +To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#metrics-and-prometheus) ### Slow background persistence runs diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/license-management/updating-mc-license-ui.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/license-management/updating-mc-license-ui.mdx index 37ebad1c..b4042405 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/license-management/updating-mc-license-ui.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/license-management/updating-mc-license-ui.mdx @@ -44,4 +44,4 @@ The information on the page is updated for the new license. Use the REST API to [get details about license expiration times](../../integrate/clustered-rest/cluster-metrics.mdx#get-rest-license). -Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#starting-with-a-license) to override any Enterprise license for Management Center that's already installed. +Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#general) to override any Enterprise license for Management Center that's already installed. diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/phone-homes.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/phone-homes.mdx index af21ac5f..d8e768b4 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/phone-homes.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/phone-homes.mdx @@ -56,4 +56,4 @@ For each user login, we store the following information and send it in a phone h ## Disable the collection of usage analytics -You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#hazelcast-mc-phone-home-enabled) to `false` +You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#general) to `false` diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/sessions.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/sessions.mdx index 0cc2a818..343396ec 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/sessions.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/sessions.mdx @@ -13,7 +13,7 @@ To secure users' sessions, you can configure session timeouts and multiple user If you have deployed Management Center on an application server/container, you can configure the default session timeout period of the application server/container to change the session timeout period for the Management Center. If your server/container allows application specific configuration, you can use it to configure the session timeout period for the Management Center. -If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#hazelcast-mc-session-timeout-seconds). For example, the following command starts Management Center with a session timeout period of 1 minute: +If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#login-sessions-and-passwords). For example, the following command starts Management Center with a session timeout period of 1 minute: diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/serving-https.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/serving-https.mdx index c221988d..c08eb99d 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/serving-https.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/serving-https.mdx @@ -55,7 +55,7 @@ It's not always necessary to have certificates signed by a well-known certificat To use a self-signed certificate, do one of the following: - Create the certificate with the hostname of the machine you will deploy the Management Center on. -- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#hazelcast-mc-disablehostnameverification) to `true`. +- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#tls) to `true`. Otherwise, you may see this exception in the member logs: @@ -97,7 +97,7 @@ This command starts the Management Center on HTTPS port 443. ## Redirect the HTTP port to HTTPS {/* #enabling-http-port */} -By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#hazelcast.mc.tls.enableHttpPort) to `true`. +By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#tls) to `true`. ## Mutual authentication @@ -105,4 +105,4 @@ To make sure that only authenticated HTTP clients such as web browsers or cURL c When mutual authentication is enabled, HTTP clients need to present their own TLS certificate to Management Center before they are allowed to connect. You can store trusted clients' TLS certificates in the Management Center truststore so it can authenticate them. -To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#hazelcast-mc-tls-mutualauthentication). +To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#tls). diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/tls-security.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/tls-security.mdx index 3bf3c512..d07da06e 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/tls-security.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/tls/tls-security.mdx @@ -10,7 +10,7 @@ Management Center communicates over many channels. To encrypt data transmitted o :::note -The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#enabling-health-check-endpoint) property. +The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#web-server) property. ::: @@ -22,7 +22,7 @@ The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. Se :::note - Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#hazelcast-mc-forwarded-requests-enabled) is set to `true`. + Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#web-server) is set to `true`. ::: - If your Hazelcast cluster uses TLS, configure Management Center with the necessary truststore information. You'll need to configure the truststore, using a client configuration file. See [Cluster connections](../../cluster-connections/cluster-connections.mdx). @@ -49,7 +49,7 @@ After starting Management Center, a line similar to the following appears in the ## Include and exclude cipher suites {/* #including-excluding-specific-cipher-suites */} -When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#hazelcast-mc-exclude-cipher-suites) on startup. You can either use the exact cipher suite name or a regular expression. For example: +When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#tls) on startup. You can either use the exact cipher suite name or a regular expression. For example: ```none -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/active-directory.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/active-directory.mdx index 4726774f..f67786ea 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/active-directory.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/active-directory.mdx @@ -42,7 +42,7 @@ mc-conf.bat active-directory configure :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Admin Groups:** Members of this group and its nested groups have admin privileges on the Management Center. To use more than one group, separate them with a semicolon (;). @@ -80,7 +80,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `active- ## Enable TLS/SSL for Active Directory {/* #ad-ssl */} -If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ad-ssl-protocol). +If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Using `--force` to configure Active Directory {/* #using-force-to-configure-active-directory */} diff --git a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/ldap.mdx b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/ldap.mdx index a453e4f9..8c4ff5f8 100644 --- a/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/ldap.mdx +++ b/management-center_versioned_docs/version-5.11/deploy-and-manage/security/user-authentication/ldap.mdx @@ -49,7 +49,7 @@ mc-conf.bat ldap configure :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Group Search Filter:** LDAP search filter expression to search for the groups. For example, `uniquemember={0}` searches for a group that matches with the `uniquemember` attribute. @@ -97,7 +97,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `ldap co ## Enable TLS/SSL for LDAP {/* #ldap-ssl */} -If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ldap-ssl-protocol). +If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Password encryption diff --git a/management-center_versioned_docs/version-5.11/get-started/get-started.mdx b/management-center_versioned_docs/version-5.11/get-started/get-started.mdx index cf1b780e..2cbbdaca 100644 --- a/management-center_versioned_docs/version-5.11/get-started/get-started.mdx +++ b/management-center_versioned_docs/version-5.11/get-started/get-started.mdx @@ -73,7 +73,7 @@ To complete this tutorial, you need the following: ### Start the compose stack with an Enterprise license -If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details): +If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details): ```yaml vars services: diff --git a/management-center_versioned_docs/version-5.11/get-started/user-interface-overview/user-interface.mdx b/management-center_versioned_docs/version-5.11/get-started/user-interface-overview/user-interface.mdx index a5f4ac3b..5503d0d3 100644 --- a/management-center_versioned_docs/version-5.11/get-started/user-interface-overview/user-interface.mdx +++ b/management-center_versioned_docs/version-5.11/get-started/user-interface-overview/user-interface.mdx @@ -18,7 +18,7 @@ The user interface has a Top Bar running along the top and a Side Bar on the lef The Top Bar has the following elements: -- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-info-instanceName). +- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui). - **Cluster dropdown**. Select a connected cluster to manage. Cluster version is shown to the right of each connected cluster. :::note diff --git a/management-center_versioned_docs/version-5.11/install-and-upgrade/install.mdx b/management-center_versioned_docs/version-5.11/install-and-upgrade/install.mdx index ca8955b6..a4beaa2e 100644 --- a/management-center_versioned_docs/version-5.11/install-and-upgrade/install.mdx +++ b/management-center_versioned_docs/version-5.11/install-and-upgrade/install.mdx @@ -193,7 +193,7 @@ mc-start.cmd ## Starting Management Center with an Enterprise license {/* #starting-with-enterprise-license */} -If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details). +If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details). diff --git a/management-center_versioned_docs/version-5.11/integrate/clustered-jmx/jmx.mdx b/management-center_versioned_docs/version-5.11/integrate/clustered-jmx/jmx.mdx index 6dc65273..1f8327e1 100644 --- a/management-center_versioned_docs/version-5.11/integrate/clustered-jmx/jmx.mdx +++ b/management-center_versioned_docs/version-5.11/integrate/clustered-jmx/jmx.mdx @@ -19,7 +19,7 @@ For information about integration with Datadog, see the: [Datadog Docs](https:// ::: -To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-jmx-enabled): +To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#jmx): diff --git a/management-center_versioned_docs/version-5.11/integrate/clustered-rest/clustered-rest.mdx b/management-center_versioned_docs/version-5.11/integrate/clustered-rest/clustered-rest.mdx index afa8c926..8e30d4cf 100644 --- a/management-center_versioned_docs/version-5.11/integrate/clustered-rest/clustered-rest.mdx +++ b/management-center_versioned_docs/version-5.11/integrate/clustered-rest/clustered-rest.mdx @@ -15,7 +15,7 @@ The clustered REST API can be enabled to allow you to monitor clustered statisti The REST API is disabled by default. -To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) at startup. +To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#general) at startup. ## Root endpoint diff --git a/management-center_versioned_docs/version-5.11/integrate/prometheus-monitoring/overview.mdx b/management-center_versioned_docs/version-5.11/integrate/prometheus-monitoring/overview.mdx index 5e8e9821..d151ffa8 100644 --- a/management-center_versioned_docs/version-5.11/integrate/prometheus-monitoring/overview.mdx +++ b/management-center_versioned_docs/version-5.11/integrate/prometheus-monitoring/overview.mdx @@ -29,7 +29,7 @@ Management Center also reformats the metrics to align with Prometheus best pract Management Center collects metrics with the timestamp of individual members, and sends this timestamp to Prometheus. Prometheus discards metrics with the oldest timestamps. You can disable sending timestamps so that your monitoring system continues to operate when clock shifts happen in the cluster. -To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#prometheus-timestamp) property to `false`. +To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#metrics-and-prometheus) property to `false`. ## Configure Prometheus diff --git a/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx index e8c14dea..3524f6c4 100644 --- a/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx +++ b/management-center_versioned_docs/version-5.11/tools/sql-browser.mdx @@ -103,7 +103,7 @@ Example query results ## Truncate displayed query results -To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-sql-max-cell-length) property. +To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui) property. ## View map metadata diff --git a/management-center_versioned_docs/version-5.11/troubleshoot/management-center.mdx b/management-center_versioned_docs/version-5.11/troubleshoot/management-center.mdx index 42ace521..0b50d0d5 100644 --- a/management-center_versioned_docs/version-5.11/troubleshoot/management-center.mdx +++ b/management-center_versioned_docs/version-5.11/troubleshoot/management-center.mdx @@ -15,7 +15,7 @@ The scrollbar should hide shortly after you stop scrolling. This is the default ## Experience timeout -If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-cluster-operation-timeout) property. +If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) property. ## Cannot open the configuration for a data structure diff --git a/management-center_versioned_docs/version-5.12/cluster/client-filtering/create-filter-lists-rest.mdx b/management-center_versioned_docs/version-5.12/cluster/client-filtering/create-filter-lists-rest.mdx index 320a303c..eb3c77ac 100644 --- a/management-center_versioned_docs/version-5.12/cluster/client-filtering/create-filter-lists-rest.mdx +++ b/management-center_versioned_docs/version-5.12/cluster/client-filtering/create-filter-lists-rest.mdx @@ -9,7 +9,7 @@ You can define filter lists to allow or disallow client connections to clusters, ## Before you begin - Configure your Hazelcast clients with one or more failover clusters to make sure that disconnected clients can connect to another cluster. For a tutorial, see . -- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) property. +- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#general) property. - If you are not using Management Center in dev mode, generate an [authentication token](../../integrate/clustered-rest/clustered-rest.mdx) to use in HTTP requests. You can deploy either an allow list or a deny list to a cluster, not both. If you deploy an allow list, the cluster disallows connections from any clients that aren't in the allow list. If you deploy a deny list, the cluster allows connections from any client that isn't in the deny list. diff --git a/management-center_versioned_docs/version-5.12/cluster/client-filtering/overview.mdx b/management-center_versioned_docs/version-5.12/cluster/client-filtering/overview.mdx index e9ed463f..754c6f03 100644 --- a/management-center_versioned_docs/version-5.12/cluster/client-filtering/overview.mdx +++ b/management-center_versioned_docs/version-5.12/cluster/client-filtering/overview.mdx @@ -31,7 +31,7 @@ Management Center supports the following types of filter list: - **Allow list**: Clients that **are allowed** to connect to the cluster. - **Deny list**: Clients that **are not allowed** to connect to the cluster. -To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-client-client-filtering-modes). +To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#cluster-connections). ![Client Filtering View](./images/ClientFilteringView.png) diff --git a/management-center_versioned_docs/version-5.12/cluster/healthcheck.mdx b/management-center_versioned_docs/version-5.12/cluster/healthcheck.mdx index b2011752..d89e7a4d 100644 --- a/management-center_versioned_docs/version-5.12/cluster/healthcheck.mdx +++ b/management-center_versioned_docs/version-5.12/cluster/healthcheck.mdx @@ -100,4 +100,4 @@ A check may be further enabled for the whole cluster, or for a specific data str You can exclude a check from Healthcheck analysis entirely by adding the check ID (shown in the left column) to the `hazelcast.mc.clusterHealthCheck.exclude` system property. Excluded checks will not be performed on any member in the cluster and will not appear in the Healthcheck report. -See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-clusterHealthCheck-exclude) for more information. +See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) for more information. diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx index ce6c1cab..262229bb 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/configuring.mdx @@ -16,7 +16,7 @@ By default, Management Center saves the following data in the `hazelcast-mc` dir - Configuration settings - Metrics -You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home). +You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#general). ## Ways to configure Management Center diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/declarative-configuration/overview.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/declarative-configuration/overview.mdx index f3678d66..627b4f91 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/declarative-configuration/overview.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/declarative-configuration/overview.mdx @@ -38,7 +38,7 @@ It does **not** cover Management Center's **static/runtime settings** — ports, ## Point Management Center at a configuration file -Set the `hazelcast.mc.config.file` system property (or the `HAZELCAST_MC_CONFIG_FILE` environment variable) to the path of your YAML file before starting Management Center. See [`hazelcast.mc.config.file`](../system-properties.mdx#hazelcast-mc-config-file). +Set the `hazelcast.mc.config.file` system property (or the `HAZELCAST_MC_CONFIG_FILE` environment variable) to the path of your YAML file before starting Management Center. See [`hazelcast.mc.config.file`](../system-properties.mdx#general). diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/logging.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/logging.mdx index 3bb2c235..9e67eba7 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/logging.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/logging.mdx @@ -90,7 +90,7 @@ For more information about the JSON logging templates, see the [Log4j2 JSON Layo To make it easier to examine suspicious activity and troubleshoot issues, you can use audit logging to keep a record of events that happen in Management Center such as user logins. -To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#hazelcast-mc-auditlog-enabled) set to `true`. +To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#general) set to `true`. Log entries from the audit logging will be marked with the `hazelcast.auditlog` logging category, abbreviated as `h.auditlog` in logs. diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/mc-conf.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/mc-conf.mdx index 63503e85..6166d573 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/mc-conf.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/mc-conf.mdx @@ -45,7 +45,7 @@ To use the `hz-mc conf` tool, execute the `hz-mc conf` command in the `bin/` dir :::tip - If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home), you must provide the path to the home directory with the `-H` or `--home` options. + If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#general), you must provide the path to the home directory with the `-H` or `--home` options. ::: 3. To see documentation for a specific command, enter the command, followed by the `-h` flag. @@ -105,7 +105,7 @@ The `hz-mc conf` tool comes with the following commands. Each command includes t ## Skip the check for a lock file -When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#hazelcast-mc-lock-skip). +When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#general). ```bash export JAVA_OPTS='-Dhazelcast.mc.lock.skip=true' diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/system-properties.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/system-properties.mdx index b421749c..50cf011f 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/system-properties.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/system-properties.mdx @@ -9,1852 +9,227 @@ import TabItem from "@theme/TabItem"; You can use system properties and environment variables to configure many aspects of Management Center, from JMX to the home directory and feature flags. These properties give you the power to tweak settings at startup without having to configure anything in the UI. -If an environment variable isn't available for a property and you start Management Center using any of the following methods, you can use the `JAVA_OPTS` environment variable to set system properties: - -- Docker environments - - :::tip - - You may also need to use other environment variables. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). - - ::: -- `hz-mc conf` tool -- Start scripts included with Hazelcast Platform or Management Center such as `hz-mc start`. - -You can use properties to configure both Management Center and Management Center's client connection strategy on startup. - -## Management Center configuration - -If an environment variable is available, it is listed under the system property in the Property column. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
- -

`hazelcast.mc.allowMultipleLogin`

- -

`MC_ALLOW_MULTIPLE_LOGIN`

- -
Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. Default: `true`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.allowMultipleLogin=true -``` - -
- -

`hazelcast.mc.auditlog.enabled`

- -

`MC_AUDITLOG_ENABLED`

- -
Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). Default: `false`. - -```bash vars -hz-mc start -Dhazelcast.mc.auditlog.enabled=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.clusterHealthCheck.exclude`

- -

`MC_CLUSTERHEALTHCHECK_EXCLUDE`

- -
List of check identifiers to be excluded from Healthcheck. By default, this is not set. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). - -```bash vars -hz-mc start -Dhazelcast.mc.clusterHealthCheck.exclude=E001,U002 \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.config.file`

- -

`HAZELCAST_MC_CONFIG_FILE`

- -
Path to a YAML declarative configuration file that Management Center applies automatically before it starts. Not set by default. See [YAML declarative configuration (Beta)](./declarative-configuration/overview.mdx). - -```bash -hz-mc start -Dhazelcast.mc.config.file=/path/to/mc-config.yaml -``` - -
`hazelcast.mc.configReplacer.class`Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.class=com.hazelcast.webmonitor.configreplacer.EncryptionReplacer \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.failIfValueMissing`Whether the configuration loading process stops when a replacement value is missing. Default: `true`. - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.failIfValueMissing=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.contextPath`

- -

`MC_CONTEXT_PATH`

- -
Prefix of all URL paths in Management Center. Default: `' '` (empty). - -```bash vars -hz-mc start -Dhazelcast.mc.contextPath=hazelcast-mc \ --jar hazelcast-management-center-{full-version}.jar -``` - -In this example, the URL for Management Center would be `\http:localhost:8080/hazelcast-mc`. - -
- -

`hazelcast.mc.cors.allowedOriginPatterns`

- -

`MC_CORS_ALLOWED_ORIGIN_PATTERNS`

- -
- -A list of origins patterns for which cross-origin requests are allowed. - -If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedOriginPatterns=http://domain.com:[*],https://*.domain.com:8443,http://domain.com:[8080,8090], -``` - -
- -

`hazelcast.mc.cors.allowedMethods`

- -

`MC_CORS_ALLOWED_METHODS`

- -
- -HTTP methods to allow for cross-origin requests. - -By default this is not set. - -If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedMethods=GET,HEAD,POST,DELETE -``` - -
- -

`hazelcast.mc.cors.allowedHeaders`

- -

`MC_CORS_ALLOWED_HEADERS`

- -
- -List of headers that a pre-flight request can list as allowed for use during an actual request. - -The special value `*` allows actual requests to send any header. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedHeaders=* -``` - -
- -

`hazelcast.mc.cors.exposedHeaders`

- -

`MC_CORS_EXPOSED_HEADERS`

- -
- -List of response headers that an actual response might have and can be exposed to the client. - -The special value `*` allows all headers to be exposed. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.exposedHeaders=* -``` - -
- -

`hazelcast.mc.cors.allowCredentials`

- -

`MC_CORS_ALLOW_CREDENTIALS`

- -
Whether user credentials are supported or not. Setting this property to `true` forbids originPatterns, allowedMethods, allowedHeaders to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. By default this is not set (i.e. user credentials are not supported). - -```bash -hz-mc start -Dhazelcast.mc.cors.allowCredentials=true -``` - -
- -

`hazelcast.mc.cors.allowPrivateNetwork`

- -

`MC_CORS_ALLOW_PRIVATE_NETWORK`

- -
- -Whether private network access is supported for user-agents restricting such access by default. - -Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost. - -By default this is not set (i.e. private network access is not supported). - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowPrivateNetwork=true -``` - -
- -

`hazelcast.mc.cors.maxAge`

- -

`MC_CORS_MAX_AGE`

- -
- -Configure how long, in seconds, the response from a pre-flight request can be cached by clients. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.maxAge=1600 -``` - -
`hazelcast.mc.cluster.operation.timeout.millis`Timeout in milliseconds for Management Center operations that wait for a response from members. Default: 60000. - -```bash -hz-mc start -Dhazelcast.mc.cluster.operation.timeout.millis=60000 -``` - -
`hazelcast.mc.disableHostnameVerification`Whether Management Center does not verify the hostname of signed TLS/SSL certificates. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.disableHostnameVerification=true -``` - -
- -

`hazelcast.mc.disableLoginPeriodMultiplier`

- -

`MC_DISABLE_LOGIN_PERIOD_MULTIPLIER`

- -
Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. Default: `10`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.disableLoginPeriodMultiplier=20 -``` - -
- -

`hazelcast.mc.exclude.cipher.suites`

- -

`MC_EXCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.exclude.cipher.suites=^.*_(MD5|SHA|SHA1)$,^TLS_RSA_.*$,^.*_NULL_.*$ -``` - -
- -

`hazelcast.mc.existingKeyStore.path`

- -

`MC_EXISTING_KEYSTORE_PATH`

- -
Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.path=/path/to/existing/keyStore.jceks -``` - -
- -

`hazelcast.mc.existingKeyStore.pass`

- -

`MC_EXISTING_KEYSTORE_PASS`

- -
Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.pass=somepass -``` - -
- -

`hazelcast.mc.existingKeyStore.type`

- -

`MC_EXISTING_KEYSTORE_TYPE`

- -
Type of the keystore. Default: `JCEKS`. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.type=JCEKS -``` - -
- -

`hazelcast.mc.existingKeyStore.provider`

- -

`MC_EXISTING_KEYSTORE_PROVIDER`

- -
Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `` java.security.Provider` `` implementation. Default: System provider. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.provider=com.yourprovider.MyProvider -``` - -
- -

`hazelcast.mc.failedAttemptsBeforeDisableLogin`

- -

`MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN`

- -
Number of failed login attempts that Management Center allows before disabling logins. Default: `3`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.failedAttemptsBeforeDisableLogin=1 -``` - -
- -

`hazelcast.mc.forceLogoutOnMultipleLogin`

- -

`MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN`

- -
Whether Management Center forces users to log out when other users try to log into the same account. Default: `false`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.forceLogoutOnMultipleLogin=true -``` - -
- -

`hazelcast.mc.forwarded.requests.enabled`

- -

`MC_FORWARDED_REQUESTS_ENABLED`

- -
Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. Default: `true`. - -```bash -hz-mc start -Dhazelcast.mc.forwarded.requests.enabled=false -``` - -
- -

`hazelcast.mc.healthCheck.enable`

- -

`MC_HEALTH_CHECK_ENABLED`

- -
Whether the `/health` endpoint is enabled on port [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. Default: `false`. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.enable=true -``` - -In this example, the health check would be available at `http://localhost:8081/health`. - -
- -

`hazelcast.mc.healthCheck.port`

- -

`MC_HEALTH_CHECK_PORT`

- -
The port on which the `/health` endpoint is exposed. Default: [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.port=2000 -``` - -
- -

`hazelcast.mc.home`

- -

`MC_HOME`

- -
Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). - -```bash -hz-mc start -Dhazelcast.mc.home=/home/management-center -``` - -
- -

`hazelcast.mc.hostAddress`

- -

`MC_HOST_ADDRESS`

- -
Network address that Management Center is reachable on. Default: `0.0.0.0` (all network interfaces). - -```bash -hz-mc start -Dhazelcast.mc.hostAddress=127.0.1.1 -``` - -
- -

`hazelcast.mc.http.port`

- -

`MC_HTTP_PORT`

- -
HTTP port for Management Center. Default: `8080`. - -```bash -hz-mc start -Dhazelcast.mc.http.port=80 -``` - -In this example, the URL for Management Center would be `\http:localhost:80`. - -
- -

`hazelcast.mc.include.cipher.suites`

- -

`MC_INCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ -``` - -
- -

`hazelcast.mc.initialDisableLoginPeriod`

- -

`MC_INITIAL_DISABLE_LOGIN_PERIOD`

- -
Initial duration for the disabled login period in seconds. Default: `5`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.initialDisableLoginPeriod=50 -``` - -
- -

`hazelcast.mc.jmx.enabled`

- -

`MC_JMX_ENABLED`

- -
Whether the clustered JMX service is enabled. Default: `false`. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). - -```bash -hz-mc start -Dhazelcast.mc.jmx.enabled=true -``` - -
- -

`hazelcast.mc.jmx.host`

- -

`MC_JMX_HOST_NAME`

- -
Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. Default: Server's hostname. - -```bash -hz-mc start -Dhazelcast.mc.jmx.host=127.0.0.1 -``` - -
- -

`hazelcast.mc.jmx.mutualAuthentication`

- -

`MC_JMX_SSL_MUTUAL_AUTH_ENABLED`

- -
Whether mutual authentication is enabled for the JMX interface. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.mutualAuthentication=false -``` - -
- -

`hazelcast.mc.jmx.port`

- -

`MC_JMX_PORT`

- -
Port on which the clustered JMX service is exposed. Default: `9999`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.port=9000 -``` - -
- -

`hazelcast.mc.jmx.rmi.port`

- -

`MC_JMX_RMI_PORT`

- -
Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. Default: `9998`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.rmi.port=9001 -``` - -
- -

`hazelcast.mc.jmx.ssl.enabled`

- -

`MC_JMX_SSL_ENABLED`

- -
Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.enabled=true -``` - -
- -

`hazelcast.mc.jmx.ssl.protocol`

- -

`MC_JMX_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.protocol=SSLv3 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStore`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Path to a keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStore=/some/dir/selfsigned.jks -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStorePassword`

- -

`MC_JMX_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStore`

- -

`MC_JMX_SSL_TRUST_STORE`

- -
Path to a truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStore=/some/dir/truststore -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStoreType`

- -

`MC_JMX_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStoreType=DKS -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStorePassword`

- -

`MC_JMX_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustManagerAlgorithm`

- -

`MC_JMX_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStoreType`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStoreType=JKS -``` - -
- -

`hazelcast.mc.jmx.ssl.keyManagerAlgorithm`

- -

`MC_TLS_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. Default: System default. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.ldap.timeout`

- -

`MC_LDAP_CONN_TIMEOUT`

- -
Timeout in milliseconds for Active Directory and LDAP search queries. Default: `3000`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.timeout=4000 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.protocol`

- -

`MC_LDAP_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for LDAP connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStore`

- -

`MC_LDAP_SSL_KEY_STORE`

- -
Path to a keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStoreType`

- -

`MC_LDAP_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStorePassword`

- -

`MC_LDAP_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ldap.ssl.keyManagerAlgorithm`

- -

`MC_LDAP_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStore`

- -

`MC_LDAP_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStorePassword`

- -

`MC_LDAP_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStoreType`

- -

`MC_LDAP_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ldap.ssl.trustManagerAlgorithm`

- -

`MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.protocol`

- -

`MC_AD_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for AD connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStore`

- -

`MC_AD_SSL_KEY_STORE`

- -
Path to a keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStoreType`

- -

`MC_AD_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStorePassword`

- -

`MC_AD_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ad.ssl.keyManagerAlgorithm`

- -

`MC_AD_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStore`

- -

`MC_AD_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStorePassword`

- -

`MC_AD_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStoreType`

- -

`MC_AD_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ad.ssl.trustManagerAlgorithm`

- -

`MC_AD_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.license`

- -

`MC_LICENSE`

- -
Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see See [Enterprise licenses](../license-management/license-management.mdx). - -```bash -hz-mc start -Dhazelcast.mc.license={license key} -``` - -
- -

`hazelcast.mc.lock.skip`

- -

`MC_LOCK_SKIP`

- -
Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. Default: `false`. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file) - -```bash -hz-mc start -Dhazelcast.mc.lock.skip=true -``` - -
- -

`hazelcast.mc.maxDisableLoginPeriod`

- -

`MC_MAX_DISABLE_LOGIN_PERIOD`

- -
Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. - -```bash -hz-mc start -Dhazelcast.mc.maxDisableLoginPeriod= \ -``` - -
- -

`hazelcast.mc.metrics.persistence.enabled`

- -

`MC_METRICS_PERSISTENCE_ENABLED`

- -
Whether Management Center persists metrics. Default: `true`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.persistence.enabled=false -``` - -
- -

`hazelcast.mc.metrics.disk.ttl.duration`

- -

`MC_METRICS_DISK_TTL_DURATION`

- -
Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. Default: `P1D` (one day). This value must be positive. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.disk.ttl.duration=P2D -``` - -
- -

`hazelcast.mc.metrics.consumer.thread.pool.size`

- -

`MC_METRICS_CONSUMER_THREAD_POOL_SIZE`

- -
Number of threads that are used to consume metrics from cluster members. Default: `2`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.consumer.thread.pool.size=5 -``` - -
`hazelcast.mc.metrics.reschedule.delay.millis MC_METRICS_RESCHEDULE_DELAY_MILLIS`Interval in milliseconds that Management Center waits before requesting metrics from cluster members. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.metrics.reschedule.delay.millis=5000 -``` - -
`hazelcast.mc.jet.metrics.retentionSecs MC_JET_METRICS_RETENTION_SECS`Interval in seconds that Management Center holds Jet metrics in memory. Default: `3600`. - -```bash -hz-mc start -Dhazelcast.mc.jet.metrics.retentionSecs=7200 -``` - -
- -

`hazelcast.mc.phone.home.enabled`

- -

`MC_PHONE_HOME_ENABLED`

- -
Whether Management Center sends usage data to the Hazelcast phone home server. Default: `true`. See [Usage analytics](../phone-homes.mdx). - -```bash -hz-mc start -Dhazelcast.mc.phone.home.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.enabled`

- -

`MC_PROMETHEUS_EXPORTER_ENABLED`

- -
Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ -``` - -
- -

`hazelcast.mc.prometheusExporter.timestamp.enabled`

- -

`MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED`

- -
Whether to send timestamp of the individual members' metrics to Prometheus. Its default value is `true` (enabled). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.timestamp.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.filter.metrics.included`

+If a property has no environment variable, you can set it with the `JAVA_OPTS` environment variable. You can use `JAVA_OPTS` when you start Management Center in any of these ways: +- Docker environments +- `hz-mc conf` tool +- Start scripts included with Hazelcast Platform or Management Center, such as `hz-mc start` -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED`

+:::tip[Docker configuration] -
Comma-separated list of metrics to include in the `/metrics` endpoint. Supports the `*` wildcard. Default: `' '` (empty). +You may also need to use other environment variables in Docker environments. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \ -``` +::: -
+You can use properties to configure both Management Center and Management Center's client connection strategy on startup. -

`hazelcast.mc.prometheusExporter.filter.metrics.excluded`

+If a property has an environment variable, the Environment variable column lists it. -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED`

+This example shows how to set system properties or environment variables: -
Comma-separated list of metrics to exclude from the `/metrics` endpoint. Supports the `*` wildcard. Default: `' '` (empty). + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \ +hz-mc start -Dhazelcast.mc.http.port=8083 ``` -
- -

`hazelcast.mc.prometheusExporter.port`

- -

`MC_PROMETHEUS_EXPORTER_PORT`

- -
Port on which the `/metrics` endpoint is exposed. - - - + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ - -Dhazelcast.mc.prometheusExporter.port=2222 +export JAVA_OPTS='-Dhazelcast.mc.http.port=8083' +hz-mc start ``` - + ```bash -mc-start.cmd -Dhazelcast.mc.prometheusExporter.enabled=true ^ - -Dhazelcast.mc.prometheusExporter.port=2222 +export MC_HTTP_PORT=8083 +hz-mc start ``` -In this example, the `/metrics` endpoint would be available on port 2222: `http://localhost:2222/metrics`. - -
- -

`hazelcast.mc.prometheusExporter.printers`

- -

`MC_PROMETHEUS_EXPORTER_PRINTERS`

- -
Which set of metrics to expose. Default: `V1,V2`. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.printers=V1 -``` - -
- -

`hazelcast.mc.rest.enabled`

- -

`MC_REST_ENABLED`

- -
Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.rest.enabled=true -``` - -
- -

`hazelcast.mc.security.dictionary.minWordLength`

- -

`MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH`

- -
Minimum length that words in the dictionary must contain. Default: `3`. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ - -Dhazelcast.mc.security.dictionary.minWordLength=3 \ -``` - -
- -

`hazelcast.mc.security.dictionary.path`

- -

`MC_SECURITY_DICTIONARY_PATH`

- -
Path to a text file that contains words that cannot be included in user passwords. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ -``` - -
- -

`hazelcast.mc.session.timeout.seconds`

- -

`MC_SESSION_TIMEOUT_SECONDS`

- -
Number of seconds that a session can remain inactive before it is invalid and the user must log in again. Default `1800`. - -```bash -hz-mc start -Dhazelcast.mc.session.timeout.seconds=60 -``` - -
- -

`hazelcast.mc.state.reschedule.delay.millis`

- -

`MC_STATE_RESCHEDULE_DELAY_MILLIS`

- -
Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. Default: 1000. - -```bash -hz-mc start -Dhazelcast.mc.state.reschedule.delay.millis=2000 -``` - -
- -

`hazelcast.mc.tls.excludeProtocols`

- -

`MC_TLS_EXCLUDE_PROTOCOLS`

- -
A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. - -```bash -hz-mc start -Dhazelcast.mc.tls.excludeProtocols=SSLv3 -``` - -
- -

`hazelcast.mc.tls.openSsl`

- -

`MC_TLS_OPEN_SSL`

- -
Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.openSsl=true -``` - -
- -

`hazelcast.mc.tls.enabled`

- -

`MC_TLS_ENABLED`

- -
Whether TLS/SSL is enabled. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.enabled=true -``` - -
- -

`hazelcast.mc.tls.keyStore`

- -

`MC_TLS_KEY_STORE`

- -
Path to a keystore. - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStore=/keys/mc.keystore -``` - -
- -

`hazelcast.mc.tls.keyStorePassword`

- -

`MC_TLS_KEY_STORE_PASSWORD`

- -
Password of the keystore in [`hazelcast.mc.tls.keyStore`](#hazelcast-mc-tls-keystore). - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.trustStore`

- -

`MC_TLS_TRUST_STORE`

- -
Path to a truststore. If the [`hazelcast.mc.tls.enabled`](#hazelcast-mc-tls-enabled) system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStore=/truststores/mc.truststore -``` - -
- -

`hazelcast.mc.tls.trustStorePassword`

- -

`MC_TLS_TRUST_STORE_PASSWORD`

- -
Password of the truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.enableHttpPort`

- -

`MC_TLS_ENABLE_HTTP_PORT`

- -
Whether the HTTP port in the [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. - -```bash -hz-mc start -Dhazelcast.mc.tls.enableHttpPort=true -``` - -
- -

`hazelcast.mc.tls.mutualAuthentication`

- -

`MC_TLS_MUTUAL_AUTHENTICATION`

- -
- -Whether clients connected to Management Center are authenticated: - -- `REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated. -- `OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. - -Default: `OPTIONAL`. - - - -```bash -hz-mc start -Dhazelcast.mc.tls.mutualAuthentication=REQUIRED -``` - -
- -

`hazelcast.mc.useExistingKeyStore`

- -

`MC_USE_EXISTING_KEY_STORE`

- -
Enables use of an existing keystore. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.useExistingKeyStore=true -``` - -
`hazelcast.mc.sql.max-cell-length MC_MC_SQL_MAX_CELL_LENGTH`Max length of a cell in SQL query result, longer values are truncated. Default: `2048`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-cell-length=10000 -``` - -
`hazelcast.mc.sql.max-row-count MC_MC_SQL_MAX_CELL_LENGTH`Max number of rows returned by SQL batch query. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-row-count=10000 -``` - -
`hazelcast.mc.websocket.buffer-size HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE`The buffer size of the WebSocket connection MC uses for SQL operations. Default: `5MB`. - -```bash -hz-mc start -Dhazelcast.mc.websocket.buffer-size=10MB -``` - -
`hazelcast.mc.ui.asyncTableThreshold MC_UI_ASYNC_TABLE_THRESHOLD`Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. Default: `500`. - -```bash -hz-mc start -Dazelcast.mc.ui.asyncTableThreshold=1000 -``` - -
- -## Client connection strategy configuration {/* #client-config */} +## General + +These properties configure Management Center's configuration file, home directory, license, and general behavior: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.auditlog.enabled` | `MC_AUDITLOG_ENABLED` | `false` | Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). | +| `hazelcast.mc.config.file` | `HAZELCAST_MC_CONFIG_FILE` | | Path to a YAML declarative configuration file that Management Center applies automatically before it starts. See [YAML declarative configuration (Beta)](./declarative-configuration/overview.mdx). | +| `hazelcast.mc.configReplacer.class` | | | Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). | +| `hazelcast.mc.configReplacer.failIfValueMissing` | | `true` | Whether the configuration loading process stops when a replacement value is missing. | +| `hazelcast.mc.home` | `MC_HOME` | | Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). | +| `hazelcast.mc.license` | `MC_LICENSE` | | Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see [Enterprise licenses](../license-management/license-management.mdx). | +| `hazelcast.mc.lock.skip` | `MC_LOCK_SKIP` | `false` | Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file). | +| `hazelcast.mc.phone.home.enabled` | `MC_PHONE_HOME_ENABLED` | `true` | Whether Management Center sends usage data to the Hazelcast phone home server. See [Usage analytics](../phone-homes.mdx). | +| `hazelcast.mc.rest.enabled` | `MC_REST_ENABLED` | `false` | Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. | +| `maskOpts` | | `' '` (empty) | Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via `JAVA_OPTS`. | + +## Web server + +These properties configure the Management Center web server, including the HTTP port, health check, and CORS: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.contextPath` | `MC_CONTEXT_PATH` | `' '` (empty) | Prefix of all URL paths in Management Center. | +| `hazelcast.mc.cors.allowedOriginPatterns` | `MC_CORS_ALLOWED_ORIGIN_PATTERNS` | | A list of origins patterns for which cross-origin requests are allowed. | +| `hazelcast.mc.cors.allowedMethods` | `MC_CORS_ALLOWED_METHODS` | | HTTP methods to allow for cross-origin requests.

If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. | +| `hazelcast.mc.cors.allowedHeaders` | `MC_CORS_ALLOWED_HEADERS` | | List of headers that a pre-flight request can list as allowed for use during an actual request.

The special value `*` allows actual requests to send any header. | +| `hazelcast.mc.cors.exposedHeaders` | `MC_CORS_EXPOSED_HEADERS` | | List of response headers that an actual response might have and can be exposed to the client.

The special value `*` allows all headers to be exposed. | +| `hazelcast.mc.cors.allowCredentials` | `MC_CORS_ALLOW_CREDENTIALS` | | Whether user credentials are supported or not. Setting this property to `true` forbids `originPatterns`, `allowedMethods`, `allowedHeaders` to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. If this property is not set, user credentials are not supported. | +| `hazelcast.mc.cors.allowPrivateNetwork` | `MC_CORS_ALLOW_PRIVATE_NETWORK` | | Whether private network access is supported for user-agents restricting such access by default.

Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost.

If this property is not set, private network access is not supported. | +| `hazelcast.mc.cors.maxAge` | `MC_CORS_MAX_AGE` | | Configure how long, in seconds, the response from a pre-flight request can be cached by clients. | +| `hazelcast.mc.forwarded.requests.enabled` | `MC_FORWARDED_REQUESTS_ENABLED` | `true` | Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. | +| `hazelcast.mc.healthCheck.enable` | `MC_HEALTH_CHECK_ENABLED` | `false` | Whether the `/health` endpoint is enabled on port `hazelcast.mc.http.port` + 1. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. | +| `hazelcast.mc.healthCheck.port` | `MC_HEALTH_CHECK_PORT` | `hazelcast.mc.http.port` + 1 | The port on which the `/health` endpoint is exposed. | +| `hazelcast.mc.hostAddress` | `MC_HOST_ADDRESS` | `0.0.0.0` (all network interfaces) | Network address that Management Center is reachable on. | +| `hazelcast.mc.http.port` | `MC_HTTP_PORT` | `8080` | HTTP port for Management Center. | +| `hazelcast.mc.websocket.buffer-size` | `HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE` | `5MB` | The buffer size of the WebSocket connection MC uses for SQL operations. | + +If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. + +For `hazelcast.mc.cors.allowedHeaders` and `hazelcast.mc.cors.exposedHeaders`, a header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. + +## TLS + +These properties configure TLS for the Management Center web server: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.disableHostnameVerification` | | `false` | Whether Management Center does not verify the hostname of signed TLS/SSL certificates. | +| `hazelcast.mc.exclude.cipher.suites` | `MC_EXCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.existingKeyStore.path` | `MC_EXISTING_KEYSTORE_PATH` | `' '` (empty) | Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). | +| `hazelcast.mc.existingKeyStore.pass` | `MC_EXISTING_KEYSTORE_PASS` | `' '` (empty) | Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. | +| `hazelcast.mc.existingKeyStore.type` | `MC_EXISTING_KEYSTORE_TYPE` | `JCEKS` | Type of the keystore. | +| `hazelcast.mc.existingKeyStore.provider` | `MC_EXISTING_KEYSTORE_PROVIDER` | System provider | Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `java.security.Provider` implementation. | +| `hazelcast.mc.include.cipher.suites` | `MC_INCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.tls.excludeProtocols` | `MC_TLS_EXCLUDE_PROTOCOLS` | | A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. | +| `hazelcast.mc.tls.openSsl` | `MC_TLS_OPEN_SSL` | `false` | Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. | +| `hazelcast.mc.tls.enabled` | `MC_TLS_ENABLED` | `false` | Whether TLS/SSL is enabled. | +| `hazelcast.mc.tls.keyStore` | `MC_TLS_KEY_STORE` | | Path to a keystore. | +| `hazelcast.mc.tls.keyStorePassword` | `MC_TLS_KEY_STORE_PASSWORD` | | Password of the keystore in `hazelcast.mc.tls.keyStore`. | +| `hazelcast.mc.tls.trustStore` | `MC_TLS_TRUST_STORE` | | Path to a truststore. If the `hazelcast.mc.tls.enabled` system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. | +| `hazelcast.mc.tls.trustStorePassword` | `MC_TLS_TRUST_STORE_PASSWORD` | | Password of the truststore. | +| `hazelcast.mc.tls.enableHttpPort` | `MC_TLS_ENABLE_HTTP_PORT` | | Whether the HTTP port in the `hazelcast.mc.http.port` system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. | +| `hazelcast.mc.tls.mutualAuthentication` | `MC_TLS_MUTUAL_AUTHENTICATION` | `OPTIONAL` | Whether clients connected to Management Center are authenticated:

`REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated.
`OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. | +| `hazelcast.mc.useExistingKeyStore` | `MC_USE_EXISTING_KEY_STORE` | `false` | Enables use of an existing keystore. | + +## Login, sessions, and passwords + +These properties configure user logins, sessions, and password checks: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.allowMultipleLogin` | `MC_ALLOW_MULTIPLE_LOGIN` | `true` | Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.disableLoginPeriodMultiplier` | `MC_DISABLE_LOGIN_PERIOD_MULTIPLIER` | `10` | Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.failedAttemptsBeforeDisableLogin` | `MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN` | `3` | Number of failed login attempts that Management Center allows before disabling logins. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.forceLogoutOnMultipleLogin` | `MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN` | `false` | Whether Management Center forces users to log out when other users try to log into the same account. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.initialDisableLoginPeriod` | `MC_INITIAL_DISABLE_LOGIN_PERIOD` | `5` | Initial duration for the disabled login period in seconds. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.maxDisableLoginPeriod` | `MC_MAX_DISABLE_LOGIN_PERIOD` | | Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. | +| `hazelcast.mc.security.dictionary.minWordLength` | `MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH` | `3` | Minimum length that words in the dictionary must contain. | +| `hazelcast.mc.security.dictionary.path` | `MC_SECURITY_DICTIONARY_PATH` | | Path to a text file that contains words that cannot be included in user passwords. | +| `hazelcast.mc.session.timeout.seconds` | `MC_SESSION_TIMEOUT_SECONDS` | `1800` | Number of seconds that a session can remain inactive before it is invalid and the user must log in again. | + +## LDAP and Active Directory + +These properties configure connections to LDAP and Active Directory servers: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.ldap.timeout` | `MC_LDAP_CONN_TIMEOUT` | `3000` | Timeout in milliseconds for Active Directory and LDAP search queries. | +| `hazelcast.mc.ldap.ssl.protocol` | `MC_LDAP_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for LDAP connection. | +| `hazelcast.mc.ldap.ssl.keyStore` | `MC_LDAP_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for LDAP SSL connection. | +| `hazelcast.mc.ldap.ssl.keyStoreType` | `MC_LDAP_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ldap.ssl.keyStorePassword` | `MC_LDAP_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for LDAP SSL connection. | +| `mc.ldap.ssl.keyManagerAlgorithm` | `MC_LDAP_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ldap.ssl.trustStore` | `MC_LDAP_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ldap.ssl.trustStorePassword` | `MC_LDAP_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ldap.ssl.trustStoreType` | `MC_LDAP_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ldap.ssl.trustManagerAlgorithm` | `MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.protocol` | `MC_AD_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for AD connection. | +| `hazelcast.mc.ad.ssl.keyStore` | `MC_AD_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for AD SSL connection. | +| `hazelcast.mc.ad.ssl.keyStoreType` | `MC_AD_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ad.ssl.keyStorePassword` | `MC_AD_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for AD SSL connection. | +| `mc.ad.ssl.keyManagerAlgorithm` | `MC_AD_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.trustStore` | `MC_AD_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ad.ssl.trustStorePassword` | `MC_AD_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ad.ssl.trustStoreType` | `MC_AD_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ad.ssl.trustManagerAlgorithm` | `MC_AD_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | + +## JMX + +These properties configure JMX for Management Center: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.jmx.enabled` | `MC_JMX_ENABLED` | `false` | Whether the clustered JMX service is enabled. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). | +| `hazelcast.mc.jmx.host` | `MC_JMX_HOST_NAME` | Server's hostname | Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. | +| `hazelcast.mc.jmx.mutualAuthentication` | `MC_JMX_SSL_MUTUAL_AUTH_ENABLED` | `false` | Whether mutual authentication is enabled for the JMX interface. | +| `hazelcast.mc.jmx.port` | `MC_JMX_PORT` | `9999` | Port on which the clustered JMX service is exposed. | +| `hazelcast.mc.jmx.rmi.port` | `MC_JMX_RMI_PORT` | `9998` | Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. | +| `hazelcast.mc.jmx.ssl.enabled` | `MC_JMX_SSL_ENABLED` | `false` | Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. | +| `hazelcast.mc.jmx.ssl.protocol` | `MC_JMX_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol. | +| `hazelcast.mc.jmx.ssl.keyStore` | `MC_JMX_SSL_KEY_STORE_TYPE` | `' '` (empty) | Path to a keystore. | +| `hazelcast.mc.jmx.ssl.keyStorePassword` | `MC_JMX_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore. | +| `hazelcast.mc.jmx.ssl.trustStore` | `MC_JMX_SSL_TRUST_STORE` | `' '` (empty) | Path to a truststore. | +| `hazelcast.mc.jmx.ssl.trustStoreType` | `MC_JMX_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `hazelcast.mc.jmx.ssl.trustStorePassword` | `MC_JMX_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.jmx.ssl.trustManagerAlgorithm` | `MC_JMX_SSL_TRUST_MANAGER_ALGORITHM` | | Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. | +| `hazelcast.mc.jmx.ssl.keyStoreType` | `MC_JMX_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.jmx.ssl.keyManagerAlgorithm` | `MC_TLS_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. | + +## Metrics and Prometheus + +These properties configure how Management Center stores metrics and exports them to Prometheus: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.metrics.persistence.enabled` | `MC_METRICS_PERSISTENCE_ENABLED` | `true` | Whether Management Center persists metrics. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.disk.ttl.duration` | `MC_METRICS_DISK_TTL_DURATION` | `P1D` (one day) | Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. This value must be positive. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.consumer.thread.pool.size` | `MC_METRICS_CONSUMER_THREAD_POOL_SIZE` | `2` | Number of threads that are used to consume metrics from cluster members. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.reschedule.delay.millis` | `MC_METRICS_RESCHEDULE_DELAY_MILLIS` | `1000` | Interval in milliseconds that Management Center waits before requesting metrics from cluster members. | +| `hazelcast.mc.jet.metrics.retentionSecs` | `MC_JET_METRICS_RETENTION_SECS` | `3600` | Interval in seconds that Management Center holds Jet metrics in memory. | +| `hazelcast.mc.prometheusExporter.enabled` | `MC_PROMETHEUS_EXPORTER_ENABLED` | `false` | Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. | +| `hazelcast.mc.prometheusExporter.timestamp.enabled` | `MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED` | `true` (enabled) | Whether to send timestamp of the individual members' metrics to Prometheus. | +| `hazelcast.mc.prometheusExporter.filter.metrics.included` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED` | `' '` (empty) | Comma-separated list of metrics to include in the `/metrics` endpoint. Supports the `*` wildcard. | +| `hazelcast.mc.prometheusExporter.filter.metrics.excluded` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED` | `' '` (empty) | Comma-separated list of metrics to exclude from the `/metrics` endpoint. Supports the `*` wildcard. | +| `hazelcast.mc.prometheusExporter.port` | `MC_PROMETHEUS_EXPORTER_PORT` | | Port on which the `/metrics` endpoint is exposed. | +| `hazelcast.mc.prometheusExporter.printers` | `MC_PROMETHEUS_EXPORTER_PRINTERS` | `V1,V2` | Which set of metrics to expose. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). | + +## SQL browser and UI + +These properties configure the SQL browser and the UI: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.info.instanceName` | `MC_INFO_INSTANCE_NAME` | | Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Management Center is deployed on. | +| `hazelcast.mc.sql.max-cell-length` | `MC_MC_SQL_MAX_CELL_LENGTH` | `2048` | Max length of a cell in SQL query result, longer values are truncated. | +| `hazelcast.mc.sql.max-row-count` | `MC_MC_SQL_MAX_CELL_LENGTH` | `1000` | Max number of rows returned by SQL batch query. | +| `hazelcast.mc.ui.asyncTableThreshold` | `MC_UI_ASYNC_TABLE_THRESHOLD` | `500` | Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. | + +## Cluster connections + +These properties configure how Management Center communicates with clusters: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.clientFiltering.modes` | `MC_CLIENT_FILTERING_MODES` | `ALLOWLIST, DENYLIST` | Adjusts client filtering modes. Value must be set of `ALLOWLIST` and `DENYLIST`. | +| `hazelcast.mc.clusterHealthCheck.exclude` | `MC_CLUSTERHEALTHCHECK_EXCLUDE` | | List of check identifiers to be excluded from Healthcheck. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). | +| `hazelcast.mc.cluster.operation.timeout.millis` | | 60000 | Timeout in milliseconds for Management Center operations that wait for a response from members. | +| `hazelcast.mc.state.reschedule.delay.millis` | `MC_STATE_RESCHEDULE_DELAY_MILLIS` | 1000 | Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. | + +## Client connection strategy {/* #client-config */} Use the following properties to configure the connection strategy of the Management Center client. These properties apply to all clients that are started by Management Center. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
`hazelcast.mc.client.max.backoff.millis`Upper limit of the backoff in milliseconds. Default: `30000`. Values must be between 30000 and 600000. - -```bash -hz-mc start -Dhazelcast.mc.client.max.backoff.millis=486000 -``` - -
`hazelcast.mc.client.backoff.multiplier`Factor by which to multiply the backoff after each failed retry. Default: `2`. Values must be between 1 and 10. - -```bash -hz-mc start -Dhazelcast.mc.client.backoff.multiplier=3 -``` - -
`hazelcast.mc.client.initial.backoff.millis`Duration in milliseconds that Management Center waits after the first connection failure before retrying. Default: `1000`. Values must be between 1000 and 60000. - -```bash -hz-mc start -Dhazelcast.mc.client.initial.backoff.millis=2000 -``` - -
`hazelcast.mc.clientFiltering.modes`Adjusts client filtering modes. Default: `ALLOWLIST, DENYLIST`. Value must be set of `ALLOWLIST` and `DENYLIST`. - -```bash -hz-mc start -Dhazelcast.mc.clientFiltering.modes=ALLOWLIST -``` - -
`hazelcast.mc.info.instanceName`Set the instance name visible in the [Top Bar](../../get-started/user-interface-overview/user-interface.mdx#top-bar). Set blank to not display any instance name. If not set the instance name defaults to the hostname of the machine Manage Center is deployed on. - -```bash -hz-mc start -Dhazelcast.mc.info.instanceName=ManCenter-us-east-1 -``` - -
`maskOpts`Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via JAVA\_OPTS. Default: `' '` (empty). - -```bash -hz-mc start -Djavax.net.ssl.keyStorePassword=keypassword -Djavax.net.ssl.trustStorePassword=trustpassword -DmaskOpts=javax.net.ssl.keyStorePassword,javax.net.ssl.trustStorePassword -``` - -
+| Property | Default | Description | +| --- | --- | --- | +| `hazelcast.mc.client.max.backoff.millis` | `30000` | Upper limit of the backoff in milliseconds. Values must be between 30000 and 600000. | +| `hazelcast.mc.client.backoff.multiplier` | `2` | Factor by which to multiply the backoff after each failed retry. Values must be between 1 and 10. | +| `hazelcast.mc.client.initial.backoff.millis` | `1000` | Duration in milliseconds that Management Center waits after the first connection failure before retrying. Values must be between 1000 and 60000. | diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/variable-replacers.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/variable-replacers.mdx index f944c8db..ac77b54b 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/variable-replacers.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/configuration/variable-replacers.mdx @@ -60,7 +60,7 @@ $ENC{h7kmetFZwh8=:531:dOsG5ezhSZiyBXY5JNx8gg==} To use the encrypted value as configuration input in Management Center, you need to provide the following properties: -- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#hazelcast-mc-configreplacer-class) +- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#general) - Any configuration properties that you used to generate the encrypted value. - Any property to take the encrypted value as input for the `EncryptionReplacer` to decrypt. diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/historical-metrics.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/historical-metrics.mdx index 366a9ab8..e2dfeab2 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/historical-metrics.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/historical-metrics.mdx @@ -36,7 +36,7 @@ Each in-memory minute bucket consumes around 0.5 KB of memory. ## Change the metrics time to live -To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#disk-usage-config). +To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#metrics-and-prometheus). This property takes a duration in days, represented in the ISO-8601 format: @@ -83,7 +83,7 @@ These logs provide some basic persistence statistics and details about any activ ## Disable metrics persistence -If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#hazelcast-mc-metrics-persistence-enabled) property to `false`, which stores metrics only in memory. +If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#metrics-and-prometheus) property to `false`, which stores metrics only in memory. :::tip @@ -109,7 +109,7 @@ hz-mc start Management Center may experience delays while consuming metrics from cluster members, resulting in `N/A` or `0` displayed instead of the metric values. Delays usually occur when Management Center is connected to a large cluster of 30+ members. -To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#hazelcast-mc-metrics-consumer-thread-pool-size) +To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#metrics-and-prometheus) ### Slow background persistence runs diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/license-management/updating-mc-license-ui.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/license-management/updating-mc-license-ui.mdx index 37ebad1c..b4042405 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/license-management/updating-mc-license-ui.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/license-management/updating-mc-license-ui.mdx @@ -44,4 +44,4 @@ The information on the page is updated for the new license. Use the REST API to [get details about license expiration times](../../integrate/clustered-rest/cluster-metrics.mdx#get-rest-license). -Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#starting-with-a-license) to override any Enterprise license for Management Center that's already installed. +Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#general) to override any Enterprise license for Management Center that's already installed. diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/phone-homes.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/phone-homes.mdx index af21ac5f..d8e768b4 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/phone-homes.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/phone-homes.mdx @@ -56,4 +56,4 @@ For each user login, we store the following information and send it in a phone h ## Disable the collection of usage analytics -You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#hazelcast-mc-phone-home-enabled) to `false` +You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#general) to `false` diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/sessions.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/sessions.mdx index 0cc2a818..343396ec 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/sessions.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/sessions.mdx @@ -13,7 +13,7 @@ To secure users' sessions, you can configure session timeouts and multiple user If you have deployed Management Center on an application server/container, you can configure the default session timeout period of the application server/container to change the session timeout period for the Management Center. If your server/container allows application specific configuration, you can use it to configure the session timeout period for the Management Center. -If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#hazelcast-mc-session-timeout-seconds). For example, the following command starts Management Center with a session timeout period of 1 minute: +If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#login-sessions-and-passwords). For example, the following command starts Management Center with a session timeout period of 1 minute: diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/serving-https.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/serving-https.mdx index c221988d..c08eb99d 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/serving-https.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/serving-https.mdx @@ -55,7 +55,7 @@ It's not always necessary to have certificates signed by a well-known certificat To use a self-signed certificate, do one of the following: - Create the certificate with the hostname of the machine you will deploy the Management Center on. -- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#hazelcast-mc-disablehostnameverification) to `true`. +- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#tls) to `true`. Otherwise, you may see this exception in the member logs: @@ -97,7 +97,7 @@ This command starts the Management Center on HTTPS port 443. ## Redirect the HTTP port to HTTPS {/* #enabling-http-port */} -By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#hazelcast.mc.tls.enableHttpPort) to `true`. +By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#tls) to `true`. ## Mutual authentication @@ -105,4 +105,4 @@ To make sure that only authenticated HTTP clients such as web browsers or cURL c When mutual authentication is enabled, HTTP clients need to present their own TLS certificate to Management Center before they are allowed to connect. You can store trusted clients' TLS certificates in the Management Center truststore so it can authenticate them. -To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#hazelcast-mc-tls-mutualauthentication). +To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#tls). diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/tls-security.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/tls-security.mdx index 3bf3c512..d07da06e 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/tls-security.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/tls/tls-security.mdx @@ -10,7 +10,7 @@ Management Center communicates over many channels. To encrypt data transmitted o :::note -The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#enabling-health-check-endpoint) property. +The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#web-server) property. ::: @@ -22,7 +22,7 @@ The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. Se :::note - Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#hazelcast-mc-forwarded-requests-enabled) is set to `true`. + Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#web-server) is set to `true`. ::: - If your Hazelcast cluster uses TLS, configure Management Center with the necessary truststore information. You'll need to configure the truststore, using a client configuration file. See [Cluster connections](../../cluster-connections/cluster-connections.mdx). @@ -49,7 +49,7 @@ After starting Management Center, a line similar to the following appears in the ## Include and exclude cipher suites {/* #including-excluding-specific-cipher-suites */} -When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#hazelcast-mc-exclude-cipher-suites) on startup. You can either use the exact cipher suite name or a regular expression. For example: +When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#tls) on startup. You can either use the exact cipher suite name or a regular expression. For example: ```none -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/active-directory.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/active-directory.mdx index a8bd6d7d..bf362ba8 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/active-directory.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/active-directory.mdx @@ -61,7 +61,7 @@ securityProvider: :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Admin Groups:** Members of this group and its nested groups have admin privileges on the Management Center. To use more than one group, separate them with a semicolon (;). @@ -99,7 +99,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `active- ## Enable TLS/SSL for Active Directory {/* #ad-ssl */} -If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ad-ssl-protocol). +If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Using `--force` to configure Active Directory {/* #using-force-to-configure-active-directory */} diff --git a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/ldap.mdx b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/ldap.mdx index 676d872a..96c767f1 100644 --- a/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/ldap.mdx +++ b/management-center_versioned_docs/version-5.12/deploy-and-manage/security/user-authentication/ldap.mdx @@ -75,7 +75,7 @@ An optional `keystore` block covers [password encryption](#password-encryption) :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Group Search Filter:** LDAP search filter expression to search for the groups. For example, `uniquemember={0}` searches for a group that matches with the `uniquemember` attribute. @@ -123,7 +123,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `ldap co ## Enable TLS/SSL for LDAP {/* #ldap-ssl */} -If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ldap-ssl-protocol). +If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Password encryption diff --git a/management-center_versioned_docs/version-5.12/get-started/get-started.mdx b/management-center_versioned_docs/version-5.12/get-started/get-started.mdx index cf1b780e..2cbbdaca 100644 --- a/management-center_versioned_docs/version-5.12/get-started/get-started.mdx +++ b/management-center_versioned_docs/version-5.12/get-started/get-started.mdx @@ -73,7 +73,7 @@ To complete this tutorial, you need the following: ### Start the compose stack with an Enterprise license -If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details): +If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details): ```yaml vars services: diff --git a/management-center_versioned_docs/version-5.12/get-started/user-interface-overview/user-interface.mdx b/management-center_versioned_docs/version-5.12/get-started/user-interface-overview/user-interface.mdx index a5f4ac3b..5503d0d3 100644 --- a/management-center_versioned_docs/version-5.12/get-started/user-interface-overview/user-interface.mdx +++ b/management-center_versioned_docs/version-5.12/get-started/user-interface-overview/user-interface.mdx @@ -18,7 +18,7 @@ The user interface has a Top Bar running along the top and a Side Bar on the lef The Top Bar has the following elements: -- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-info-instanceName). +- **Instance Name**. The instance name of the machine Manage Center is deployed on. Can be overridden with [`hazelcast.mc.info.instanceName`](../../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui). - **Cluster dropdown**. Select a connected cluster to manage. Cluster version is shown to the right of each connected cluster. :::note diff --git a/management-center_versioned_docs/version-5.12/install-and-upgrade/install.mdx b/management-center_versioned_docs/version-5.12/install-and-upgrade/install.mdx index 379a1b3c..1599ef2b 100644 --- a/management-center_versioned_docs/version-5.12/install-and-upgrade/install.mdx +++ b/management-center_versioned_docs/version-5.12/install-and-upgrade/install.mdx @@ -194,7 +194,7 @@ mc-start.cmd ## Starting Management Center with an Enterprise license {/* #starting-with-enterprise-license */} -If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details). +If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details). diff --git a/management-center_versioned_docs/version-5.12/integrate/clustered-jmx/jmx.mdx b/management-center_versioned_docs/version-5.12/integrate/clustered-jmx/jmx.mdx index 6dc65273..1f8327e1 100644 --- a/management-center_versioned_docs/version-5.12/integrate/clustered-jmx/jmx.mdx +++ b/management-center_versioned_docs/version-5.12/integrate/clustered-jmx/jmx.mdx @@ -19,7 +19,7 @@ For information about integration with Datadog, see the: [Datadog Docs](https:// ::: -To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-jmx-enabled): +To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#jmx): diff --git a/management-center_versioned_docs/version-5.12/integrate/clustered-rest/clustered-rest.mdx b/management-center_versioned_docs/version-5.12/integrate/clustered-rest/clustered-rest.mdx index afa8c926..8e30d4cf 100644 --- a/management-center_versioned_docs/version-5.12/integrate/clustered-rest/clustered-rest.mdx +++ b/management-center_versioned_docs/version-5.12/integrate/clustered-rest/clustered-rest.mdx @@ -15,7 +15,7 @@ The clustered REST API can be enabled to allow you to monitor clustered statisti The REST API is disabled by default. -To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) at startup. +To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#general) at startup. ## Root endpoint diff --git a/management-center_versioned_docs/version-5.12/integrate/prometheus-monitoring/overview.mdx b/management-center_versioned_docs/version-5.12/integrate/prometheus-monitoring/overview.mdx index 0cd8707b..b2503c36 100644 --- a/management-center_versioned_docs/version-5.12/integrate/prometheus-monitoring/overview.mdx +++ b/management-center_versioned_docs/version-5.12/integrate/prometheus-monitoring/overview.mdx @@ -29,7 +29,7 @@ Management Center also reformats the metrics to align with Prometheus best pract Management Center collects metrics with the timestamp of individual members, and sends this timestamp to Prometheus. Prometheus discards metrics with the oldest timestamps. You can disable sending timestamps so that your monitoring system continues to operate when clock shifts happen in the cluster. -To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#prometheus-timestamp) property to `false`. +To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#metrics-and-prometheus) property to `false`. ## Configure Prometheus diff --git a/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx index e8c14dea..3524f6c4 100644 --- a/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx +++ b/management-center_versioned_docs/version-5.12/tools/sql-browser.mdx @@ -103,7 +103,7 @@ Example query results ## Truncate displayed query results -To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-sql-max-cell-length) property. +To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui) property. ## View map metadata diff --git a/management-center_versioned_docs/version-5.12/troubleshoot/management-center.mdx b/management-center_versioned_docs/version-5.12/troubleshoot/management-center.mdx index 42ace521..0b50d0d5 100644 --- a/management-center_versioned_docs/version-5.12/troubleshoot/management-center.mdx +++ b/management-center_versioned_docs/version-5.12/troubleshoot/management-center.mdx @@ -15,7 +15,7 @@ The scrollbar should hide shortly after you stop scrolling. This is the default ## Experience timeout -If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-cluster-operation-timeout) property. +If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) property. ## Cannot open the configuration for a data structure diff --git a/management-center_versioned_docs/version-5.9/cluster/client-filtering/create-filter-lists-rest.mdx b/management-center_versioned_docs/version-5.9/cluster/client-filtering/create-filter-lists-rest.mdx index 320a303c..eb3c77ac 100644 --- a/management-center_versioned_docs/version-5.9/cluster/client-filtering/create-filter-lists-rest.mdx +++ b/management-center_versioned_docs/version-5.9/cluster/client-filtering/create-filter-lists-rest.mdx @@ -9,7 +9,7 @@ You can define filter lists to allow or disallow client connections to clusters, ## Before you begin - Configure your Hazelcast clients with one or more failover clusters to make sure that disconnected clients can connect to another cluster. For a tutorial, see . -- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) property. +- Enable clustered REST, using the [`hazelcast.mc.rest.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#general) property. - If you are not using Management Center in dev mode, generate an [authentication token](../../integrate/clustered-rest/clustered-rest.mdx) to use in HTTP requests. You can deploy either an allow list or a deny list to a cluster, not both. If you deploy an allow list, the cluster disallows connections from any clients that aren't in the allow list. If you deploy a deny list, the cluster allows connections from any client that isn't in the deny list. diff --git a/management-center_versioned_docs/version-5.9/cluster/client-filtering/overview.mdx b/management-center_versioned_docs/version-5.9/cluster/client-filtering/overview.mdx index e9ed463f..754c6f03 100644 --- a/management-center_versioned_docs/version-5.9/cluster/client-filtering/overview.mdx +++ b/management-center_versioned_docs/version-5.9/cluster/client-filtering/overview.mdx @@ -31,7 +31,7 @@ Management Center supports the following types of filter list: - **Allow list**: Clients that **are allowed** to connect to the cluster. - **Deny list**: Clients that **are not allowed** to connect to the cluster. -To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-client-client-filtering-modes). +To adjust the modes, see [system-properties](../../deploy-and-manage/configuration/system-properties.mdx#cluster-connections). ![Client Filtering View](./images/ClientFilteringView.png) diff --git a/management-center_versioned_docs/version-5.9/cluster/healthcheck.mdx b/management-center_versioned_docs/version-5.9/cluster/healthcheck.mdx index b2011752..d89e7a4d 100644 --- a/management-center_versioned_docs/version-5.9/cluster/healthcheck.mdx +++ b/management-center_versioned_docs/version-5.9/cluster/healthcheck.mdx @@ -100,4 +100,4 @@ A check may be further enabled for the whole cluster, or for a specific data str You can exclude a check from Healthcheck analysis entirely by adding the check ID (shown in the left column) to the `hazelcast.mc.clusterHealthCheck.exclude` system property. Excluded checks will not be performed on any member in the cluster and will not appear in the Healthcheck report. -See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-clusterHealthCheck-exclude) for more information. +See [System Properties and Environment Variables](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) for more information. diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx index 11306c15..b0409785 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/configuring.mdx @@ -16,7 +16,7 @@ By default, Management Center saves the following data in the `hazelcast-mc` dir - Configuration settings - Metrics -You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home). +You can configure Management Center to save this data in a different location, using the [`hazelcast.mc.home` property](./system-properties.mdx#general). ## Ways to configure Management Center diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/logging.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/logging.mdx index c2386ccf..cc1b8ffa 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/logging.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/logging.mdx @@ -90,7 +90,7 @@ For more information about the JSON logging templates, see the [Log4j2 JSON Layo To make it easier to examine suspicious activity and troubleshoot issues, you can use audit logging to keep a record of events that happen in Management Center such as user logins. -To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#hazelcast-mc-auditlog-enabled) set to `true`. +To enable audit logging, start Management Center with the [`hazelcast.mc.auditlog.enabled` property](./system-properties.mdx#general) set to `true`. Log entries from the audit logging will be marked with the `hazelcast.auditlog` logging category, abbreviated as `h.auditlog` in logs. diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/mc-conf.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/mc-conf.mdx index eb6801c5..ad08c2a7 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/mc-conf.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/mc-conf.mdx @@ -39,7 +39,7 @@ To use the `hz-mc conf` tool, execute the `hz-mc conf` command in the `bin/` dir :::tip - If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#hazelcast-mc-home), you must provide the path to the home directory with the `-H` or `--home` options. + If you've set a non-default home directory with the [`hazelcast.mc.home` property](./system-properties.mdx#general), you must provide the path to the home directory with the `-H` or `--home` options. ::: 3. To see documentation for a specific command, enter the command, followed by the `-h` flag. @@ -99,7 +99,7 @@ The `hz-mc conf` tool comes with the following commands. Each command includes t ## Skip the check for a lock file -When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#hazelcast-mc-lock-skip). +When you execute `hz-mc conf` or `mc-conf.bat`, the script checks if Management Center is running by looking for a lock file called `mc.lock` in the Management Center home directory. If the `mc.lock` file is found, the script exits with an error. You can disable this check by starting Management Center with the [`hazelcast.mc.lock.skip` property](./system-properties.mdx#general). ```bash export JAVA_OPTS='-Dhazelcast.mc.lock.skip=true' diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/system-properties.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/system-properties.mdx index d6c96ed0..a92b6198 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/system-properties.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/system-properties.mdx @@ -9,1824 +9,225 @@ import TabItem from "@theme/TabItem"; You can use system properties and environment variables to configure many aspects of Management Center, from JMX to the home directory and feature flags. These properties give you the power to tweak settings at startup without having to configure anything in the UI. -If an environment variable isn't available for a property and you start Management Center using any of the following methods, you can use the `JAVA_OPTS` environment variable to set system properties: - -- Docker environments - - :::tip - - You may also need to use other environment variables. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). - - ::: -- `hz-mc conf` tool -- Start scripts included with Hazelcast Platform or Management Center such as `hz-mc start`. - -You can use properties to configure both Management Center and Management Center's client connection strategy on startup. - -## Management Center configuration - -If an environment variable is available, it is listed under the system property in the Property column. - - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
- -

`hazelcast.mc.allowMultipleLogin`

- -

`MC_ALLOW_MULTIPLE_LOGIN`

- -
Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. Default: `true`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.allowMultipleLogin=true -``` - -
- -

`hazelcast.mc.auditlog.enabled`

- -

`MC_AUDITLOG_ENABLED`

- -
Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). Default: `false`. - -```bash vars -hz-mc start -Dhazelcast.mc.auditlog.enabled=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.clusterHealthCheck.exclude`

- -

`MC_CLUSTERHEALTHCHECK_EXCLUDE`

- -
List of check identifiers to be excluded from Healthcheck. By default, this is not set. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). - -```bash vars -hz-mc start -Dhazelcast.mc.clusterHealthCheck.exclude=E001,U002 \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.class`Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.class=com.hazelcast.webmonitor.configreplacer.EncryptionReplacer \ --jar hazelcast-management-center-{full-version}.jar -``` - -
`hazelcast.mc.configReplacer.failIfValueMissing`Whether the configuration loading process stops when a replacement value is missing. Default: `true`. - -```bash vars -hz-mc start -Dhazelcast.mc.configReplacer.failIfValueMissing=true \ --jar hazelcast-management-center-{full-version}.jar -``` - -
- -

`hazelcast.mc.contextPath`

- -

`MC_CONTEXT_PATH`

- -
Prefix of all URL paths in Management Center. Default: `' '` (empty). - -```bash vars -hz-mc start -Dhazelcast.mc.contextPath=hazelcast-mc \ --jar hazelcast-management-center-{full-version}.jar -``` - -In this example, the URL for Management Center would be `\http:localhost:8080/hazelcast-mc`. - -
- -

`hazelcast.mc.cors.allowedOriginPatterns`

- -

`MC_CORS_ALLOWED_ORIGIN_PATTERNS`

- -
- -A list of origins patterns for which cross-origin requests are allowed. - -If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedOriginPatterns=http://domain.com:[*],https://*.domain.com:8443,http://domain.com:[8080,8090], -``` - -
- -

`hazelcast.mc.cors.allowedMethods`

- -

`MC_CORS_ALLOWED_METHODS`

- -
- -HTTP methods to allow for cross-origin requests. - -By default this is not set. - -If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedMethods=GET,HEAD,POST,DELETE -``` - -
- -

`hazelcast.mc.cors.allowedHeaders`

- -

`MC_CORS_ALLOWED_HEADERS`

- -
- -List of headers that a pre-flight request can list as allowed for use during an actual request. - -The special value `*` allows actual requests to send any header. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowedHeaders=* -``` - -
- -

`hazelcast.mc.cors.exposedHeaders`

- -

`MC_CORS_EXPOSED_HEADERS`

- -
- -List of response headers that an actual response might have and can be exposed to the client. - -The special value `*` allows all headers to be exposed. - -A header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.exposedHeaders=* -``` - -
- -

`hazelcast.mc.cors.allowCredentials`

- -

`MC_CORS_ALLOW_CREDENTIALS`

- -
Whether user credentials are supported or not. Setting this property to `true` forbids originPatterns, allowedMethods, allowedHeaders to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. By default this is not set (i.e. user credentials are not supported). - -```bash -hz-mc start -Dhazelcast.mc.cors.allowCredentials=true -``` - -
- -

`hazelcast.mc.cors.allowPrivateNetwork`

- -

`MC_CORS_ALLOW_PRIVATE_NETWORK`

- -
- -Whether private network access is supported for user-agents restricting such access by default. - -Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost. - -By default this is not set (i.e. private network access is not supported). - - - -```bash -hz-mc start -Dhazelcast.mc.cors.allowPrivateNetwork=true -``` - -
- -

`hazelcast.mc.cors.maxAge`

- -

`MC_CORS_MAX_AGE`

- -
- -Configure how long, in seconds, the response from a pre-flight request can be cached by clients. - -By default this is not set. - - - -```bash -hz-mc start -Dhazelcast.mc.cors.maxAge=1600 -``` - -
`hazelcast.mc.cluster.operation.timeout.millis`Timeout in milliseconds for Management Center operations that wait for a response from members. Default: 60000. - -```bash -hz-mc start -Dhazelcast.mc.cluster.operation.timeout.millis=60000 -``` - -
`hazelcast.mc.disableHostnameVerification`Whether Management Center does not verify the hostname of signed TLS/SSL certificates. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.disableHostnameVerification=true -``` - -
- -

`hazelcast.mc.disableLoginPeriodMultiplier`

- -

`MC_DISABLE_LOGIN_PERIOD_MULTIPLIER`

- -
Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. Default: `10`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.disableLoginPeriodMultiplier=20 -``` - -
- -

`hazelcast.mc.exclude.cipher.suites`

- -

`MC_EXCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.exclude.cipher.suites=^.*_(MD5|SHA|SHA1)$,^TLS_RSA_.*$,^.*_NULL_.*$ -``` - -
- -

`hazelcast.mc.existingKeyStore.path`

- -

`MC_EXISTING_KEYSTORE_PATH`

- -
Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.path=/path/to/existing/keyStore.jceks -``` - -
- -

`hazelcast.mc.existingKeyStore.pass`

- -

`MC_EXISTING_KEYSTORE_PASS`

- -
Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.pass=somepass -``` - -
- -

`hazelcast.mc.existingKeyStore.type`

- -

`MC_EXISTING_KEYSTORE_TYPE`

- -
Type of the keystore. Default: `JCEKS`. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.type=JCEKS -``` - -
- -

`hazelcast.mc.existingKeyStore.provider`

- -

`MC_EXISTING_KEYSTORE_PROVIDER`

- -
Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `` java.security.Provider` `` implementation. Default: System provider. - -```bash -hz-mc start -Dhazelcast.mc.existingKeyStore.provider=com.yourprovider.MyProvider -``` - -
- -

`hazelcast.mc.failedAttemptsBeforeDisableLogin`

- -

`MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN`

- -
Number of failed login attempts that Management Center allows before disabling logins. Default: `3`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.failedAttemptsBeforeDisableLogin=1 -``` - -
- -

`hazelcast.mc.forceLogoutOnMultipleLogin`

- -

`MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN`

- -
Whether Management Center forces users to log out when other users try to log into the same account. Default: `false`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.forceLogoutOnMultipleLogin=true -``` - -
- -

`hazelcast.mc.forwarded.requests.enabled`

- -

`MC_FORWARDED_REQUESTS_ENABLED`

- -
Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. Default: `true`. - -```bash -hz-mc start -Dhazelcast.mc.forwarded.requests.enabled=false -``` - -
- -

`hazelcast.mc.healthCheck.enable`

- -

`MC_HEALTH_CHECK_ENABLED`

- -
Whether the `/health` endpoint is enabled on port [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. Default: `false`. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.enable=true -``` - -In this example, the health check would be available at `http://localhost:8081/health`. - -
- -

`hazelcast.mc.healthCheck.port`

- -

`MC_HEALTH_CHECK_PORT`

- -
The port on which the `/health` endpoint is exposed. Default: [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) + 1. - -```bash -hz-mc start -Dhazelcast.mc.healthCheck.port=2000 -``` - -
- -

`hazelcast.mc.home`

- -

`MC_HOME`

- -
Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). - -```bash -hz-mc start -Dhazelcast.mc.home=/home/management-center -``` - -
- -

`hazelcast.mc.hostAddress`

- -

`MC_HOST_ADDRESS`

- -
Network address that Management Center is reachable on. Default: `0.0.0.0` (all network interfaces). - -```bash -hz-mc start -Dhazelcast.mc.hostAddress=127.0.1.1 -``` - -
- -

`hazelcast.mc.http.port`

- -

`MC_HTTP_PORT`

- -
HTTP port for Management Center. Default: `8080`. - -```bash -hz-mc start -Dhazelcast.mc.http.port=80 -``` - -In this example, the URL for Management Center would be `\http:localhost:80`. - -
- -

`hazelcast.mc.include.cipher.suites`

- -

`MC_INCLUDE_CIPHER_SUITES`

- -
A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. - -```bash -hz-mc start -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ -``` - -
- -

`hazelcast.mc.initialDisableLoginPeriod`

- -

`MC_INITIAL_DISABLE_LOGIN_PERIOD`

- -
Initial duration for the disabled login period in seconds. Default: `5`. See [Secure user sessions](../security/sessions.mdx). - -```bash -hz-mc start -Dhazelcast.mc.initialDisableLoginPeriod=50 -``` - -
- -

`hazelcast.mc.jmx.enabled`

- -

`MC_JMX_ENABLED`

- -
Whether the clustered JMX service is enabled. Default: `false`. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). - -```bash -hz-mc start -Dhazelcast.mc.jmx.enabled=true -``` - -
- -

`hazelcast.mc.jmx.host`

- -

`MC_JMX_HOST_NAME`

- -
Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. Default: Server's hostname. - -```bash -hz-mc start -Dhazelcast.mc.jmx.host=127.0.0.1 -``` - -
- -

`hazelcast.mc.jmx.mutualAuthentication`

- -

`MC_JMX_SSL_MUTUAL_AUTH_ENABLED`

- -
Whether mutual authentication is enabled for the JMX interface. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.mutualAuthentication=false -``` - -
- -

`hazelcast.mc.jmx.port`

- -

`MC_JMX_PORT`

- -
Port on which the clustered JMX service is exposed. Default: `9999`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.port=9000 -``` - -
- -

`hazelcast.mc.jmx.rmi.port`

- -

`MC_JMX_RMI_PORT`

- -
Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. Default: `9998`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.rmi.port=9001 -``` - -
- -

`hazelcast.mc.jmx.ssl.enabled`

- -

`MC_JMX_SSL_ENABLED`

- -
Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.enabled=true -``` - -
- -

`hazelcast.mc.jmx.ssl.protocol`

- -

`MC_JMX_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.protocol=SSLv3 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStore`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Path to a keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStore=/some/dir/selfsigned.jks -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStorePassword`

- -

`MC_JMX_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStore`

- -

`MC_JMX_SSL_TRUST_STORE`

- -
Path to a truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStore=/some/dir/truststore -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStoreType`

- -

`MC_JMX_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStoreType=DKS -``` - -
- -

`hazelcast.mc.jmx.ssl.trustStorePassword`

- -

`MC_JMX_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustStorePassword=myPassword -``` - -
- -

`hazelcast.mc.jmx.ssl.trustManagerAlgorithm`

- -

`MC_JMX_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.trustManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.jmx.ssl.keyStoreType`

- -

`MC_JMX_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyStoreType=JKS -``` - -
- -

`hazelcast.mc.jmx.ssl.keyManagerAlgorithm`

- -

`MC_TLS_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. Default: System default. - -```bash -hz-mc start -Dhazelcast.mc.jmx.ssl.keyManagerAlgorithm=SunX509 -``` - -
- -

`hazelcast.mc.ldap.timeout`

- -

`MC_LDAP_CONN_TIMEOUT`

- -
Timeout in milliseconds for Active Directory and LDAP search queries. Default: `3000`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.timeout=4000 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.protocol`

- -

`MC_LDAP_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for LDAP connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStore`

- -

`MC_LDAP_SSL_KEY_STORE`

- -
Path to a keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStoreType`

- -

`MC_LDAP_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ldap.ssl.keyStorePassword`

- -

`MC_LDAP_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for LDAP SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ldap.ssl.keyManagerAlgorithm`

- -

`MC_LDAP_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStore`

- -

`MC_LDAP_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStorePassword`

- -

`MC_LDAP_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ldap.ssl.trustStoreType`

- -

`MC_LDAP_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ldap.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ldap.ssl.trustManagerAlgorithm`

- -

`MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ldap.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.protocol`

- -

`MC_AD_SSL_PROTOCOL`

- -
The standard name of the requested SSL protocol for AD connection. Default: `TLS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.protocol=SSLv3 \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStore`

- -

`MC_AD_SSL_KEY_STORE`

- -
Path to a keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStore=/some/dir/selfsigned.jks \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStoreType`

- -

`MC_AD_SSL_KEY_STORE_TYPE`

- -
Type of the keystore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStoreType=JKS \ -``` - -
- -

`hazelcast.mc.ad.ssl.keyStorePassword`

- -

`MC_AD_SSL_KEY_STORE_PASSWORD`

- -
Password for the keystore for AD SSL connection. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.keyStorePassword=myPassword \ -``` - -
- -

`mc.ad.ssl.keyManagerAlgorithm`

- -

`MC_AD_SSL_KEY_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.keyManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStore`

- -

`MC_AD_SSL_TRUST_STORE`

- -
Path to the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStore=/some/dir/truststore \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStorePassword`

- -

`MC_AD_SSL_TRUST_STORE_PASSWORD`

- -
Password for the truststore. Default: `' '` (empty). - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStorePassword=myPassword \ -``` - -
- -

`hazelcast.mc.ad.ssl.trustStoreType`

- -

`MC_AD_SSL_TRUST_STORE_TYPE`

- -
Type of the truststore. Default: `JKS`. - -```bash -hz-mc start -Dhazelcast.mc.ad.ssl.trustStoreType=DKS \ -``` - -
- -

`mc.ad.ssl.trustManagerAlgorithm`

- -

`MC_AD_SSL_TRUST_MANAGER_ALGORITHM`

- -
Name of the algorithm based on which the authentication keys are provided. Default: System default. - -```bash -hz-mc start -Dmc.ad.ssl.trustManagerAlgorithm=SunX509 \ -``` - -
- -

`hazelcast.mc.license`

- -

`MC_LICENSE`

- -
Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see See [Enterprise licenses](../license-management/license-management.mdx). - -```bash -hz-mc start -Dhazelcast.mc.license={license key} -``` - -
- -

`hazelcast.mc.lock.skip`

- -

`MC_LOCK_SKIP`

- -
Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. Default: `false`. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file) - -```bash -hz-mc start -Dhazelcast.mc.lock.skip=true -``` - -
- -

`hazelcast.mc.maxDisableLoginPeriod`

- -

`MC_MAX_DISABLE_LOGIN_PERIOD`

- -
Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. - -```bash -hz-mc start -Dhazelcast.mc.maxDisableLoginPeriod= \ -``` - -
- -

`hazelcast.mc.metrics.persistence.enabled`

- -

`MC_METRICS_PERSISTENCE_ENABLED`

- -
Whether Management Center persists metrics. Default: `true`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.persistence.enabled=false -``` - -
- -

`hazelcast.mc.metrics.disk.ttl.duration`

- -

`MC_METRICS_DISK_TTL_DURATION`

- -
Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. Default: `P1D` (one day). This value must be positive. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.disk.ttl.duration=P2D -``` - -
- -

`hazelcast.mc.metrics.consumer.thread.pool.size`

- -

`MC_METRICS_CONSUMER_THREAD_POOL_SIZE`

- -
Number of threads that are used to consume metrics from cluster members. Default: `2`. See [Historical metrics](../historical-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.metrics.consumer.thread.pool.size=5 -``` - -
`hazelcast.mc.metrics.reschedule.delay.millis MC_METRICS_RESCHEDULE_DELAY_MILLIS`Interval in milliseconds that Management Center waits before requesting metrics from cluster members. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.metrics.reschedule.delay.millis=5000 -``` - -
`hazelcast.mc.jet.metrics.retentionSecs MC_JET_METRICS_RETENTION_SECS`Interval in seconds that Management Center holds Jet metrics in memory. Default: `3600`. - -```bash -hz-mc start -Dhazelcast.mc.jet.metrics.retentionSecs=7200 -``` - -
- -

`hazelcast.mc.phone.home.enabled`

- -

`MC_PHONE_HOME_ENABLED`

- -
Whether Management Center sends usage data to the Hazelcast phone home server. Default: `true`. See [Usage analytics](../phone-homes.mdx). - -```bash -hz-mc start -Dhazelcast.mc.phone.home.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.enabled`

- -

`MC_PROMETHEUS_EXPORTER_ENABLED`

- -
Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ -``` - -
- -

`hazelcast.mc.prometheusExporter.timestamp.enabled`

- -

`MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED`

- -
Whether to send timestamp of the individual members' metrics to Prometheus. Its default value is `true` (enabled). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.timestamp.enabled=false \ -``` - -
- -

`hazelcast.mc.prometheusExporter.filter.metrics.included`

+If a property has no environment variable, you can set it with the `JAVA_OPTS` environment variable. You can use `JAVA_OPTS` when you start Management Center in any of these ways: +- Docker environments +- `hz-mc conf` tool +- Start scripts included with Hazelcast Platform or Management Center, such as `hz-mc start` -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED`

+:::tip[Docker configuration] -
Metrics to include in the `/metrics` endpoint. Default: `' '` (empty). +You may also need to use other environment variables in Docker environments. For the Docker reference, see [DockerHub](https://hub.docker.com/r/hazelcast/management-center). -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.included=hz_topic_totalReceivedMessages,hz_map_totalPutLatency \ -``` +::: -
+You can use properties to configure both Management Center and Management Center's client connection strategy on startup. -

`hazelcast.mc.prometheusExporter.filter.metrics.excluded`

+If a property has an environment variable, the Environment variable column lists it. -

`MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED`

+This example shows how to set system properties or environment variables: -
Metrics to exclude from the `/metrics` endpoint. Default: `' '` (empty). + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.filter.metrics.excluded=hz_os_systemLoadAverage,hz_memory_freeHeap \ +hz-mc start -Dhazelcast.mc.http.port=8083 ``` -
- -

`hazelcast.mc.prometheusExporter.port`

- -

`MC_PROMETHEUS_EXPORTER_PORT`

- -
Port on which the `/metrics` endpoint is exposed. - - - + + ```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.enabled=true \ - -Dhazelcast.mc.prometheusExporter.port=2222 +export JAVA_OPTS='-Dhazelcast.mc.http.port=8083' +hz-mc start ``` - + ```bash -mc-start.cmd -Dhazelcast.mc.prometheusExporter.enabled=true ^ - -Dhazelcast.mc.prometheusExporter.port=2222 +export MC_HTTP_PORT=8083 +hz-mc start ``` -In this example, the `/metrics` endpoint would be available on port 2222: `http://localhost:2222/metrics`. - -
- -

`hazelcast.mc.prometheusExporter.printers`

- -

`MC_PROMETHEUS_EXPORTER_PRINTERS`

- -
Which set of metrics to expose. Default: `V1,V2`. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). - -```bash -hz-mc start -Dhazelcast.mc.prometheusExporter.printers=V1 -``` - -
- -

`hazelcast.mc.rest.enabled`

- -

`MC_REST_ENABLED`

- -
Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.rest.enabled=true -``` - -
- -

`hazelcast.mc.security.dictionary.minWordLength`

- -

`MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH`

- -
Minimum length that words in the dictionary must contain. Default: `3`. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ - -Dhazelcast.mc.security.dictionary.minWordLength=3 \ -``` - -
- -

`hazelcast.mc.security.dictionary.path`

- -

`MC_SECURITY_DICTIONARY_PATH`

- -
Path to a text file that contains words that cannot be included in user passwords. - -```bash -hz-mc start -Dhazelcast.mc.security.dictionary.path=/usr/MCtext/pwd.txt \ -``` - -
- -

`hazelcast.mc.session.timeout.seconds`

- -

`MC_SESSION_TIMEOUT_SECONDS`

- -
Number of seconds that a session can remain inactive before it is invalid and the user must log in again. Default `1800`. - -```bash -hz-mc start -Dhazelcast.mc.session.timeout.seconds=60 -``` - -
- -

`hazelcast.mc.state.reschedule.delay.millis`

- -

`MC_STATE_RESCHEDULE_DELAY_MILLIS`

- -
Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. Default: 1000. - -```bash -hz-mc start -Dhazelcast.mc.state.reschedule.delay.millis=2000 -``` - -
- -

`hazelcast.mc.tls.excludeProtocols`

- -

`MC_TLS_EXCLUDE_PROTOCOLS`

- -
A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. - -```bash -hz-mc start -Dhazelcast.mc.tls.excludeProtocols=SSLv3 -``` - -
- -

`hazelcast.mc.tls.openSsl`

- -

`MC_TLS_OPEN_SSL`

- -
Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.openSsl=true -``` - -
- -

`hazelcast.mc.tls.enabled`

- -

`MC_TLS_ENABLED`

- -
Whether TLS/SSL is enabled. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.tls.enabled=true -``` - -
- -

`hazelcast.mc.tls.keyStore`

- -

`MC_TLS_KEY_STORE`

- -
Path to a keystore. - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStore=/keys/mc.keystore -``` - -
- -

`hazelcast.mc.tls.keyStorePassword`

- -

`MC_TLS_KEY_STORE_PASSWORD`

- -
Password of the keystore in [`hazelcast.mc.tls.keyStore`](#hazelcast-mc-tls-keystore). - -```bash -hz-mc start -Dhazelcast.mc.tls.keyStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.trustStore`

- -

`MC_TLS_TRUST_STORE`

- -
Path to a truststore. If the [`hazelcast.mc.tls.enabled`](#hazelcast-mc-tls-enabled) system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStore=/truststores/mc.truststore -``` - -
- -

`hazelcast.mc.tls.trustStorePassword`

- -

`MC_TLS_TRUST_STORE_PASSWORD`

- -
Password of the truststore. - -```bash -hz-mc start -Dhazelcast.mc.tls.trustStorePassword=mypassword123 -``` - -
- -

`hazelcast.mc.tls.enableHttpPort`

- -

`MC_TLS_ENABLE_HTTP_PORT`

- -
Whether the HTTP port in the [`hazelcast.mc.http.port`](#hazelcast-mc-http-port) system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. - -```bash -hz-mc start -Dhazelcast.mc.tls.enableHttpPort=true -``` - -
- -

`hazelcast.mc.tls.mutualAuthentication`

- -

`MC_TLS_MUTUAL_AUTHENTICATION`

- -
- -Whether clients connected to Management Center are authenticated: - -- `REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated. -- `OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. - -Default: `OPTIONAL`. - - - -```bash -hz-mc start -Dhazelcast.mc.tls.mutualAuthentication=REQUIRED -``` - -
- -

`hazelcast.mc.useExistingKeyStore`

- -

`MC_USE_EXISTING_KEY_STORE`

- -
Enables use of an existing keystore. Default: `false`. - -```bash -hz-mc start -Dhazelcast.mc.useExistingKeyStore=true -``` - -
`hazelcast.mc.sql.max-cell-length MC_MC_SQL_MAX_CELL_LENGTH`Max length of a cell in SQL query result, longer values are truncated. Default: `2048`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-cell-length=10000 -``` - -
`hazelcast.mc.sql.max-row-count MC_MC_SQL_MAX_CELL_LENGTH`Max number of rows returned by SQL batch query. Default: `1000`. - -```bash -hz-mc start -Dhazelcast.mc.sql.max-row-count=10000 -``` - -
`hazelcast.mc.websocket.buffer-size HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE`The buffer size of the WebSocket connection MC uses for SQL operations. Default: `5MB`. - -```bash -hz-mc start -Dhazelcast.mc.websocket.buffer-size=10MB -``` - -
`hazelcast.mc.ui.asyncTableThreshold MC_UI_ASYNC_TABLE_THRESHOLD`Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. Default: `500`. - -```bash -hz-mc start -Dazelcast.mc.ui.asyncTableThreshold=1000 -``` - -
- -## Client connection strategy configuration {/* #client-config */} +## General + +These properties configure Management Center's configuration file, home directory, license, and general behavior: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.auditlog.enabled` | `MC_AUDITLOG_ENABLED` | `false` | Whether Management Center logs auditable events. See [Audit Logging](./logging.mdx#audit-logging). | +| `hazelcast.mc.configReplacer.class` | | | Full class name of a variable replacer to use. See [Variable replacers](./variable-replacers.mdx). | +| `hazelcast.mc.configReplacer.failIfValueMissing` | | `true` | Whether the configuration loading process stops when a replacement value is missing. | +| `hazelcast.mc.home` | `MC_HOME` | | Home directory where metrics, executed SQL queries, and configuration settings are saved. See [Configure Management Center](./configuring.mdx). | +| `hazelcast.mc.license` | `MC_LICENSE` | | Enterprise license. When this property is set, the license takes precedence over one that is set in the user interface, and you cannot update the license in the UI. For more details about licenses, see [Enterprise licenses](../license-management/license-management.mdx). | +| `hazelcast.mc.lock.skip` | `MC_LOCK_SKIP` | `false` | Whether the `hz-mc conf` tool does not check for an `mc.lock` file in the home directory. See [Skipping the Check for a Lock File](./mc-conf.mdx#skip-the-check-for-a-lock-file). | +| `hazelcast.mc.phone.home.enabled` | `MC_PHONE_HOME_ENABLED` | `true` | Whether Management Center sends usage data to the Hazelcast phone home server. See [Usage analytics](../phone-homes.mdx). | +| `hazelcast.mc.rest.enabled` | `MC_REST_ENABLED` | `false` | Enable [clustered REST](../../integrate/clustered-rest/clustered-rest.mdx) endpoints. | +| `maskOpts` | | `' '` (empty) | Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via `JAVA_OPTS`. | + +## Web server + +These properties configure the Management Center web server, including the HTTP port, health check, and CORS: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.contextPath` | `MC_CONTEXT_PATH` | `' '` (empty) | Prefix of all URL paths in Management Center. | +| `hazelcast.mc.cors.allowedOriginPatterns` | `MC_CORS_ALLOWED_ORIGIN_PATTERNS` | | A list of origins patterns for which cross-origin requests are allowed. | +| `hazelcast.mc.cors.allowedMethods` | `MC_CORS_ALLOWED_METHODS` | | HTTP methods to allow for cross-origin requests.

If any other `hazelcast.mc.cors.*` property is set while `hazelcast.mc.cors.allowedMethods` is not set, only `GET` and `HEAD` HTTP methods will be allowed. | +| `hazelcast.mc.cors.allowedHeaders` | `MC_CORS_ALLOWED_HEADERS` | | List of headers that a pre-flight request can list as allowed for use during an actual request.

The special value `*` allows actual requests to send any header. | +| `hazelcast.mc.cors.exposedHeaders` | `MC_CORS_EXPOSED_HEADERS` | | List of response headers that an actual response might have and can be exposed to the client.

The special value `*` allows all headers to be exposed. | +| `hazelcast.mc.cors.allowCredentials` | `MC_CORS_ALLOW_CREDENTIALS` | | Whether user credentials are supported or not. Setting this property to `true` forbids `originPatterns`, `allowedMethods`, `allowedHeaders` to have a `*` value. Be aware that this option establishes a high level of trust with the configured domains and also increases the surface attack of the web application by exposing sensitive user-specific information such as cookies and CSRF tokens. If this property is not set, user credentials are not supported. | +| `hazelcast.mc.cors.allowPrivateNetwork` | `MC_CORS_ALLOW_PRIVATE_NETWORK` | | Whether private network access is supported for user-agents restricting such access by default.

Private network requests are requests whose target server's IP address is more private than that from which the request initiator was fetched. For example, a request from a public website (`https://example.com`) to a private website (`https://router.local`), or a request from a private website to localhost.

If this property is not set, private network access is not supported. | +| `hazelcast.mc.cors.maxAge` | `MC_CORS_MAX_AGE` | | Configure how long, in seconds, the response from a pre-flight request can be cached by clients. | +| `hazelcast.mc.forwarded.requests.enabled` | `MC_FORWARDED_REQUESTS_ENABLED` | `true` | Whether Management Center reads `X-Forwarded-*` headers from reverse proxies. | +| `hazelcast.mc.healthCheck.enable` | `MC_HEALTH_CHECK_ENABLED` | `false` | Whether the `/health` endpoint is enabled on port `hazelcast.mc.http.port` + 1. This endpoint is always served over HTTP, regardless of any TLS/SSL settings. This endpoint responds with `200 OK` HTTP status code if Management Center is running. | +| `hazelcast.mc.healthCheck.port` | `MC_HEALTH_CHECK_PORT` | `hazelcast.mc.http.port` + 1 | The port on which the `/health` endpoint is exposed. | +| `hazelcast.mc.hostAddress` | `MC_HOST_ADDRESS` | `0.0.0.0` (all network interfaces) | Network address that Management Center is reachable on. | +| `hazelcast.mc.http.port` | `MC_HTTP_PORT` | `8080` | HTTP port for Management Center. | +| `hazelcast.mc.websocket.buffer-size` | `HAZELCAST_MC_WEBSOCKET_BUFFER_SIZE` | `5MB` | The buffer size of the WebSocket connection MC uses for SQL operations. | + +If none of `hazelcast.mc.cors.*` properties are set, all origins are allowed to make cross-origin HTTP requests, but WebSocket connection could be established only from the same origin. + +For `hazelcast.mc.cors.allowedHeaders` and `hazelcast.mc.cors.exposedHeaders`, a header name is not required to be listed if it is one of: `Cache-Control`, `Content-Language`, `Expires`, `Last-Modified`, or `Pragma`. + +## TLS + +These properties configure TLS for the Management Center web server: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.disableHostnameVerification` | | `false` | Whether Management Center does not verify the hostname of signed TLS/SSL certificates. | +| `hazelcast.mc.exclude.cipher.suites` | `MC_EXCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suites to be excluded from the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.existingKeyStore.path` | `MC_EXISTING_KEYSTORE_PATH` | `' '` (empty) | Path to an existing keystore. You do not have to set this property if you use a Hardware Security Module (HSM). | +| `hazelcast.mc.existingKeyStore.pass` | `MC_EXISTING_KEYSTORE_PASS` | `' '` (empty) | Password for the keystore. You do not have to set this property if you use a Hardware Security Module (HSM) that provides another means to access the keystore. | +| `hazelcast.mc.existingKeyStore.type` | `MC_EXISTING_KEYSTORE_TYPE` | `JCEKS` | Type of the keystore. | +| `hazelcast.mc.existingKeyStore.provider` | `MC_EXISTING_KEYSTORE_PROVIDER` | System provider | Provider of the keystore. If you use a Hardware Security Module (HSM), specify the class name of your HSM's `java.security.Provider` implementation. | +| `hazelcast.mc.include.cipher.suites` | `MC_INCLUDE_CIPHER_SUITES` | | A comma separated list of cipher suits to be included in the list of supported ciphers in Management Center. Wildcards are supported. | +| `hazelcast.mc.tls.excludeProtocols` | `MC_TLS_EXCLUDE_PROTOCOLS` | | A comma separated list of TLS/SSL protocols to be excluded from the list of supported protocols in Management Center. | +| `hazelcast.mc.tls.openSsl` | `MC_TLS_OPEN_SSL` | `false` | Allow Management Center to use [Google's Conscrypt SSL](https://github.com/google/conscrypt/) that is built on their fork of OpenSSL, BoringSSL. | +| `hazelcast.mc.tls.enabled` | `MC_TLS_ENABLED` | `false` | Whether TLS/SSL is enabled. | +| `hazelcast.mc.tls.keyStore` | `MC_TLS_KEY_STORE` | | Path to a keystore. | +| `hazelcast.mc.tls.keyStorePassword` | `MC_TLS_KEY_STORE_PASSWORD` | | Password of the keystore in `hazelcast.mc.tls.keyStore`. | +| `hazelcast.mc.tls.trustStore` | `MC_TLS_TRUST_STORE` | | Path to a truststore. If the `hazelcast.mc.tls.enabled` system property is `true` and this value is empty, Management Center uses the system JVM's own truststore. | +| `hazelcast.mc.tls.trustStorePassword` | `MC_TLS_TRUST_STORE_PASSWORD` | | Password of the truststore. | +| `hazelcast.mc.tls.enableHttpPort` | `MC_TLS_ENABLE_HTTP_PORT` | | Whether the HTTP port in the `hazelcast.mc.http.port` system property is redirected to the HTTPS port in the [`hazelcast.mc.https.port`](../security/tls/serving-https.mdx#override-the-default-https-port) system property. | +| `hazelcast.mc.tls.mutualAuthentication` | `MC_TLS_MUTUAL_AUTHENTICATION` | `OPTIONAL` | Whether clients connected to Management Center are authenticated:

`REQUIRED`: If the client does not provide a keystore or the provided keys are not included in the Management Center's truststore, the client will not be authenticated.
`OPTIONAL`: If the client does not provide a keystore, it will be authenticated. But, if the client provides keys that are not included in the Management Center's truststore, the client will not be authenticated. | +| `hazelcast.mc.useExistingKeyStore` | `MC_USE_EXISTING_KEY_STORE` | `false` | Enables use of an existing keystore. | + +## Login, sessions, and passwords + +These properties configure user logins, sessions, and password checks: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.allowMultipleLogin` | `MC_ALLOW_MULTIPLE_LOGIN` | `true` | Whether a user can log into an account in Management Center on multiple devices in different locations at the same time. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.disableLoginPeriodMultiplier` | `MC_DISABLE_LOGIN_PERIOD_MULTIPLIER` | `10` | Multiplier used for extending the disabled login period in case the failed login attempts continue after the disabled login period expires. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.failedAttemptsBeforeDisableLogin` | `MC_FAILED_ATTEMPTS_BEFORE_DISABLE_LOGIN` | `3` | Number of failed login attempts that Management Center allows before disabling logins. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.forceLogoutOnMultipleLogin` | `MC_FORCE_LOGOUT_ON_MULTIPLE_LOGIN` | `false` | Whether Management Center forces users to log out when other users try to log into the same account. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.initialDisableLoginPeriod` | `MC_INITIAL_DISABLE_LOGIN_PERIOD` | `5` | Initial duration for the disabled login period in seconds. See [Secure user sessions](../security/sessions.mdx). | +| `hazelcast.mc.maxDisableLoginPeriod` | `MC_MAX_DISABLE_LOGIN_PERIOD` | | Maximum amount of time for the disable login period. By default, the disabled login period is unlimited. | +| `hazelcast.mc.security.dictionary.minWordLength` | `MC_SECURITY_DICTIONARY_MIN_WORD_LENGTH` | `3` | Minimum length that words in the dictionary must contain. | +| `hazelcast.mc.security.dictionary.path` | `MC_SECURITY_DICTIONARY_PATH` | | Path to a text file that contains words that cannot be included in user passwords. | +| `hazelcast.mc.session.timeout.seconds` | `MC_SESSION_TIMEOUT_SECONDS` | `1800` | Number of seconds that a session can remain inactive before it is invalid and the user must log in again. | + +## LDAP and Active Directory + +These properties configure connections to LDAP and Active Directory servers: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.ldap.timeout` | `MC_LDAP_CONN_TIMEOUT` | `3000` | Timeout in milliseconds for Active Directory and LDAP search queries. | +| `hazelcast.mc.ldap.ssl.protocol` | `MC_LDAP_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for LDAP connection. | +| `hazelcast.mc.ldap.ssl.keyStore` | `MC_LDAP_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for LDAP SSL connection. | +| `hazelcast.mc.ldap.ssl.keyStoreType` | `MC_LDAP_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ldap.ssl.keyStorePassword` | `MC_LDAP_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for LDAP SSL connection. | +| `mc.ldap.ssl.keyManagerAlgorithm` | `MC_LDAP_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ldap.ssl.trustStore` | `MC_LDAP_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ldap.ssl.trustStorePassword` | `MC_LDAP_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ldap.ssl.trustStoreType` | `MC_LDAP_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ldap.ssl.trustManagerAlgorithm` | `MC_LDAP_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.protocol` | `MC_AD_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol for AD connection. | +| `hazelcast.mc.ad.ssl.keyStore` | `MC_AD_SSL_KEY_STORE` | `' '` (empty) | Path to a keystore for AD SSL connection. | +| `hazelcast.mc.ad.ssl.keyStoreType` | `MC_AD_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.ad.ssl.keyStorePassword` | `MC_AD_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore for AD SSL connection. | +| `mc.ad.ssl.keyManagerAlgorithm` | `MC_AD_SSL_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | +| `hazelcast.mc.ad.ssl.trustStore` | `MC_AD_SSL_TRUST_STORE` | `' '` (empty) | Path to the truststore. | +| `hazelcast.mc.ad.ssl.trustStorePassword` | `MC_AD_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.ad.ssl.trustStoreType` | `MC_AD_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `mc.ad.ssl.trustManagerAlgorithm` | `MC_AD_SSL_TRUST_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. | + +## JMX + +These properties configure JMX for Management Center: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.jmx.enabled` | `MC_JMX_ENABLED` | `false` | Whether the clustered JMX service is enabled. See [Clustered JMX](../../integrate/clustered-jmx/jmx.mdx). | +| `hazelcast.mc.jmx.host` | `MC_JMX_HOST_NAME` | Server's hostname | Hostname/IP address of the JMX host machine. This is used by the JMX client to connect back into JMX, so the given host must be accessible from the host machine that runs the JMX client. | +| `hazelcast.mc.jmx.mutualAuthentication` | `MC_JMX_SSL_MUTUAL_AUTH_ENABLED` | `false` | Whether mutual authentication is enabled for the JMX interface. | +| `hazelcast.mc.jmx.port` | `MC_JMX_PORT` | `9999` | Port on which the clustered JMX service is exposed. | +| `hazelcast.mc.jmx.rmi.port` | `MC_JMX_RMI_PORT` | `9998` | Port on which the Java process that you want to monitor listens for incoming connections from the client (Remote management applications) such as JConsole . For monitoring a local Java process, there is no need to specify the JMX RMI port number. | +| `hazelcast.mc.jmx.ssl.enabled` | `MC_JMX_SSL_ENABLED` | `false` | Whether TLS/SSL is enabled for communication between the JMX interface and JMX clients. | +| `hazelcast.mc.jmx.ssl.protocol` | `MC_JMX_SSL_PROTOCOL` | `TLS` | The standard name of the requested SSL protocol. | +| `hazelcast.mc.jmx.ssl.keyStore` | `MC_JMX_SSL_KEY_STORE_TYPE` | `' '` (empty) | Path to a keystore. | +| `hazelcast.mc.jmx.ssl.keyStorePassword` | `MC_JMX_SSL_KEY_STORE_PASSWORD` | `' '` (empty) | Password for the keystore. | +| `hazelcast.mc.jmx.ssl.trustStore` | `MC_JMX_SSL_TRUST_STORE` | `' '` (empty) | Path to a truststore. | +| `hazelcast.mc.jmx.ssl.trustStoreType` | `MC_JMX_SSL_TRUST_STORE_TYPE` | `JKS` | Type of the truststore. | +| `hazelcast.mc.jmx.ssl.trustStorePassword` | `MC_JMX_SSL_TRUST_STORE_PASSWORD` | `' '` (empty) | Password for the truststore. | +| `hazelcast.mc.jmx.ssl.trustManagerAlgorithm` | `MC_JMX_SSL_TRUST_MANAGER_ALGORITHM` | | Name of the algorithm based on which the authentication keys are provided. System default is used if none is provided. You can find out the default by calling the `javax.net.ssl.TrustManagerFactory#getDefaultAlgorithm` method. | +| `hazelcast.mc.jmx.ssl.keyStoreType` | `MC_JMX_SSL_KEY_STORE_TYPE` | `JKS` | Type of the keystore. | +| `hazelcast.mc.jmx.ssl.keyManagerAlgorithm` | `MC_TLS_KEY_MANAGER_ALGORITHM` | System default | Name of the algorithm based on which the authentication keys are provided. You can find out the default by calling the `javax.net.ssl.KeyManagerFactory#getDefaultAlgorithm` method. | + +## Metrics and Prometheus + +These properties configure how Management Center stores metrics and exports them to Prometheus: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.metrics.persistence.enabled` | `MC_METRICS_PERSISTENCE_ENABLED` | `true` | Whether Management Center persists metrics. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.disk.ttl.duration` | `MC_METRICS_DISK_TTL_DURATION` | `P1D` (one day) | Time-to-Live (TTL) in ISO-8601-based durations format for each record in the metrics persistence. This value must be positive. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.consumer.thread.pool.size` | `MC_METRICS_CONSUMER_THREAD_POOL_SIZE` | `2` | Number of threads that are used to consume metrics from cluster members. See [Historical metrics](../historical-metrics.mdx). | +| `hazelcast.mc.metrics.reschedule.delay.millis` | `MC_METRICS_RESCHEDULE_DELAY_MILLIS` | `1000` | Interval in milliseconds that Management Center waits before requesting metrics from cluster members. | +| `hazelcast.mc.jet.metrics.retentionSecs` | `MC_JET_METRICS_RETENTION_SECS` | `3600` | Interval in seconds that Management Center holds Jet metrics in memory. | +| `hazelcast.mc.prometheusExporter.enabled` | `MC_PROMETHEUS_EXPORTER_ENABLED` | `false` | Whether to expose all metrics to the `/metrics` endpoint to be consumed by Prometheus. All metrics at the endpoint include the `hz_` prefix. | +| `hazelcast.mc.prometheusExporter.timestamp.enabled` | `MC_PROMETHEUS_EXPORTER_TIMESTAMP_ENABLED` | `true` (enabled) | Whether to send timestamp of the individual members' metrics to Prometheus. | +| `hazelcast.mc.prometheusExporter.filter.metrics.included` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_INCLUDED` | `' '` (empty) | Metrics to include in the `/metrics` endpoint. | +| `hazelcast.mc.prometheusExporter.filter.metrics.excluded` | `MC_PROMETHEUS_EXPORTER_FILTER_METRICS_EXCLUDED` | `' '` (empty) | Metrics to exclude from the `/metrics` endpoint. | +| `hazelcast.mc.prometheusExporter.port` | `MC_PROMETHEUS_EXPORTER_PORT` | | Port on which the `/metrics` endpoint is exposed. | +| `hazelcast.mc.prometheusExporter.printers` | `MC_PROMETHEUS_EXPORTER_PRINTERS` | `V1,V2` | Which set of metrics to expose. See [Prometheus metrics](../../integrate/prometheus-monitoring/prometheus-metrics.mdx). | + +## SQL browser and UI + +These properties configure the SQL browser and the UI: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.sql.max-cell-length` | `MC_MC_SQL_MAX_CELL_LENGTH` | `2048` | Max length of a cell in SQL query result, longer values are truncated. | +| `hazelcast.mc.sql.max-row-count` | `MC_MC_SQL_MAX_CELL_LENGTH` | `1000` | Max number of rows returned by SQL batch query. | +| `hazelcast.mc.ui.asyncTableThreshold` | `MC_UI_ASYNC_TABLE_THRESHOLD` | `500` | Tables bigger than the threshold are loaded asynchronously. You can't sort an asynchronous table. | + +## Cluster connections + +These properties configure how Management Center communicates with clusters: + +| Property | Environment variable | Default | Description | +| --- | --- | --- | --- | +| `hazelcast.mc.clientFiltering.modes` | `MC_CLIENT_FILTERING_MODES` | `ALLOWLIST, DENYLIST` | Adjusts client filtering modes. Value must be set of `ALLOWLIST` and `DENYLIST`. | +| `hazelcast.mc.clusterHealthCheck.exclude` | `MC_CLUSTERHEALTHCHECK_EXCLUDE` | | List of check identifiers to be excluded from Healthcheck. See [Healthcheck](../../cluster/healthcheck.mdx#excluding-checks). | +| `hazelcast.mc.cluster.operation.timeout.millis` | | 60000 | Timeout in milliseconds for Management Center operations that wait for a response from members. | +| `hazelcast.mc.state.reschedule.delay.millis` | `MC_STATE_RESCHEDULE_DELAY_MILLIS` | 1000 | Duration in milliseconds that Management Center waits before requesting metadata from a Hazelcast cluster. Metadata includes a list of all data structures and their configurations. | + +## Client connection strategy {/* #client-config */} Use the following properties to configure the connection strategy of the Management Center client. These properties apply to all clients that are started by Management Center. - ----- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PropertyDescriptionExample
`hazelcast.mc.client.max.backoff.millis`Upper limit of the backoff in milliseconds. Default: `30000`. Values must be between 30000 and 600000. - -```bash -hz-mc start -Dhazelcast.mc.client.max.backoff.millis=486000 -``` - -
`hazelcast.mc.client.backoff.multiplier`Factor by which to multiply the backoff after each failed retry. Default: `2`. Values must be between 1 and 10. - -```bash -hz-mc start -Dhazelcast.mc.client.backoff.multiplier=3 -``` - -
`hazelcast.mc.client.initial.backoff.millis`Duration in milliseconds that Management Center waits after the first connection failure before retrying. Default: `1000`. Values must be between 1000 and 60000. - -```bash -hz-mc start -Dhazelcast.mc.client.initial.backoff.millis=2000 -``` - -
`hazelcast.mc.clientFiltering.modes`Adjusts client filtering modes. Default: `ALLOWLIST, DENYLIST`. Value must be set of `ALLOWLIST` and `DENYLIST`. - -```bash -hz-mc start -Dhazelcast.mc.clientFiltering.modes=ALLOWLIST -``` - -
`maskOpts`Comma-separated list of option keys to be masked. Masks sensitive data in logs passed via JAVA\_OPTS. Default: `' '` (empty). - -```bash -hz-mc start -Djavax.net.ssl.keyStorePassword=keypassword -Djavax.net.ssl.trustStorePassword=trustpassword -DmaskOpts=javax.net.ssl.keyStorePassword,javax.net.ssl.trustStorePassword -``` - -
+| Property | Default | Description | +| --- | --- | --- | +| `hazelcast.mc.client.max.backoff.millis` | `30000` | Upper limit of the backoff in milliseconds. Values must be between 30000 and 600000. | +| `hazelcast.mc.client.backoff.multiplier` | `2` | Factor by which to multiply the backoff after each failed retry. Values must be between 1 and 10. | +| `hazelcast.mc.client.initial.backoff.millis` | `1000` | Duration in milliseconds that Management Center waits after the first connection failure before retrying. Values must be between 1000 and 60000. | diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/variable-replacers.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/variable-replacers.mdx index c55f85d0..4c0b3aa6 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/variable-replacers.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/configuration/variable-replacers.mdx @@ -54,7 +54,7 @@ $ENC{h7kmetFZwh8=:531:dOsG5ezhSZiyBXY5JNx8gg==} To use the encrypted value as configuration input in Management Center, you need to provide the following properties: -- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#hazelcast-mc-configreplacer-class) +- [`hazelcast.mc.configReplacer.class`](./system-properties.mdx#general) - Any configuration properties that you used to generate the encrypted value. - Any property to take the encrypted value as input for the `EncryptionReplacer` to decrypt. diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/historical-metrics.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/historical-metrics.mdx index 366a9ab8..e2dfeab2 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/historical-metrics.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/historical-metrics.mdx @@ -36,7 +36,7 @@ Each in-memory minute bucket consumes around 0.5 KB of memory. ## Change the metrics time to live -To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#disk-usage-config). +To customize the number of days for which Management Center persists metrics, start Management Center with the [`hazelcast.mc.metrics.disk.ttl.duration` property](./configuration/system-properties.mdx#metrics-and-prometheus). This property takes a duration in days, represented in the ISO-8601 format: @@ -83,7 +83,7 @@ These logs provide some basic persistence statistics and details about any activ ## Disable metrics persistence -If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#hazelcast-mc-metrics-persistence-enabled) property to `false`, which stores metrics only in memory. +If you don't want metrics to be persisted on disk, set the [`hazelcast.mc.metrics.persistence.enabled`](./configuration/system-properties.mdx#metrics-and-prometheus) property to `false`, which stores metrics only in memory. :::tip @@ -109,7 +109,7 @@ hz-mc start Management Center may experience delays while consuming metrics from cluster members, resulting in `N/A` or `0` displayed instead of the metric values. Delays usually occur when Management Center is connected to a large cluster of 30+ members. -To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#hazelcast-mc-metrics-consumer-thread-pool-size) +To resolve this issue, increase the number of threads that consume metrics from the cluster members by setting the [`hazelcast.mc.metrics.consumer.thread.pool.size` property](./configuration/system-properties.mdx#metrics-and-prometheus) ### Slow background persistence runs diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/license-management/updating-mc-license-ui.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/license-management/updating-mc-license-ui.mdx index 37ebad1c..b4042405 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/license-management/updating-mc-license-ui.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/license-management/updating-mc-license-ui.mdx @@ -44,4 +44,4 @@ The information on the page is updated for the new license. Use the REST API to [get details about license expiration times](../../integrate/clustered-rest/cluster-metrics.mdx#get-rest-license). -Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#starting-with-a-license) to override any Enterprise license for Management Center that's already installed. +Start Management Center with the [`hazelcast.mc.license` property](../configuration/system-properties.mdx#general) to override any Enterprise license for Management Center that's already installed. diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/phone-homes.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/phone-homes.mdx index af21ac5f..d8e768b4 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/phone-homes.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/phone-homes.mdx @@ -56,4 +56,4 @@ For each user login, we store the following information and send it in a phone h ## Disable the collection of usage analytics -You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#hazelcast-mc-phone-home-enabled) to `false` +You can disable data collection in phone homes and Pendo by setting the [`hazelcast.mc.phone.home.enabled` property](./configuration/system-properties.mdx#general) to `false` diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/sessions.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/sessions.mdx index 0cc2a818..343396ec 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/sessions.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/sessions.mdx @@ -13,7 +13,7 @@ To secure users' sessions, you can configure session timeouts and multiple user If you have deployed Management Center on an application server/container, you can configure the default session timeout period of the application server/container to change the session timeout period for the Management Center. If your server/container allows application specific configuration, you can use it to configure the session timeout period for the Management Center. -If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#hazelcast-mc-session-timeout-seconds). For example, the following command starts Management Center with a session timeout period of 1 minute: +If you started Management Center from the command line, by default, the sessions that are inactive for 30 minutes are invalidated. To change this, you can use the [`hazelcast.mc.session.timeout.seconds` property](../configuration/system-properties.mdx#login-sessions-and-passwords). For example, the following command starts Management Center with a session timeout period of 1 minute: diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/serving-https.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/serving-https.mdx index c221988d..c08eb99d 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/serving-https.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/serving-https.mdx @@ -55,7 +55,7 @@ It's not always necessary to have certificates signed by a well-known certificat To use a self-signed certificate, do one of the following: - Create the certificate with the hostname of the machine you will deploy the Management Center on. -- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#hazelcast-mc-disablehostnameverification) to `true`. +- Disable hostname verification by setting the [`hazelcast.mc.disableHostnameVerification` property](../../configuration/system-properties.mdx#tls) to `true`. Otherwise, you may see this exception in the member logs: @@ -97,7 +97,7 @@ This command starts the Management Center on HTTPS port 443. ## Redirect the HTTP port to HTTPS {/* #enabling-http-port */} -By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#hazelcast.mc.tls.enableHttpPort) to `true`. +By default, the HTTP port is disabled when you enable TLS. If you want to have an open HTTP port that redirects to the HTTPS port, set the [`hazelcast.mc.tls.enableHttpPort` property](../../configuration/system-properties.mdx#tls) to `true`. ## Mutual authentication @@ -105,4 +105,4 @@ To make sure that only authenticated HTTP clients such as web browsers or cURL c When mutual authentication is enabled, HTTP clients need to present their own TLS certificate to Management Center before they are allowed to connect. You can store trusted clients' TLS certificates in the Management Center truststore so it can authenticate them. -To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#hazelcast-mc-tls-mutualauthentication). +To enable mutual authentication, use the [`hazelcast.mc.tls.mutualAuthentication` property](../../configuration/system-properties.mdx#tls). diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/tls-security.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/tls-security.mdx index 3bf3c512..d07da06e 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/tls-security.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/tls/tls-security.mdx @@ -10,7 +10,7 @@ Management Center communicates over many channels. To encrypt data transmitted o :::note -The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#enabling-health-check-endpoint) property. +The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. See the [`hazelcast.mc.healthCheck.enable`](../../configuration/system-properties.mdx#web-server) property. ::: @@ -22,7 +22,7 @@ The `/health` endpoint is always served over HTTP even if TLS/SSL is enabled. Se :::note - Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#hazelcast-mc-forwarded-requests-enabled) is set to `true`. + Make sure your reverse proxy sets the `X-Forwarded-Proto` HTTP header to HTTPS. Also, make sure that the [`hazelcast.mc.forwarded.requests.enabled` property](../../configuration/system-properties.mdx#web-server) is set to `true`. ::: - If your Hazelcast cluster uses TLS, configure Management Center with the necessary truststore information. You'll need to configure the truststore, using a client configuration file. See [Cluster connections](../../cluster-connections/cluster-connections.mdx). @@ -49,7 +49,7 @@ After starting Management Center, a line similar to the following appears in the ## Include and exclude cipher suites {/* #including-excluding-specific-cipher-suites */} -When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#hazelcast-mc-exclude-cipher-suites) on startup. You can either use the exact cipher suite name or a regular expression. For example: +When you configure TLS, you also can provide which cipher suites Management Center can use for establishing a TLS connection. You can include cipher suites with the `hazelcast.mc.include.cipher.suites` property and exclude cipher suites with the [`hazelcast.mc.exclude.cipher.suites` property](../../configuration/system-properties.mdx#tls) on startup. You can either use the exact cipher suite name or a regular expression. For example: ```none -Dhazelcast.mc.include.cipher.suites=^SSL_.*$ diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/active-directory.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/active-directory.mdx index 55f7ffbc..62bc0b26 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/active-directory.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/active-directory.mdx @@ -42,7 +42,7 @@ mc-conf.bat active-directory configure :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify both connect and read timeout values for Active Directory search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Admin Groups:** Members of this group and its nested groups have admin privileges on the Management Center. To use more than one group, separate them with a semicolon (;). @@ -80,7 +80,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `active- ## Enable TLS/SSL for Active Directory {/* #ad-ssl */} -If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ad-ssl-protocol). +If your Active Directory service is using TLS/SSL protocol, use the command line parameters for your Management Center deployment [Active Directory SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Next steps diff --git a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/ldap.mdx b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/ldap.mdx index 2e8b9c33..f5e18dbf 100644 --- a/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/ldap.mdx +++ b/management-center_versioned_docs/version-5.9/deploy-and-manage/security/user-authentication/ldap.mdx @@ -49,7 +49,7 @@ mc-conf.bat ldap configure :::note - You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#hazelcast-mc-ldap-timeout) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. + You can use the [`hazelcast.mc.ldap.timeout` property](../../configuration/system-properties.mdx#ldap-and-active-directory) to specify connect and read timeout values for LDAP search queries. It is in milliseconds and its default value is `3000` milliseconds. ::: - **Group Search Filter:** LDAP search filter expression to search for the groups. For example, `uniquemember={0}` searches for a group that matches with the `uniquemember` attribute. @@ -97,7 +97,7 @@ Alternatively, you can use the `hz-mc conf` tool's `security reset` and `ldap co ## Enable TLS/SSL for LDAP {/* #ldap-ssl */} -If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#hazelcast-mc-ldap-ssl-protocol). +If your LDAP server is using `ldaps` (LDAP over SSL) protocol or the **Start TLS** operation, use the command line parameters for your Management Center deployment [LDAP SSL configuration options](../../configuration/system-properties.mdx#ldap-and-active-directory). ## Password encryption diff --git a/management-center_versioned_docs/version-5.9/get-started/get-started.mdx b/management-center_versioned_docs/version-5.9/get-started/get-started.mdx index cf1b780e..2cbbdaca 100644 --- a/management-center_versioned_docs/version-5.9/get-started/get-started.mdx +++ b/management-center_versioned_docs/version-5.9/get-started/get-started.mdx @@ -73,7 +73,7 @@ To complete this tutorial, you need the following: ### Start the compose stack with an Enterprise license -If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details): +If you have an Enterprise Edition license, you can configure the Docker Compose file with the license as follows (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details): ```yaml vars services: diff --git a/management-center_versioned_docs/version-5.9/install-and-upgrade/install.mdx b/management-center_versioned_docs/version-5.9/install-and-upgrade/install.mdx index 3aee3188..93c599e4 100644 --- a/management-center_versioned_docs/version-5.9/install-and-upgrade/install.mdx +++ b/management-center_versioned_docs/version-5.9/install-and-upgrade/install.mdx @@ -191,7 +191,7 @@ mc-start.cmd ## Starting Management Center with an Enterprise license {/* #starting-with-enterprise-license */} -If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#starting-with-a-license) for more details). +If you want to start Management Center with a valid Enterprise Edition license via the command line, you can set the `MC_LICENSE` or pass the Java property `hazelcast.mc.license` environment variable (see [`hazelcast.mc.license` property](../deploy-and-manage/configuration/system-properties.mdx#general) for more details). diff --git a/management-center_versioned_docs/version-5.9/integrate/clustered-jmx/jmx.mdx b/management-center_versioned_docs/version-5.9/integrate/clustered-jmx/jmx.mdx index 6dc65273..1f8327e1 100644 --- a/management-center_versioned_docs/version-5.9/integrate/clustered-jmx/jmx.mdx +++ b/management-center_versioned_docs/version-5.9/integrate/clustered-jmx/jmx.mdx @@ -19,7 +19,7 @@ For information about integration with Datadog, see the: [Datadog Docs](https:// ::: -To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-jmx-enabled): +To enable the clustered JMX service, use the [`hazelcast.mc.jmx.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#jmx): diff --git a/management-center_versioned_docs/version-5.9/integrate/clustered-rest/clustered-rest.mdx b/management-center_versioned_docs/version-5.9/integrate/clustered-rest/clustered-rest.mdx index afa8c926..8e30d4cf 100644 --- a/management-center_versioned_docs/version-5.9/integrate/clustered-rest/clustered-rest.mdx +++ b/management-center_versioned_docs/version-5.9/integrate/clustered-rest/clustered-rest.mdx @@ -15,7 +15,7 @@ The clustered REST API can be enabled to allow you to monitor clustered statisti The REST API is disabled by default. -To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-rest-enabled) at startup. +To enable clustered REST in Management Center, use the [`hazelcast.mc.rest.enabled` property](../../deploy-and-manage/configuration/system-properties.mdx#general) at startup. ## Root endpoint diff --git a/management-center_versioned_docs/version-5.9/integrate/prometheus-monitoring/overview.mdx b/management-center_versioned_docs/version-5.9/integrate/prometheus-monitoring/overview.mdx index 5e8e9821..d151ffa8 100644 --- a/management-center_versioned_docs/version-5.9/integrate/prometheus-monitoring/overview.mdx +++ b/management-center_versioned_docs/version-5.9/integrate/prometheus-monitoring/overview.mdx @@ -29,7 +29,7 @@ Management Center also reformats the metrics to align with Prometheus best pract Management Center collects metrics with the timestamp of individual members, and sends this timestamp to Prometheus. Prometheus discards metrics with the oldest timestamps. You can disable sending timestamps so that your monitoring system continues to operate when clock shifts happen in the cluster. -To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#prometheus-timestamp) property to `false`. +To stop sending timestamps to Prometheus, set the [`hazelcast.mc.prometheusExporter.timestamp.enabled`](../../deploy-and-manage/configuration/system-properties.mdx#metrics-and-prometheus) property to `false`. ## Configure Prometheus diff --git a/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx b/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx index e8c14dea..3524f6c4 100644 --- a/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx +++ b/management-center_versioned_docs/version-5.9/tools/sql-browser.mdx @@ -103,7 +103,7 @@ Example query results ## Truncate displayed query results -To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-sql-max-cell-length) property. +To reduce the time it takes for Management Center to display query results in the browser, the size of each table cell is limited. If a query returns too much data to fit into a cell, the result is truncated. You can adjust this limit by editing the [`hazelcast.mc.sql.max-cell-length`](../deploy-and-manage/configuration/system-properties.mdx#sql-browser-and-ui) property. ## View map metadata diff --git a/management-center_versioned_docs/version-5.9/troubleshoot/management-center.mdx b/management-center_versioned_docs/version-5.9/troubleshoot/management-center.mdx index 42ace521..0b50d0d5 100644 --- a/management-center_versioned_docs/version-5.9/troubleshoot/management-center.mdx +++ b/management-center_versioned_docs/version-5.9/troubleshoot/management-center.mdx @@ -15,7 +15,7 @@ The scrollbar should hide shortly after you stop scrolling. This is the default ## Experience timeout -If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#hazelcast-mc-cluster-operation-timeout) property. +If you experience a timeout when running scripts or SQL queries, you can increase the timeout value in the [`hazelcast.mc.cluster.operation.timeout.millis`](../deploy-and-manage/configuration/system-properties.mdx#cluster-connections) property. ## Cannot open the configuration for a data structure diff --git a/operator/operate-and-manage/configuration-properties/hazelcast-parameters.mdx b/operator/operate-and-manage/configuration-properties/hazelcast-parameters.mdx index 5facb296..5f807768 100644 --- a/operator/operate-and-manage/configuration-properties/hazelcast-parameters.mdx +++ b/operator/operate-and-manage/configuration-properties/hazelcast-parameters.mdx @@ -11,7 +11,7 @@ You can configure Hazelcast parameters using the `properties` field in the CRD. The following system properties are important for Operator: -- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#hazelcast.graceful.shutdown.max.wait). +- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#cluster-versions-and-shutdown). Example configuration: diff --git a/operator_versioned_docs/version-5.16/configure/configuration-properties/hazelcast-parameters.mdx b/operator_versioned_docs/version-5.16/configure/configuration-properties/hazelcast-parameters.mdx index 87b5203c..62808a24 100644 --- a/operator_versioned_docs/version-5.16/configure/configuration-properties/hazelcast-parameters.mdx +++ b/operator_versioned_docs/version-5.16/configure/configuration-properties/hazelcast-parameters.mdx @@ -12,7 +12,7 @@ You can configure Hazelcast parameters using the `properties` field in the CRD s It is worth highlighting the following system properties: -- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#hazelcast.graceful.shutdown.max.wait). +- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#cluster-versions-and-shutdown). Example Configuration: diff --git a/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/hazelcast-parameters.mdx b/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/hazelcast-parameters.mdx index 5facb296..5f807768 100644 --- a/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/hazelcast-parameters.mdx +++ b/operator_versioned_docs/version-5.17/operate-and-manage/configuration-properties/hazelcast-parameters.mdx @@ -11,7 +11,7 @@ You can configure Hazelcast parameters using the `properties` field in the CRD. The following system properties are important for Operator: -- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#hazelcast.graceful.shutdown.max.wait). +- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#cluster-versions-and-shutdown). Example configuration: diff --git a/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/hazelcast-parameters.mdx b/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/hazelcast-parameters.mdx index 5facb296..5f807768 100644 --- a/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/hazelcast-parameters.mdx +++ b/operator_versioned_docs/version-5.18/operate-and-manage/configuration-properties/hazelcast-parameters.mdx @@ -11,7 +11,7 @@ You can configure Hazelcast parameters using the `properties` field in the CRD. The following system properties are important for Operator: -- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#hazelcast.graceful.shutdown.max.wait). +- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#cluster-versions-and-shutdown). Example configuration: diff --git a/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/hazelcast-parameters.mdx b/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/hazelcast-parameters.mdx index 5facb296..5f807768 100644 --- a/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/hazelcast-parameters.mdx +++ b/operator_versioned_docs/version-5.19/operate-and-manage/configuration-properties/hazelcast-parameters.mdx @@ -11,7 +11,7 @@ You can configure Hazelcast parameters using the `properties` field in the CRD. The following system properties are important for Operator: -- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#hazelcast.graceful.shutdown.max.wait). +- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#cluster-versions-and-shutdown). Example configuration: diff --git a/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/hazelcast-parameters.mdx b/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/hazelcast-parameters.mdx index 5facb296..5f807768 100644 --- a/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/hazelcast-parameters.mdx +++ b/operator_versioned_docs/version-5.20/operate-and-manage/configuration-properties/hazelcast-parameters.mdx @@ -11,7 +11,7 @@ You can configure Hazelcast parameters using the `properties` field in the CRD. The following system properties are important for Operator: -- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#hazelcast.graceful.shutdown.max.wait). +- During a rolling upgrade, the cluster is shutdown gracefully to prevent data loss. You can configure this using the [`hazelcast.graceful.shutdown.max.wait` system property](/hazelcast/latest/system-properties#cluster-versions-and-shutdown). Example configuration: