Configuring the checkpoint data store
The checkpoint data store is configured for the domain or instance that is running any operator that calls the checkpoint API.
About this task
For each domain or instance, you choose the type and location of the backend store, which the checkpoint API writes to. Any changes to the configuration do not take effect until the instance or domain is stopped and restarted. The domain level properties are automatically inherited by all the instances in that domain unless the instance has its own instance level property.
Any instance that runs jobs that use checkpointing or consistent region features is required to set instance.checkpointRepository and instance.checkpointRepositoryConfiguration instance properties to specify a backend store for hosting checkpoint data. Typically, operators in a consistent region require checkpointing. Also, applications with the config checkpoint option set require a checkpoint data store.
- domain.checkpointRepository
- This domain property can have the value redis, fileSystem, or notSpecified. The default value of notSpecified indicates that no checkpoint backend store is provided for the domain. You must configure your domain or instance to specify either redis or fileSystem before you run jobs that call the checkpoint API.
- domain.checkpointRepositoryConfiguration
- This domain property contains a string that contains the configuration information. For redis, it contains a list of redis server host names and port numbers. For fileSystem, it contains the absolute path to an existing directory that is the root of the checkpointing directory.
- instance.checkpointRepository
- This instance property can have the value redis or fileSystem.
- instance.checkpointRepositoryConfiguration
- This instance property contains a string that contains the configuration information. For redis, it contains a list of redis server host names and port numbers. For fileSystem, it contains the absolute path to an existing directory that is the root of the checkpointing directory.