-
1. Re: Changes to how "Situations" are stored in RTGov
imckinle May 2, 2014 7:56 AM (in response to objectiser)Currently Sitaution Storage is done by listening on the Situation event (EPN). If i understand your proposal correctly this would mean
- ElasticSearchSituation EPN is removed. We no longer persist based on the situation event
- Storage of situation is perform similarly to how activityStore would work. persistence on creation
- The storage implementation (jpa, ES). Is not controlled via central config.
This might create issues
- Switching to a jpa-Store based implementation for situations and activities means any kibana based interface would not have data.
Currently the epn based approach means we will alway have data in ES
-
2. Re: Changes to how "Situations" are stored in RTGov
objectiser May 2, 2014 8:51 AM (in response to imckinle)ivan mckinley wrote:
- ElasticSearchSituation EPN is removed. We no longer persist based on the situation event
- Storage of situation is perform similarly to how activityStore would work. persistence on creation
- The storage implementation (jpa, ES). Is not controlled via central config.
No, I don't think the mechanism would change - we would still have an event processor subscribing for situation events, and then storing them in the SituationStore. This has the benefit that many EPN's can create situations, but they are only persisted in one place.
The configuration of the SituationStore implementation would be central.
This might create issues
- Switching to a jpa-Store based implementation for situations and activities means any kibana based interface would not have data.
Currently the epn based approach means we will alway have data in ES
The current default Kibana dashboard is only based on responsetime information - so if a user decided they wanted JPA stores for the activity and situation data, then it should still work fine - it just means they would have access to less information to be able to analyse other aspects.
Its also possible they could use JPA store implementations, but then use the ES Event Processor to store activity and situation data - if they don't want to rely on ElasticSearch as their primary persistence store for such information.