https://github.com/soumyadip007/kafka-producer-using-spring-boot-rest-and-microservices
Apache Kafka is an open-source stream-processing software platform developed by LinkedIn and donated to the Apache Software Foundation, written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds, Kafka works well as a replacement for a more traditional message broker.
https://github.com/soumyadip007/kafka-producer-using-spring-boot-rest-and-microservices
java kafka log lombok-maven message microservices monitor producer rest-api springboot
Last synced: 2 months ago
JSON representation
Apache Kafka is an open-source stream-processing software platform developed by LinkedIn and donated to the Apache Software Foundation, written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds, Kafka works well as a replacement for a more traditional message broker.
- Host: GitHub
- URL: https://github.com/soumyadip007/kafka-producer-using-spring-boot-rest-and-microservices
- Owner: soumyadip007
- License: apache-2.0
- Created: 2020-05-23T16:26:19.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-26T06:20:26.000Z (almost 5 years ago)
- Last Synced: 2025-01-06T00:13:25.383Z (4 months ago)
- Topics: java, kafka, log, lombok-maven, message, microservices, monitor, producer, rest-api, springboot
- Language: Java
- Homepage:
- Size: 84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kafka-Producer-using-Spring-Boot-Rest-and-Microservices
# Apache Kafka
Apache Kafka is an open-source stream-processing software platform developed by LinkedIn and donated to the Apache Software Foundation, written in Scala and Java. The project aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds, Kafka works well as a replacement for a more traditional message broker.
This Project covers how to use Spring Boot with Spring Kafka to Publish JSON/String message to a Kafka topic## Start Zookeeper
- `bin/zookeeper-server-start.sh config/zookeeper.properties`## Start Kafka Server
- `bin/kafka-server-start.sh config/server.properties`## Create Kafka Topic
- `bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic Kafka_Example`## Consume from the Kafka Topic via Console
- `bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic Kafka_Example --from-beginning`## Publish message via WebService
- `http://localhost:8080/kafka/trigger-object`
- `http://localhost:8080/kafka/trigger-string`