Skip to content

Project that demonstrates how to use Kafka with Schema Registry using Spring Boot

Notifications You must be signed in to change notification settings

ideasbucketlabs/kafka-message-with-schema-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka Schema Registry with Spring Boot

This project demonstrates how to integrate Apache Kafka with the Confluent Schema Registry using Spring Boot, publishing and consuming structured messages in JSON Schema format.

It uses:

  • Spring Boot 3.x
  • Apache Kafka
  • Confluent Schema Registry (7.x)
  • JSON Schema with Confluent's serializers
  • Java 21

🔧 Features

  • ✅ JSON Schema registration and validation via Confluent Schema Registry
  • ✅ Spring Kafka Producer and Consumer
  • ✅ KafkaTemplate integration with schema-aware serialization
  • ✅ Minimal configuration with application.yaml
  • ✅ Docker Compose to spin up Kafka and Schema Registry locally

🚀 Getting Started

1. Clone the project

git clone https://github.com/your-username/kafka-schema-spring-boot.git
cd kafka-schema-spring-boot

About

Project that demonstrates how to use Kafka with Schema Registry using Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages