Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 759 Bytes

File metadata and controls

12 lines (10 loc) · 759 Bytes

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.