Skip to content

tonsV2/spring-kotlin-kafka

Repository files navigation

Motivation

Simple Kafka "Hello world" application using Spring Boot 2.0 with Kotlin

Launch (and build) application

docker-compose up

Execute http request (using httpie)

http :8080/person/john

Alternative manual approach

Run Kafka

docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=localhost --env ADVERTISED_PORT=9092 spotify/kafka

Run the producer

./gradlew producer:bootRun

Run the consumer

./gradlew consumer:bootRun

Inspiration/Credits

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published