Controlling connection by a replication driver
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docker/mysql
gradle/wrapper
src
.editorconfig
.gitignore
README.md
build.gradle
connect-reader1.sh
connect-reader2.sh
connect-writer1.sh
docker-compose.yml
gradlew
gradlew.bat
my.cnf
settings.gradle

README.md

kotlin-spring-boot-replication-driver-example

Features

  • kotlin v1.3
  • Gradle v5.1
  • Java v8
  • Spring boot v2.1
  • JdbcTemplate
  • MySQL v8 (2 instance)
  • Docker
  • Annotation base controller

Usage

Start docker daemon

Require starting docker daemon.

Start docker-compose

cd ${PROJECT_ROOT}
docker-compose up -d

Start to MySQL-server v8 x 2 instance