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
{{ message }}
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
A JSON file having name cep-testservicenew-testservicepathnew is created as a result of the above request.
As per my understanding of multi-tenantCepheu-CEP, it should store both configuration file and subscriptions.
But according to my observation, Cepheus-CEP stores both the configuration file but does not stores both subscription. It handles only one subscription at a time.
Whenever new configuration is uploaded to Cepheus-CEP, it first unsubscribes the previous subscription from orion and then subscribe orion with the new configuration. Which can be seen in the below logs:
Should it be concluded that the function for handling subscription needs be improved for multi-tenantcepheus-CEP so that it can handle multiple subscriptions for multiple config files?
The text was updated successfully, but these errors were encountered:
NGSI subscriptions are statefull which we considered was a really bad design decision (other pub/sub protocols like MQTT have "session" subscriptions that only lives while the connections between the two backends are "alive". So we tried to find a way to implement a subscription mechanism without having to handle persistance of the subscriptions.
This is why when the CEP always tries to unsubcribe when configuration is update and when it receives a notification for a entity it is not subscribed to anymore, it will automatically send an unsubscribe event.
I have enabled the multi-tenant profile from application.properties:
spring.profiles.active=multi-tenant
and then uploaded config file as:
A JSON file having name
cep-testservice-testservicepath
is created as a result of the above request.Then I uploaded another config file as:
A JSON file having name
cep-testservicenew-testservicepathnew
is created as a result of the above request.As per my understanding of
multi-tenant
Cepheu-CEP
, it should store bothconfiguration
file andsubscriptions
.But according to my observation, Cepheus-CEP stores both the
configuration
file but does not stores bothsubscription
. It handles only onesubscription
at a time.Whenever new configuration is uploaded to Cepheus-CEP, it first
unsubscribes
the previous subscription fromorion
and then subscribeorion
with the new configuration. Which can be seen in the below logs:Should it be concluded that the function for handling
subscription
needs be improved formulti-tenant
cepheus-CEP
so that it can handle multiple subscriptions for multiple config files?The text was updated successfully, but these errors were encountered: