[ 
https://issues.apache.org/jira/browse/KAFKA-14912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754089#comment-17754089
 ] 

hudeqi commented on KAFKA-14912:
--------------------------------

Hi, [~divijvaidya] Caffeine does support “a max size by bytes”. If I use the 
existing configuration "remote.log.index.file.cache.total.size.bytes", it will 
be troublesome for me to calculate the size for each Entry , but if it is “max 
size by entry”, it will be easier to implement. How do you think this should be 
implemented?

> Introduce a configuration for remote index cache size, preferably a dynamic 
> config.
> -----------------------------------------------------------------------------------
>
>                 Key: KAFKA-14912
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14912
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Satish Duggana
>            Assignee: hudeqi
>            Priority: Major
>
> Context: We need to make the 1024 value here [1] as dynamically configurable
> [1] 
> https://github.com/apache/kafka/blob/8d24716f27b307da79a819487aefb8dec79b4ca8/storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java#L119



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to