An open API service indexing awesome lists of open source software.

https://github.com/carloscazelattojr/multidatabase-routing

Example project for multidabase connection with route balancing
https://github.com/carloscazelattojr/multidatabase-routing

java multidatabase routing spring-boot

Last synced: about 1 month ago
JSON representation

Example project for multidabase connection with route balancing

Awesome Lists containing this project

README

          

Example project multidatabase

### Docker
```
docker run -p3306:3306 --name mysql_1 -e MYSQL_ROOT_PASSWORD=root -d mysql

docker run -p3307:3306 --name mysql_2 -e MYSQL_ROOT_PASSWORD=root -d mysql
```

### Curl

```

curl --location --request GET 'localhost:8080/user/read/1'

curl --location --request GET 'localhost:8080/user/write/1'

```