# 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](#localizacao-do-arquivo)
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`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.griaule.com/gbs/en/gbds-configuration/notifierconf.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
