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
Currently, the producer service maintains an internal cache where topics are lazily fetched and stored with an expiry time of 3600 seconds from the last access. However, there is an issue with state progression across all pods, leading to outdated cache entries.
To address this, we will implement an event-driven mechanism where a controller propagates entity updates (create/update/delete) to all services that maintain this cache. This will ensure that state changes are accurately reflected across all pods in real time.
Description
Currently, the producer service maintains an internal cache where topics are lazily fetched and stored with an expiry time of 3600 seconds from the last access. However, there is an issue with state progression across all pods, leading to outdated cache entries.
To address this, we will implement an event-driven mechanism where a controller propagates entity updates (create/update/delete) to all services that maintain this cache. This will ensure that state changes are accurately reflected across all pods in real time.
Acceptance Criteria
1. Event Handling in All Services
Implement an
EventHandler
in the REST layer.The event structure will be:
The
body
will benull
in case of deletion.2. Event Registration & Delivery
3. Zookeeper Integration for Event Propagation
MarkerEntity
in Zookeeper via a transactional operation.4. Efficient Event Propagation
5. Monitoring & Metrics
The text was updated successfully, but these errors were encountered: