Introduction
This chapter covers two important themes: monitoring and security. Knowing whether a Kafka cluster is working correctly in production is critical. Sometimes, just knowing that the cluster is up is enough, but checking throughput and latencies is also important. Kafka exposes important statistics for monitoring purposes. The first part of the chapter talks about various statistics and how they are exposed, as well as how to monitor them with tools such as Graphite and Ganglia.
The second part of the chapter is about security: in a nutshell, how to implement SSL authentication, SASL/Kerberos authentication, and SASL/plain authentication.