Skip to content

epaitoo/springboot-kafka-realtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Springboot-kafka Realtime API Stream

Spring Boot and Apache Kafka to consume real time data changes from Wikimedia API

Features

  • Uses the Wikimedia API to stream recent changes in real-time
  • Publish events to Kafka topic
  • Consume events from Kafka topic using Spring Kafka
  • Stream events to a client (browser) using WebFlux SSE (Server-Sent Events)

Prerequisites

Getting Started

This will help get started locally amd do well to check the application.properties of each module for the kafka configurations

  • Click on the 'Clone or download' button and select 'Download Zip.'

  • At the root of the project, Build the project with Maven: mvn clean install

  • Start the Kafka producer module:

cd kafka-producer-api
mvn spring-boot:run
  • Start the Kafka consumer module:
cd ../kafka-consumer-api
mvn spring-boot:run

Releases

No releases published

Packages

No packages published

Languages