This document provides a professional overview of setting up and using Apache Kafka on Windows 10 using Windows Subsystem for Linux (WSL). It explains the environment setup, Kafka and Zookeeper configuration, creating producers and consumers, and understanding how Kafka works with a simple diagram.
1. Environment Setup
1 Install Ubuntu on Windows via WSL from Microsoft Store.
2 Install Windows Terminal for easier command-line usage.
2 Create a Kafka consumer: kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
3 Messages sent from the producer appear in the consumer window.
4. How Kafka Works
Apache Kafka is a distributed streaming platform. It uses Zookeeper to manage brokers and topics. Producers send messages to Kafka brokers, which store them in topics. Consumers subscribe to topics and read the messages. Producer Broker
5. Outcome & Benefits
Consumer By completing this setup, Apache Kafka and Zookeeper run smoothly on Windows using WSL. This allows developers to simulate real-world data streaming pipelines, test producer-consumer workflows, and prepare for production-grade deployments on Linux servers.
Conclusion
This project demonstrates how to set up Apache Kafka on Windows using WSL, configure brokers, and establish communication between producer and consumer applications. The setup showcases your ability to work with distributed systems and message streaming technologies.
Successfully installed and configured Kafka server on Ubuntu WSL, streamlining data processing workflows for real-time analytics.Did relevant work as required