Reason for setting max heap size
in Strimzi
#9985
Replies: 1 comment 3 replies
-
I guess the short answer is best practices. Kafka itself does not require too much heap memory (well, I guess The general idea is that Kafka does not make any good use of more than 5Gi JVM and the rest can be left to the page cache. So you can normally see brokers with e.g. 64Gi of memory but with having only a few Gi for the heap. I'm quite sure someone might say that it doesn't need more than 4Gi, someone else would say 8Gi, for whatever reason we settled on 5Gi. But the basic idea is the same. That said, there always might be one or other use-case where it might be best to configure it differently. So if needed, you should be able to customize it in the custom resource. |
Beta Was this translation helpful? Give feedback.
-
What's the reason of selecting 5Gi as max
heap size
for kafka resource in Strimzi? Wouldn't it be better to bind it to container resources request or limits? For example with flags like:Related docs link
Beta Was this translation helpful? Give feedback.
All reactions