Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Latest commit

 

History

History

SpringCloudStreamSample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Spring Cloud Stream Sample

Overview

This Spring Cloud Stream microservice shows how to consume COVID-19 data streaming from Solace's public broker.

This project can be imported into your IDE as a maven project and it relies on the COVID19DataModels for Spring Cloud Stream to automatically convert the events into POJOs for you to process. The project is already configured with public credentials.

You can choose which data you want by modifying the topic subscriptions in the application.yml file.

How to Run

Clone Repo

Install Data Model

cd jhu-covid19-stream-processors/stream-processors/COVID19DataModels/

./mvnw clean install

Run the Application

cd jhu-covid19-stream-processors/samples/SpringCloudStreamSample

./mvnw spring-boot:run

More Information