Carlos Andrés 5e085056bc | ||
---|---|---|
config | ||
queues | ||
.gitignore | ||
Dockerfile.consumer | ||
Dockerfile.producer | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
consumer.js | ||
docker-compose.yml | ||
index.js | ||
mycdc.js | ||
package-lock.json | ||
package.json | ||
queue.js | ||
run-rabbit.sh | ||
zongji.sql | ||
zongji.undo.sql |
README.md
Asynchronous DB calculations reading the binary log
Enviroment setup
Because a bug with MariaDB wich it's fix is pending to be merged into main project branch, a zongji fork must be cloned into project root directory. More info at https://github.com/nevill/zongji/issues/143
git clone https://github.com/juan-ferrer-toribio/zongji.git
cd zongji
git checkout fix-143
Apply zongji.sql script into DB.
Copy config.json to config.local.json and place your local configuration there.
Install dependencies.
npm install
Run application
Launch app.
node index.js