https://github.com/pavankjadda/springcloudstream-kafka
Kafka with Spring Cloud Stream on Spring Boot
https://github.com/pavankjadda/springcloudstream-kafka
java kafka spring-boot spring-cloud-stream
Last synced: about 1 month ago
JSON representation
Kafka with Spring Cloud Stream on Spring Boot
- Host: GitHub
- URL: https://github.com/pavankjadda/springcloudstream-kafka
- Owner: pavankjadda
- License: gpl-3.0
- Created: 2018-02-06T04:11:14.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-04T02:40:49.000Z (over 5 years ago)
- Last Synced: 2025-01-07T22:36:43.297Z (over 1 year ago)
- Topics: java, kafka, spring-boot, spring-cloud-stream
- Language: Java
- Size: 73.2 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SpringCloudStream-Kafka
Kafka with Spring Cloud Stream on Spring Boot
## Introduction
Kafka helps you to build fast, high through put, fault tolerance, scalable microservices and applications. Kafka Streams stores data in Kafka Clusters (Kafka State Stores) and gets data wicket fast.
This repository demonstrates Kafka with the help of Spring Cloud Stream
## How to Run?
1. Download and install Kafka either from [Confluent](https://docs.confluent.io/current/installation/installing_cp.html#zip-and-tar-archives) or follow instructions [from here](https://www.tutorialspoint.com/apache_kafka/apache_kafka_installation_steps.htm) first. I recommend [Confluent](https://docs.confluent.io/current/installation/installing_cp.html#zip-and-tar-archives) as it combines all the servers into one package with additional tools.
start kafka with the following command
2. Unzip the zip file and navigate to it
3. Start the zookeeper using following command
```
/bin/zookeeper-server-start /etc/kafka/zookeeper.properties
```
4. Start the kafka using the following command
```
/bin/kafka-server-start /etc/kafka/server.properties
```
2. Clone this repository and open in IntelliJ or Eclipse as maven project and run `SpringCloudStreamKafkaApplication` class. This will bring up producer class.