An open API service indexing awesome lists of open source software.

https://github.com/mehmetpekdemir/spring-boot-apache-kafka

Spring Boot Apache Kafka
https://github.com/mehmetpekdemir/spring-boot-apache-kafka

apache-kafka java11 spring-boot zookeeper

Last synced: 6 months ago
JSON representation

Spring Boot Apache Kafka

Awesome Lists containing this project

README

          

# Spring Boot Apache Kafka

### Spring Boot Apache Kafka Basic Sample

### Tech Stack

```
- Java 11
- Spring Framework
- Apache Kafka
- Integration Test
```

### Requirements

For building and running the application you need :

```
- JDK 11
- Maven
- Docker
```

### Build & Run

###### Docker

```
docker-compose up
```

###### Backend

```
mvn clean install
```

```
mvn --projects your-service spring-boot:run
```

###### Request
```
curl -X POST -F 'message=Hello Mehmet' http://localhost:8080/api/v1/kafka
```