-
Hi all, I was reading for example this: https://stackoverflow.com/questions/50621962/how-to-set-kafka-connect-connector-and-tasks-jvm-heap-size and some other articles I found about tweaking the flush sizes and other things like that when I noticed something I didn't fully understand on my java processes so I decided to come and ask. Basically I want to understand if the Strimzi is supposed to handle the java -Xms and -Xmx for me or if I should configure it myself. I noticed I have 2 connectors in different projects and it seems Strimzi is managing this because I see different values in it but I just want to be sure.
And my limits are 8Gi and 16Gi respectively which kind of seem to match (I assume the values are in byte) only a bit higher then the limits defined. Anyway if Strimzi is managing this is there any good guide I can find to try and understand from where my out of memories might be coming from? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Strimzi tries to set some values. But I do not think you can say that it will be managing this for you. It really just sets some defaults based on the resource request / limits. Given that each connector will be different and might require different settings, you should feel free to set the -Xmx / -Xms values your self instead of relying on Strimzi. You can do it in the |
Beta Was this translation helpful? Give feedback.
Strimzi tries to set some values. But I do not think you can say that it will be managing this for you. It really just sets some defaults based on the resource request / limits. Given that each connector will be different and might require different settings, you should feel free to set the -Xmx / -Xms values your self instead of relying on Strimzi. You can do it in the
KafkaConnect
custom resource.