global
This section defines additional configuration that applies to the
application as a whole. It is a JSON object (map) with two keys,
framework and application. The application values allowed are as defined
by the application itself and will be passed to the application when it
is initialized by the framework.
The framework values that may be supplied are as follows:
Key | Description | Default |
---|---|---|
|
The number of threads to create in the thread pool used by the framework. |
The number of available processors. |
|
Mode of the application that defines whether configuration and state of application can be changed during runtime. This can be |
|
|
The metrics configuration to be used for the application. See metrics configuration for more details |
|
|
A boolean value that specifies whether other instances of the application with the same application type and ID can be initialised as passive instances. The default value is true, meaning that if more than one instance of the application is started with the same application type and ID, only one will be active while others remain passive, enabling failover. If the active instance shuts down for any reason, a passive instance will become active and takes over the publication and/or subscription to Diffusion topics. The use of multiple instances requires the gateway user’s principal to have the ACQUIRE_LOCK permission on the Diffusion server. If this permission is not available, this feature (along with the associated permission requirement) can be disabled by setting this field to false. |
true |