You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anshar now supports being started in different _modes_ to allow separate instances for each datatype - both for reducing the necessary data-synchronization between instances, and making it possible to scale parts of the application separately.
3
+
4
+
Possible modes are PROXY, DATA_ET, DATA_VM, DATA_SX (from enum `AppMode`)
5
+
6
+
Recommended (i.e. tested) usage is either all modes in one application, or separate instances for each mode.
7
+
8
+
## PROXY
9
+
- Subscription-management.
10
+
- Starts/stops subscriptions
11
+
- Monitors heartbeats/deliveries from external data-producers, restarts subscriptions when necessary
12
+
- Fetches data from Polling/Fetched delivery-subscriptions
13
+
- Receives all incoming SIRI-data
14
+
- Applies mapping-rules (including lists of unmapped ids)
15
+
- Manages profile-validator
16
+
- Publishes processed data to pubsub-topic
17
+
- Forwards client-requests to correct service based on the data-type requested.
18
+
- Forwards SubscriptionRequests from external clients to correct service
19
+
- Does not keep/hold any actual data
20
+
- Requires config of baseUrls to data-handlers
21
+
-`anshar.data.handler.baseurl.et`, `-.vm`, `-.sx`
22
+
23
+
## DATA_ET, DATA_VM, DATA_SX
24
+
- Each mode handles its own datatype
25
+
- Reads processed data from related pubsub-topic (as published from PROXY)
26
+
- Adds updated objects to internal maps (holds all data in memory)
0 commit comments