November 3, 2025
Compare Kafka topic deletion with retention settings, including safe commands for removing topics or aging out old data.
Unlock the power of Apache Kafka with this comprehensive command-line interface (CLI) reference guide. Learn essential Kafka commands for managing topics (`kafka-topics.sh`), sending messages (`kafka-console-producer.sh`), consuming data (`kafka-console-consumer.sh`), and inspecting consumer groups (`kafka-consumer-groups.sh`). This guide details practical use cases, arguments, and best practices for effective Kafka administration and troubleshooting.
Master the art of troubleshooting Kafka consumer lag using powerful console commands. This comprehensive guide walks you through diagnosing lag with `kafka-consumer-groups.sh` (and legacy `consumer-offset-checker.sh`), interpreting their outputs, and effectively resetting consumer offsets to bring applications back in sync. Learn best practices, understand the implications of offset resets, and ensure your Kafka pipelines remain efficient and reliable. Practical examples and actionable steps make this an indispensable resource for Kafka operators and developers.
Use Kafka CLI commands to check topic replication, consumer lag, broker API status, and basic cluster health during incidents.
Learn how to create, list, describe, alter, and delete Kafka topics with kafka-topics.sh from the command line.