Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Kafka configuration options

Updated on September 10, 2021

When you configure Kafka, you must consider several key properties.

Kafka heap size:

  • KAFKA_HEAP_OPTS - The Kafka-broker JVM is set to 1 Gb by default.
  • KAFKA_JVM_PERFORMANCE_OPTS - JVM tuning.

General settings in the server.properties file:

  • num.io.threads - Ensure that the value of this setting is greater than or equal to the number of disks that are dedicated for Kafka.
  • num.network.threads - Ensure that the value of this setting is adjusted based on the number of producers, consumers, and the replication factor.

 

To view the main outline for this article, see Kafka as a streaming service.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us