For past few months I have been working with many kafka production issues and I am still trying to learn many new things about it. But while working on any kafka issue, you always want some commands to be very handy and just one click away in a file or in a blog.
Here are few kafka commands that may be very helpful to you while learning or solving any of your kafka issues.
Here I would be referring KAFKA_HOME as your path to kafka home.