-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
evitaDB now provides CDC mechanism which provides info about changed catalog, their schemas, and so on.
We want to integrate this into evitaLab to refresh cached data (catalogs, catalog schema, entity schemas).
- we need to add support for
register*Capture
methods toEvitaClient
from gRPC API - create new
DataCacheRefresher
class that will be initializes afterEvitaClient
inDatabaseDriverModuleRegistrar.register
and handle that the evitaLab has always active CDC stream of new system captures and will invalidate appropriate caches for the incoming captures.
- the refreshes cannot crash evitaLab if stream cannot be created, it should show one warning notification and try again later
- if the stream is closed somehow, it should try to open new stream (but there must be exactly one opened stream - no more, so that we don't waste resources)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request