Skip to content

FayeAlangi/SimpleKafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Kafka Producer and Consumer Application

This repository contains a simple implementation of a Kafka producer and consumer in Java.

Introduction

This project demonstrates a basic implementation of a Kafka producer and consumer using Springboot and Java. The producer publishes a message "hello kafka!" to a Kafka topic, while the consumer reads and processes the message.

Setup

  • Download Kafka Binary from Kafka website.

  • Set up Kafka bins in the environment variable

  • Run the Zookeeper and Kafka server in two separate terminals:

    • zookeeper-server-start.sh config/zookeeper.properties
    • kafka-server-start.sh config/server.properties

Kafka Binary : kafka_2.13-3.7.0

Installation

Clone this repository:

    git clone https://github.com/FayeAlangi/SimpleKafka.git

Usage

  1. Start the producer:

    Run the Application
  2. Start the consumer:

    [command to start the consumer]

License

This project is licensed under the [License Name] License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages