Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

A simple Apache Kafka Producer / Consumer example, build using Maven

Notifications You must be signed in to change notification settings

mnoumanshahzad/kafka-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-kafka-example

A simple Apache Kafka Producer / Consumer example, built using Apache Maven.

Download the Apache Kafka 2.11 tgz file from the official website.

Start the "zookeeper" server using [bin/zookeeper-server-start.sh config/zookeeper.properties &] [Default Port: 2181]

Start the "kafka" server using [bin/kafka-server-start.sh config/server.properties] [Default Port: 9092]

Create a Apache Kafka topic using [bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partition 1 --topic nouman-says ]

Run the 'Producer' or 'Consumer' one after the other using the 'Run' class

About

A simple Apache Kafka Producer / Consumer example, build using Maven

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages