Skip to content

linhkikuchi/kafka-producer-consumer-java-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 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 -jar kafka-producer-consumer-1.0-SNAPSHOT.jar producer broker:port

To run program as consumer

java -jar kafka-producer-consumer-1.0-SNAPSHOT.jar consumer broker:port

About

A java example program for Producer/Consumer in a Kafka cluster

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages