noob-se7en commented on code in PR #17089:
URL: https://github.com/apache/pinot/pull/17089#discussion_r2486400031
##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/realtime/RealtimeTableDataManager.java:
##########
@@ -248,6 +259,23 @@ public boolean getAsBoolean() {
}
}
+ @VisibleForTesting
+ protected Cache<String, StreamMetadataProvider>
getStreamMetadataProviderCache() {
+ return CacheBuilder.newBuilder()
+ .expireAfterAccess(STREAM_METADATA_PROVIDER_CACHE_TTL)
+ .removalListener((RemovalNotification<String, StreamMetadataProvider>
notification) -> {
+ StreamMetadataProvider provider = notification.getValue();
Review Comment:
right now not handling that case. Will look into it we encounter it I don't
see need for now.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]