Skip to content

About

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

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages