Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marttp/spring-webflux-reactor-kafka-template
Spring WebFlux template project contain Reactor Kafka sample setup with Testcontainers
https://github.com/marttp/spring-webflux-reactor-kafka-template
Last synced: about 24 hours ago
JSON representation
Spring WebFlux template project contain Reactor Kafka sample setup with Testcontainers
- Host: GitHub
- URL: https://github.com/marttp/spring-webflux-reactor-kafka-template
- Owner: marttp
- License: mit
- Created: 2023-06-24T17:22:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-22T00:52:38.000Z (3 months ago)
- Last Synced: 2024-11-06T00:06:56.694Z (about 2 months ago)
- Language: Kotlin
- Size: 75.2 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring WebFlux + Reactor Kafka + Kotlin
Spring WebFlux template project contains Reactor Kafka sample setup with Testcontainers.Programming Language: Kotlin
## Pre-requisites
- JDK 21+
- Docker or Podman + Podman Compose## How to run
This is the template project, so you can use it as a base for your project.1. Actually, you can start by running docker compose and start application
```shell
docker compose up -d
```
2. If you work with podman, you can use podman compose
```shell
podman image pull confluentinc/cp-zookeeper:6.0.14
podman image pull confluentinc/cp-kafka:6.0.14
podman image pull provectuslabs/kafka-ui
podman-compose up -d
```
3. Run application
```shell
./gradlew bootRun
```## Relate information
- [Kotlin](https://developer.android.com/courses/pathways/kotlin-for-java)
- [Spring WebFlux](https://docs.spring.io/spring-framework/reference/web/webflux.html)
- [Reactor Kafka](https://projectreactor.io/docs/kafka/release/reference/index.html)