Streaming Interactive Lab Docs
Apache Kafka Visualizer • Documentation
Simulating an Append-Only Log with Consumer Groups. Watch messages append immutably to partitions while Consumer Groups rebalance partition ownership dynamically!
#Event Streaming
#Architecture
#Interactive Simulation
View Source on GitHub ↗ Apache Kafka Web Visualizer 🚀
A highly interactive, client-side browser simulation of Apache Kafka’s Partitioned Log & Consumer Group Architecture.
🎯 Features
- Immutable Append-Only Logs: Watch a Topic visually split into 3 Partitions. As the Producer streams data, watch the blocks append strictly sequentially.
- Consumer Group Rebalancing: Spawn consumers dynamically. Watch Kafka’s strict
1 Partition -> 1 Consumerrule in action! If you have 1 consumer, it reads all 3 partitions. Spawn a 2nd consumer, and watch them instantly rebalance the partition load. - Offset Tracking: Instead of deleting messages when read (like a standard RabbitMQ queue), Kafka simply increments an Offset pointer. Watch the UI pointers slide across the partition logs!
- Auto-Eviction UI: To prevent browser memory leaks, the UI visually shifts old messages out of view while keeping the logical offsets monotonically increasing, perfectly simulating log retention policies.
🚀 How to Run Locally
- Clone the repository (if you haven’t already).
- Navigate to the project directory:
cd apache-kafka/kafka-web - Install dependencies:
npm install - Start the development server:
npm run dev - Open your browser: Visit
http://localhost:5173.