Support Questions

Find answers, ask questions, and share your expertise

What is the appropriate GC for Kafka?

avatar
Super Guru

G1 vs CMS?

Article from @Vedant Jain seems to indicate G1 in Java/JVM section:

https://community.hortonworks.com/articles/49789/kafka-best-practices.html (Java/JVM tuning section)

LinkedIn Engineering concludes that CMS: https://engineering.linkedin.com/garbage-collection/garbage-collection-optimization-high-throughput-...

Opinions and reasons? What is your field experience?

1 ACCEPTED SOLUTION

avatar
Contributor

LinkedIn article is an old article. Kafka documentaion recommends G1 collector.

http://kafka.apache.org/documentation.html#java

View solution in original post

1 REPLY 1

avatar
Contributor

LinkedIn article is an old article. Kafka documentaion recommends G1 collector.

http://kafka.apache.org/documentation.html#java