Day 13 of 14 30 minLagSizingKRaft
Learn what it takes to run Kafka in production. Measure and fix consumer lag, choose partition counts, watch the metrics that matter, understand KRaft (Kafka without ZooKeeper), secure the cluster, and decide between running it yourself and a managed service.
By the end of today you can
- Measure consumer lag and explain how to reduce it
- Choose a sensible number of partitions for a topic
- Name the key metrics to monitor and alert on
- Explain what KRaft controllers do
- Describe the basics of securing a cluster, and managed alternatives
What's inside
- 7 sections
- 3 diagrams and mind maps
- 2 code examples you can run
- 5-question quiz
- 1Consumer lag
- 2Choosing the number of partitions
- 3What to monitor
- 4KRaft: Kafka without ZooKeeper
- 5Security basics
- 6Run it yourself, or use a managed service?
- 7Production defaults cheat sheet
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free