Skip to content

Commit 4527a60

Browse files
committed
feat: connector multidc on alert engine connection
1 parent 51e3e48 commit 4527a60

File tree

2 files changed

+104
-0
lines changed

2 files changed

+104
-0
lines changed

pages/ae/am/am-installation.adoc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,55 @@ alerts:
8686

8787
CAUTION: By default, to keep the same behavior of the previous version, events are sent over a websocket connection.
8888
The 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.

pages/ae/apim/apim-installation.adoc

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,55 @@ httpClient:
125125
username: user
126126
password: secret
127127
```
128+
129+
=== Connect to multiple engines
130+
131+
Let's say you have to connect to multiple Alert Engines in order to propagate the triggers across multiple clusters.
132+
The connector lets you do this:
133+
134+
```yaml
135+
alerts:
136+
alert-engine:
137+
enabled: true
138+
engines:
139+
cluster1:
140+
endpoints:
141+
- https://localhost:8072/
142+
security:
143+
username: admin
144+
password: adminadmin
145+
#ssl:
146+
# keystore:
147+
# type: jks # Supports jks, pem, pkcs12
148+
# path: /path/to/keystore.jks
149+
# password: changeit
150+
# truststore:
151+
# type: jks # Supports jks, pem, pkcs12
152+
# path: /path/to/truststore.jks
153+
# password: changeit
154+
default:
155+
endpoints:
156+
- http://localhost:8073/
157+
security:
158+
username: admin
159+
password: adminadmin
160+
#ssl:
161+
# keystore:
162+
# type: pem # Supports jks, pem, pkcs12
163+
# certs:
164+
# - /path/to/cert.pem
165+
# - /path/to/cert2.pem
166+
# keys:
167+
# - /path/to/key.pem
168+
# - /path/to/key2.pem
169+
# truststore:
170+
# type: pem # Supports jks, pem, pkcs12
171+
# path: /path/to/truststore.pem
172+
```
173+
174+
You can add as many `alerts.alert-engine.engines.<cluster-name>` as possible to connect to your Alert Engines.
175+
176+
NOTE: You will only be able to connect to multiple clusters to send triggers but this not the case on the gateway to send
177+
events, the latter being handled by `alerts.alert-engine.engines.default`.
178+
179+
WARNING: `alerts.alert-engine.engines.default` is a mandatory cluster to add in both management-api and gateway configuration.

0 commit comments

Comments
 (0)