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

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

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.