Skip to content

DenilssonMontoya/kafka-consumer-spring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringKafka.png

Kafka consumer example

Project to consume messages from a Kafka topic using spring.

Prerequisites

Run Locally

Execute following commands to build and run the Kafka-producer project.

# Build project & install dependencies
./gradlew build

# Run project 
./gradlew bootRun

Testing

This project will be listening to kafka topic called kfk-message-topic, any message sent to this topic will be read and processed by this consumer.

The message body will currently be displayed in the console, but it can also be saved in a database, delivered over email, or used in any other way that is necessary.

console01.png

About

Kafka consumer using Spring + Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages