:_mod-docs-content-type: ASSEMBLY

// This assembly is included in the following assemblies:
//
// using/assembly-management-tasks.adoc

[id='assembly-tuning-config-{context}']
= Tuning Kafka configuration

[role="_abstract"]
Fine-tuning the performance of your Kafka deployment involves optimizing various configuration properties according to your specific requirements.
This section provides an introduction to common configuration options available for Kafka brokers, producers, and consumers. 

While a minimum set of configurations is necessary for Kafka to function, Kafka properties allow for extensive adjustments. 
Through configuration properties, you can enhance latency, throughput, and overall efficiency, ensuring that your Kafka deployment meets the demands of your applications.

For effective tuning, take a methodical approach. 
Begin by analyzing relevant metrics to identify potential bottlenecks or areas for improvement. 
Adjust configuration parameters iteratively, monitoring the impact on performance metrics, and then refine your settings accordingly.

For more information about Apache Kafka configuration properties, see the {kafkaDoc}.

NOTE: The guidance provided here offers a starting point for tuning your Kafka deployment. 
Finding the optimal configuration depends on factors such as workload, infrastructure, and performance objectives.

== Tools that help with tuning

The following tools help with Kafka tuning:

* Cruise Control generates optimization proposals that you can use to assess and implement a cluster rebalance
* Strimzi Quotas plugin sets limits on brokers
* Rack configuration spreads broker partitions across racks and allows consumers to fetch data from the nearest replica

//Tips to optimize the performance of brokers, and producer and consumer clients
include::../../modules/managing/con-managed-broker-config-properties.adoc[leveloffset=+1]
include::../../modules/managing/con-broker-config-properties.adoc[leveloffset=+1]
include::../../modules/managing/con-producer-config-properties.adoc[leveloffset=+1]
include::../../modules/managing/con-consumer-config-properties.adoc[leveloffset=+1]
include::../../modules/configuring/con-config-high-volume-messages.adoc[leveloffset=+1]
include::../../modules/configuring/con-config-large-messages.adoc[leveloffset=+1]
