Hazelcast IMDG Standard Support has expired. Extended support for version 4.1 ends in April 2024. Extended support for version 4.2 ends in September 2024.

We recommend that you try Hazelcast Platform.

In Hazelcast Platform, we’ve combined the in-memory storage of IMDG with the stream processing power of Jet. Find out more in our Platform documentation.

The following topics are a good place to start:

Configuration Options

To configure Hazelcast applications, you can choose either static or dynamic configuration. Explore the options and decide which one is best for your application.

Before configuring Hazelcast, we recommend trying the defaults, which are set in the hazelcast-default.xml file of your Hazelcast package.

Static Configuration

Static configuration allows you to configure Hazelcast before runtime by providing either configuration files or using the API. Static configuration cannot be changed during runtime.

To use static configuration, you have the following options:

The following topics are also relevant to static configuration:

Hazelcast performs schema validation through the hazelcast-config-4.2.8.xsd file, which comes with Hazelcast libraries. If an error occurs in declarative or programmatic configuration, Hazelcast throws a meaningful exception.

Configuration Precedence

Hazelcast looks for static configuration options in the following order:

  1. Config object provided by programmatic configuration

  2. hazelcast.config system property

  3. hazelcast.xml declarative configuration file in the working directory

  4. hazelcast.xml declarative configuration file on the classpath

  5. hazelcast.yaml (or .yml) declarative configuration file in the working directory

  6. hazelcast.yaml declarative configuration file on the classpath

If Hazelcast does not find any of these configuration options, it loads the default configuration file (hazelcast-default.xml), which comes with your Hazelcast package.

Dynamic Configuration

Dynamic configuration allows you to temporarily change the configuration of some data structures.