kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eno Thereska <eno.there...@gmail.com>
Subject Re: Kafka Streams: Is it possible to set heap size for the JVMs running Kafka Streams?
Date Thu, 06 Apr 2017 23:23:54 GMT
Hi Tianji,

Yes, with some caveats. First, to set the heap size of the JVM, you can treat it just like
any other Java program, e.g., see http://stackoverflow.com/questions/27681511/how-do-i-set-the-java-options-for-kafka
(the answer that starts with "You can pass java parameters from command line". 

For a guideline on stream-specific setting see this thread: https://groups.google.com/forum/?pli=1#!searchin/confluent-platform/heap$20size$20streams%7Csort:relevance/confluent-platform/jazg8f-qn0M/hulJwk60AAAJ

One caveat is that RocksDb uses off-heap memory, but that can also be tuned.


> On 6 Apr 2017, at 14:23, Tianji Li <skyahead@gmail.com> wrote:
> If so, how to?
> Thanks
> Tianji

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message