Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Configuration

Shreekantha Devasya edited this page May 19, 2020 · 1 revision

The agents can be configured either via environmental variables or by a configuration file provided as an argument at the starting time. Both configurations by file or by environmental variables use the same configuration settings.

Configuration by file

At the moment of starting the agent, the configuration file complete path and filename must be given as an argument of the application. The file doesn't need to contain all settings, it needs only the settings that differ from the default.

Configuration by environmental variables

The configuration by environmental variables must be enabled for changing settings with the variables. To enable the environmental variables settings, the env_var_enabled variable must be set. Afterwards, any setting can be changed using the system, application or JVM variables. The setting names are the same for the configuration file.

Notes tags:

In the file

Notes about broker configurations:

The brokers can be define using aliases. Each broker defines by an alias in the property 'connection.brokers.aliases' will have the default configuration. If one of the configuration settings of one particular broker wants to be changed, the alias of the must be added as postfix concatenates with a ".". This, it will overwrite any default configuration. WARNING: changing the configuration of a broker will automatically create a new connection profile, ergo, it will create a new connection to the broker instead of reusing the existing ones.

def__agent__conf.cfg