Master DevOps Tools & Best Practices - DevOps Knowledge Hub Master DevOps Tools & Best Practices - DevOps Knowledge Hub
NginxRedisMySQLPostgreSQL
More
MongoDBElasticsearchDockerKubernetesGitJenkinsRabbitMQKafkaAnsibleLinux System AdministrationAWSSystemdSSHBash Scripting
Master DevOps Tools & Best Practices - DevOps Knowledge Hub › Kafka› Common Commands

November 3, 2025

Comparing Kafka Topic Deletion vs. Retention Policy Commands

Explore the critical differences between Kafka topic deletion and retention policies. This comprehensive guide details the `kafka-topics.sh --delete` command for immediate removal of entire topics versus configuring `retention.ms` and `retention.bytes` for automated, time or size-based data lifecycle management. Learn how each mechanism works, examine practical command examples, and understand their unique use cases, advantages, and best practices. Master Kafka data management to optimize storage, maintain data integrity, and ensure efficient cluster operations.

  • Nov 3, 2025

    Understanding Kafka Command Line Tools: CLI Reference Guide

    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.

  • Nov 3, 2025

    Troubleshooting Common Kafka Consumer Lag Using Console Commands

    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.

  • Nov 3, 2025

    Best Practices for Monitoring Kafka Health with Built-in Commands

    This article provides expert guidance on using Kafka's powerful, yet often overlooked, built-in command-line tools for rapid health assessment. Learn how to quickly check broker status, identify under-replicated partitions (URP), monitor critical consumer lag using `kafka-consumer-groups.sh`, and diagnose resource utilization. Master these essential practices and commands—like `kafka-topics.sh --describe`—to ensure robust cluster performance, prevent costly downtime, and maintain the integrity of your distributed event streams.

  • Nov 3, 2025

    How to Create and Manage Kafka Topics Using Command Line

    This expert guide provides a comprehensive, step-by-step tutorial on managing Kafka topics exclusively through the command line interface (CLI). Learn the essential commands using the `kafka-topics.sh` utility for crucial administrative tasks: creating topics with defined partitions and replication factors, verifying configurations via description, safely increasing partition counts, and performing topic deletion. Master these actionable commands to ensure robust and efficient Kafka cluster administration.

Your comprehensive guide to Nginx, Redis, Docker, Kubernetes, and dozens of essential DevOps tools. Find configurations, optimization tips, troubleshooting guides, and common commands all in one place.

Terms of Service Privacy Policy © 2026 Master DevOps Tools & Best Practices - DevOps Knowledge Hub