Skip to content

lunkaleung/Kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka

Description

To develop Producer and Consumer application in Kafka data framework with Kafka Java API.

To get started with installing and configuring Kafka on local system and create a simple topic and write Java program for Producer and Consumer.

Architecture

alt text

Installation

Use Software Project Management and Comprehension Tool Maven mvn to build the project.

Usage

Compile

mvn clean compile assembly:single.

Consumer Execution

java -cp target/KafkaAPIClient-1.0-SNAPSHOT-jar-with-dependencies.jar com.spnotes.kafka.simple.Consumer [TOPIC_NAME] [GROUP_NAME]

Producer Execution

java -cp target/KafkaAPIClient-1.0-SNAPSHOT-jar-with-dependencies.jar com.spnotes.kafka.simple.Producer [TOPIC_NAME]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages