Kafka Levers
Learn how to adjust Kafka's key configuration levers, including replication factor, min.insync.replicas, and acks. Understand the trade-offs between availability, durability, and performance, and how different settings impact fault tolerance and data loss prevention in distributed messaging systems.
We'll cover the following...
We'll cover the following...
Kafka provides many levers to adjust the way it operates depending on the application’s needs.
Tuning levers
The levers should be tuned carefully depending on requirements around availability, durability, and performance. For example, the user can control:
- The replication factor of a topic
- The minimum size of the ISR set (
min.insync.replicas) - The number of replicas from the ISR set that needs to acknowledge a record before it’s committed (acks)