feat: consume entity change events to update cache in eds cached client#441
feat: consume entity change events to update cache in eds cached client#441kishansairam9 merged 3 commits intomainfrom
Conversation
This comment has been minimized.
This comment has been minimized.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #441 +/- ##
============================================
- Coverage 79.87% 79.50% -0.38%
Complexity 1413 1413
============================================
Files 127 127
Lines 5551 5577 +26
Branches 515 516 +1
============================================
Hits 4434 4434
- Misses 879 905 +26
Partials 238 238
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| public void shutdown() { | ||
| this.grpcChannelRegistry.shutdown(); | ||
| this.entityChangeEventListener.ifPresent( | ||
| listener -> { | ||
| try { | ||
| listener.close(); | ||
| } catch (Exception e) { | ||
|
|
||
| } | ||
| }); | ||
| } |
There was a problem hiding this comment.
This method isn't called really, but added the close for sanity
aaron-steinfeld
left a comment
There was a problem hiding this comment.
other than naming lgtm
| return Optional.empty(); | ||
| } | ||
|
|
||
| private static Deserializer<EntityChangeEventKey> getEntityChangeEventKeySerde( |
There was a problem hiding this comment.
naming - 'serde' refers to serializer/deserializer, when we lump both together. Given you're only working with deserialization here the naming should be adjusted.
There was a problem hiding this comment.
nit - method name too
This comment has been minimized.
This comment has been minimized.
| return Optional.empty(); | ||
| } | ||
|
|
||
| private static Deserializer<EntityChangeEventKey> getEntityChangeEventKeySerde( |
There was a problem hiding this comment.
nit - method name too
No description provided.