Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Go advanced projects, Kafka, PostgreSQL
·
Module 11
Building the CLI and Deploying the System
1
CLI Topic Management with Cobra
Set up a CLI application structure using a library like Cobra and implement a topic management command.
Producing Messages to a Topic
Implement the 'produce' command in the CLI to send messages to a topic.
3
Consuming Messages with the CLI
Implement the 'consume' command in the CLI to read messages from a topic.
4
Exposing Metrics with Prometheus Client Library
Integrate the Prometheus client library to expose a /metrics HTTP endpoint on the broker.
Monitoring with Prometheus: Counters & Gauges
Implement Prometheus counters and gauges to track message rates, active connections, and consumer lag.
6
End-to-End Testing Kafka Consumer Groups
Write an end-to-end test validating the full produce-consume cycle with consumer groups.
7
Containerizing the Broker with Docker Compose
Containerize the broker and its dependencies using Docker and Docker Compose for local deployment.
End of course,
Back to course
Previous module
Performance Analysis and Optimization
Next module