This chapter covers:
- Administration-client options
- Monitoring the cluster with JMX
- Logging management for our application logs
- Cluster management tool options
- Using interceptors with headers
We have spent time focused on brokers in depth in chapter 6 as well as other client concerns throughout the earlier chapters. But even using some of the best practices discussed, your environment might not always fit the ideal situation. The best way to keep your cluster moving along is to get to know your specific data as well as monitoring what is actually going on in your clusters. Even though running Kafka is not exactly like writing your own Java applications per se, it still requires monitoring log files and looking at what is happening at runtime with your workloads.
So far, we have taken almost all of the actions that have changed our cluster with the command line tools that are bundled with Kafka. Overall, you will likely need to be comfortable with a shell environment to set up and install Kafka. But there are some useful options that can help if you want to branch out from these provided scripts.