Stabilizing Kafka Clusters in the Cloud and On-premises
Elad Eldor

#Kafka
#DataOps
#DevOps
#RAID
#JBOD
#Monitoring
#Troubleshooting
This book provides Kafka administrators, site reliability engineers, and DataOps and DevOps practitioners with a list of real production issues that can occur in Kafka clusters and how to solve them. The production issues covered are assembled into a comprehensive troubleshooting guide for those engineers who are responsible for the stability and performance of Kafka clusters in production, whether those clusters are deployed in the cloud or on-premises. This book teaches you how to detect and troubleshoot the issues, and eventually how to prevent them.
Kafka stability is hard to achieve, especially in high throughput environments, and the purpose of this book is not only to make troubleshooting easier, but also to prevent production issues from occurring in the first place. The guidance in this book is drawn from the author's years of experience in helping clients and internal customers diagnose and resolve knotty production problems and stabilize their Kafka environments. The book is organized into recipe-style troubleshooting checklists that field engineers can easily follow when under pressure to fix an unstable cluster. This is the book you will want by your side when the stakes are high, and your job is on the line.
What You Will Learn
Table of Contents
Chapter 1: Storage Usage in Kafka: Challenges, Strategies, and Best Practices
Chapter 2: Strategies for Aggregation, Data Cardinality, and Batching
Chapter 3: Understanding and Addressing Partition Skew in Kafka
Chapter 4: Dealing with Skewed and Lost Leaders
Chapter 5: CPU Saturation in Kafka: Causes, Consequences, and Solutions
Chapter 6: RAM Allocation in Kafka Clusters: Performance, Stability, and Optimization Strategies
Chapter 7: Disk I/O Overload in Kafka: Diagnosing and Overcoming Challenges
Chapter 8: Disk Configuration: RAID 10 vs.
Chapter 9: A Deep Dive Into Producer Monitoring
Chapter 10: A Deep Dive Into Consumer
Chapter 11: Stability Issues in On-Premises Kafka Data Centers
Chapter 12: Cost Reduction of Kafka Clusters
Who This Book Is For
Site reliability engineers tasked with maintaining stability of Kafka clusters, Kafka administrators who troubleshoot production issues around Kafka, DevOps and DataOps experts who are involved with provisioning Kafka (whether on-premises or in the cloud), developers of Kafka consumers and producers who wish to learn more about Kafka
About the Author
Elad Eldor is a DataOps team leader in the Grow division of Unity (formerly ironSource), working on handling stability issues, improving performance, and reducing the cost of high-scale Kafka, Druid, Presto, and Spark clusters on AWS. He has 12 years of experience as a backend software engineer and six years handling DataOps of big data Linux-based clusters.
Prior to working at Unity, Elad was a Site Reliability Engineer (SRE) at Cognyte, where he developed big data applications and handled the reliability and scalability of Spark and Kafka clusters in production. His main interests are performance tuning and cost reduction of big data clusters.









