Skip to content

ccoltx/spring-boot-kafka

Repository files navigation

spring-boot-kafka

Apache License 2 Build Status

Welcome to my sample Spring Boot Kafka project. This project contains various producer and subscriber scenarios, detailed below.

Scenarios

String Values

Kafka publish and consume string values.

JSON Value

Kafka publish and consume JSON values. Standard configuration.

JSON Versioning

Kafka publish and consume JSON values. Objects are versioned, that is, the Producer sends V1 and V2, and a single Consumer can handle both versions.

No Type ID

Kafka publish and consume JSON values. Objects are versioned, that is, the Producer sends V1 and V2, and a single Consumer can handle both versions. However, the following property spring.json.add.type.headers=false is configured, which disables the Producer from sending the TYPE_ID of the serialized object. The consumer does not know how to deserialize the value.

About

Sample project for Spring Boot Kafka

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages