Skip to content

iglezouton/kafka-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache-Kafka-Producer-Consumer-Example

Requirement

  • maven
  • java 1.8

To build the jar file

mvn clean package

To run the program as producer

java -cp kafka-example-1.0-SNAPSHOT-jar-with-dependencies.jar BasicProducer

To run program as consumer

java -cp kafka-example-1.0-SNAPSHOT-jar-with-dependencies.jar BasicConsumer

About

Basic Kafka Producer and Consumer in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages