GBDS Notifier

Configuration File

The Notifier's configuration parameters are defined in a configuration file containing all parameters and their respective values. Omitted parameters assume default values. This section describes the properties of the configuration file.

File Location

The configuration file is located at: /etc/griaule/conf/notifier.properties.

File Properties

The configuration file must follow some requirements to be correctly interpreted by the GBDS. These requirements are:

  1. The file name and its location must be exactly the same as those mentioned in the section File Location

  2. There must be exactly one configuration parameter per line.

  3. Each configuration parameter must have the form {parameter}={value}, without line breaks;

  4. Each value must be separated by a comma when assigned to a single parameter.

Configuration Parameters

This section describes each of the Notifier configuration parameters that may be listed in the configuration file and how they affect system operation.

gbscluster.notifier.active

This parameter defines whether the Notifier is active or not.

Default Value:

true

Possible values:

  • true

  • false

gbds.cluster.zookeeper.quorum

This parameter defines the hostname and the port where the zookeeper server can be found. Each value must be separated by commas if there is more than one.

Default Value:

<hostname>:<port>

gbscluster.notifier.method

This parameter defines the methods to be notified, separated by commas.

Default Value:

enroll,search,treatanomaly,qualityanalysis

Possible values:

  • assignanomaly

  • authentication

  • countanomalies

  • delete

  • enroll

  • externalauthentication

  • findanomalies

  • getanomaly

  • getperson

  • getresult

  • transactiontransaction

  • listanomalies

  • peoplefilter

  • search

  • treatanomaly

  • trustedenroll

  • unassignanomaly

  • removefromreference

  • addtoreference

gbscluster.notifier.endpoints

This parameter defines the destination address to which the notification will be sent.

Default Value:

id::None->url::http://<address>:<port>

gbscluster.notifier.enable_auth

This parameter defines whether authentication is required for communication with the endpoint.

Default Value:

true

Possible values:

  • true

  • false

gbscluster.kafka.broker

This parameter defines the Kafka Broker address and must be reflected in the Kafka configurations.

Default Value:

<hostname>:6667

gbscluster.notifier.nthreads

This parameter defines the number of threads that should be used to consume the notification queue.

Default Value:

6

gbscluster.notifier.retrydelay

This parameter defines the time interval for retrying to resend a notification.

Default Value:

3000

Last updated

Was this helpful?