You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Kenchugundu Akash <ke...@gmail.com> on 2024/11/11 10:58:19 UTC
Assistance Needed: High Memory Usage with Large Number of Topics in Kafka
Hi,
I’m experiencing significant storage and memory challenges with our Kafka
server. Currently, each Kafka topic occupies around 20MB of memory at
runtime. When scaling to 1,000 topics, this setup consumes nearly 20GB of
memory, which is becoming unsustainable as our data grows.
Could you please help by suggesting any configurations or optimizations to
reduce memory usage per topic? I've considered adjusting the
compression.type setting to reduce disk storage, but my main issue is with
the in-memory usage.
If there are any other settings or best practices to optimize Kafka for
high-topic environments, I'd appreciate your guidance.
Thank you in advance for your help.
Best regards,
[Akash K]