This is a prerelease version.

View latest

Configuring with System Properties

You can use system properties to configure some aspects of Hazelcast. You set these properties as name and value pairs through declarative configuration, programmatic configuration or JVM system property. Following are examples for each option.

Declarative Configuration:

  • XML

  • YAML

        <property name="">value</property>
    properties: value

Programmatic Configuration:

Config config = new Config() ;
config.setProperty( "", "value" );

Using JVM’s System class or -D argument:

System.setProperty( "", "value" );



All Hazelcast system properties are listed in the System Properties appendix with their descriptions, default values and property types as a reference for you.