rea9r / spring-boot-reladomo-mt-loader

Sample application that implemented Reladomo's Multi-Threaded matcher Loader (MT Loader).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot Reladomo MT Loader

Build Status

This is a sample application that implemented Reladomo's Multi-Threaded matcher Loader (MT Loader).

What is MT loader?

Multi-Threaded matcher Loader (MTLoader) is a high-performance pattern for merging changes from another source (file, feed, other DB, etc.) to your existing DB data. By design it is flexible/customizable and re-runnable.

Run the project

Start a MySQL server instance in Docker container

$ docker-compose up -d

Connect to MySQL

$ docker-compose exec mysql bash -c 'mysql -u${MYSQL_USER} -p${MYSQL_PASSWORD} ${MYSQL_DATABASE}'

Build and run the application

# install dependencies and build application
$ ./gradlew build

# start the API server at localhost:8080
$ java -jar ./build/libs/spring-boot-reladomo-mt-loader-0.0.1-SNAPSHOT.jar 

There is a Swagger UI configured for visualizing the REST APIs.
http://localhost:8080/swagger-ui.html

About

Sample application that implemented Reladomo's Multi-Threaded matcher Loader (MT Loader).


Languages

Language:Java 99.8%Language:Dockerfile 0.2%