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.

General settings in the file:

  • - Ensure that the value of this setting is greater than or equal to the number of disks that are dedicated for Kafka.
  • - 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.

Suggest Edit
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.