Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adrigrillo/spring-boot-kafka
Sample project with spring boot cloud stream and kafka. Using a producer and a consumer
https://github.com/adrigrillo/spring-boot-kafka
kafka spring spring-boot spring-cloud-microservice spring-cloud-stream
Last synced: about 1 month ago
JSON representation
Sample project with spring boot cloud stream and kafka. Using a producer and a consumer
- Host: GitHub
- URL: https://github.com/adrigrillo/spring-boot-kafka
- Owner: adrigrillo
- License: mit
- Created: 2018-03-29T18:46:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-29T19:05:29.000Z (almost 7 years ago)
- Last Synced: 2024-10-30T17:11:52.600Z (3 months ago)
- Topics: kafka, spring, spring-boot, spring-cloud-microservice, spring-cloud-stream
- Language: Java
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SPRING CLOUD STREAM AND KAFKA
Sample project using [Spring Cloud Stream](https://cloud.spring.io/spring-cloud-stream/) with
[Kafka](https://kafka.apache.org). It consists in a message producer, that generates a message when a get petition is
made, and a consumer, that log the received message.To run this project you need to run start Kafka, following [this instructions](https://kafka.apache.org/quickstart),
and run the next commands:```bash
# Start the producer
cd producer
mvn clean spring-boot:run# Start the consumer
cd receiver
mvn clean spring-boot:run
```Once started, a GET petition will be needed to generate a message. An petition
example is:```http request
http://localhost:8080/send?message=hello
```