Skip to content

This is basic app to learn the architecture of Kafka with admin, Producer, Consumer and Client code.

Notifications You must be signed in to change notification settings

Abhishek765/KafKa-intro-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka

  • This is Basic Kafka App to understand the architecture of Kafka including admin, producer, consumer.

Prerequisite

Commands

  • Start Zookeper Container and expose PORT 2181.
docker run -p 2181:2181 zookeeper
  • Start Kafka Container, expose PORT 9092 and setup ENV variables.
docker run -p 9092:9092 \
-e KAFKA_ZOOKEEPER_CONNECT=<PRIVATE_IP>:2181 \
-e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://<PRIVATE_IP>:9092 \
-e KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1 \
confluentinc/cp-kafka

About

This is basic app to learn the architecture of Kafka with admin, Producer, Consumer and Client code.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published