Skip to content

Different methods of JSON deserialization in Kotlin Spring Kafka, along with various consumer implementations and event publishing tests.

Notifications You must be signed in to change notification settings

ChoiGiSung/spring-kafka-json-deserializer-in-kotlin

Repository files navigation

Different ways to deserialize json in kotlin spring kafka

In this document, we explore various methods of deserializing JSON in Kotlin Spring Kafka.

The docker directory contains Kafka Docker Compose files and Kafka topic creation scripts.

customDefaultConsumerFactory, customDeserializer, and customTypeConverter represent different approaches to implementing consumer modules.
customProducer serves as the producer responsible for publishing events. Tests are conducted to publish events.

How to run:

Execute commands within the docker directory to create containers and topics.
Run the desired consumer modules individually.
Publish events using the Producer Test.
Verify whether each consumer successfully deserializes the events.

About

Different methods of JSON deserialization in Kotlin Spring Kafka, along with various consumer implementations and event publishing tests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages