Skip to main content
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.
LinkedIn
Copied!

Table of Contents

Kafka configuration options

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.

Did you find this content helpful?

0% found this useful

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us