logsservice

module
v0.0.0-...-2a92847 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2023 License: MIT

README

logsService

Service for save logs.

What is contained:

  1. Kafka consumer implementation
  2. MongoDB implementation
  3. logrus implementation
  4. Graceful shutdown
  5. Docker compose file
  6. Make file

How To start

  1. add to .env file variables for DB
MONGO_DB_HOST: localhost
MONGO_DB_PORT: 27017
MONGO_DB_USERNAME: root
MONGO_DB_PASSWORD: myPassword
MONGO_DB_DATABASE: myDB
MONGO_DB_COLLECTION: myCollection
  1. run makefile with command - "make run"

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL