Skip to content

This application receives data from Data generator service with Apache Kafka and stores it in MongoDB.

Notifications You must be signed in to change notification settings

qReolq/data-analyser-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data analyser microservice

This application receives data from Data generator service with Apache Kafka and stores it in MongoDB.

Next, data is processed by Data store service.

Technologies

Spring(Boot, JPA), Docker, MongoDB, Apache Kafka, CI/CD(Github actions)

Environments

To start an application you need to pass variables to .env file.

  • KAFKA_BOOTSTRAP_SERVERS - bootstrap server in Kafka
  • KAFKA_SUBSCRIBED_TOPICS - kafka subscribed topics
  • MONGO_AUTHENTICATION_DATABASE - mongoDB Authentication Database
  • MONGO_USERNAME - username for MongoDB
  • MONGO_PASSWORD - password for MongoDB
  • MONGO_DATABASE - name of MongoDB
  • MONGO_PORT - port of MongoDB
  • MONGO_HOST - host of MongoDB

Quick start

You can run all applications via docker-compose.yaml from docker folder.

Application is running on port 8082.

It contains all needed configs.

  1. Clone this repo into folder.
git clone https://github.com/qReolq/data-analyser-microservice.git
cd data-analyser-microservice/docker
  1. Start docker compose
docker compose up

About

This application receives data from Data generator service with Apache Kafka and stores it in MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published