@@ -86,3 +86,55 @@ alerts:
8686
8787CAUTION: By default, to keep the same behavior of the previous version, events are sent over a websocket connection.
8888The default behavior will switch to http in a next future version.
89+
90+ === Connect to multiple engines
91+
92+ Let's say you have to connect to multiple Alert Engines in order to propagate the triggers across multiple clusters.
93+ The connector lets you do this:
94+
95+ ```yaml
96+ alerts:
97+ alert-engine:
98+ enabled: true
99+ engines:
100+ cluster1:
101+ endpoints:
102+ - https://localhost:8072/
103+ security:
104+ username: admin
105+ password: adminadmin
106+ #ssl:
107+ # keystore:
108+ # type: jks # Supports jks, pem, pkcs12
109+ # path: /path/to/keystore.jks
110+ # password: changeit
111+ # truststore:
112+ # type: jks # Supports jks, pem, pkcs12
113+ # path: /path/to/truststore.jks
114+ # password: changeit
115+ default:
116+ endpoints:
117+ - http://localhost:8073/
118+ security:
119+ username: admin
120+ password: adminadmin
121+ #ssl:
122+ # keystore:
123+ # type: pem # Supports jks, pem, pkcs12
124+ # certs:
125+ # - /path/to/cert.pem
126+ # - /path/to/cert2.pem
127+ # keys:
128+ # - /path/to/key.pem
129+ # - /path/to/key2.pem
130+ # truststore:
131+ # type: pem # Supports jks, pem, pkcs12
132+ # path: /path/to/truststore.pem
133+ ```
134+
135+ You can add as many `alerts.alert-engine.engines.<cluster-name>` as possible to connect to your Alert Engines.
136+
137+ NOTE: You will only be able to connect to multiple clusters to send triggers but this not the case on the gateway to send
138+ events, the latter being handled by `alerts.alert-engine.engines.default`.
139+
140+ WARNING: `alerts.alert-engine.engines.default` is a mandatory cluster to add in both management-api and gateway configuration.
0 commit comments