Skip to content

mhdzaid/location-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Location Reader

Project Structure

  • Database Location is partitioned based on user_id column for fast retrieval since a user can have thousands of entries.
  • created_on column has been indexed as well for doing time frame query.
  • The id column is an auto-increment column so the latest location of the user is the last value inserted in the partition.

How To Run

  • To first start the User microservice run the Server as well as the Gateway so that the Eureka Discovery service can register it.
  • You would also need to start up the Location-Writer microservice as well.
  • Run the PostgreSQL docker-compose file using the command
    docker-compose -f util/postgres.yml up -d
    
  • Run the ApacheKafka docker-compose file present in Location-Writer microservice.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages