Key broker metrics
📖 Scenario: You are working with a Kafka cluster and want to monitor key broker metrics to ensure the system is running smoothly.
🎯 Goal: Build a simple program that collects and displays key Kafka broker metrics such as bytes in/out per second and request rates.
📋 What You'll Learn
Create a dictionary with exact metric names and initial values
Add a configuration variable for the minimum threshold to alert
Use a loop to filter metrics above the threshold
Print the filtered metrics
💡 Why This Matters
🌍 Real World
Monitoring Kafka broker metrics helps keep the system healthy and detect issues early.
💼 Career
Understanding how to filter and display key metrics is useful for roles in DevOps, site reliability engineering, and backend development.
Progress0 / 4 steps