Notifier Config
Configuration File
GBDS Notifier configuration parameters are defined in a configuration file, containing all parameters and its respective values. Omitted parameters assume their default values. This section describes the properties of the configuration file.
File Location
The configuration file is /etc/griaule/conf/notifier.properties
.
File Properties
The configuration file must follow some requirements in order to be correctly interpreted by GBDS. These requirements are:
The file name and location must be exactly as mentioned in section 1.1;
There must be exactly one configuration parameter per line;
Each configuration parameter must be in the form
{parameter}={value}
, without line breaks;Each value must be separated by a comma when attributed to a single parameter.
Configuration Parameters
This section describes each GBDS Notifier configuration parameter that can be listed in the configuration file, and how they affect the 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 hostname and port through which zookeeper servers can be found. Each value must be separated by commas if more than one is available.
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 for the notifications to 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 addresses and must reflect the Kafka configurations.
Default value:
<hostname>:6667
gbscluster.notifier.nthreads
This parameter defines the number of threads to be used for consuming the notification queue.
Default value:
6
gbscluster.notifier.retrydelay
This parameter defines the time interval to retry sending a notification.
Default value:
3000
Last updated