Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.9 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.9 KB

app-poc-diff

Project demonstrating a concept for delta sync between different applications

TODO

  • There are pull requests underway to deal with misordering of delta messages, which needs support in mu-authorization, delta-notifier and the producer.

  • Effective inserts and deletes could be useful and are also underway in mu-auth and the delta-notifier.

Configuring

Keys are intentionally omitted from the configuration directories. Read the mu-tunnel documentation for instructions on creating the necessary keys.

Starting the application

First, start the producer using

docker-compose -f docker-compose.yml -f docker-compose.producer.yml -p producer up -d

Alternatively, the producer may be started including a stress-testing "timer" service. This can be done by including the docker-compose.timer.yml file:

docker-compose -f docker-compose.yml -f docker-compose.producer.yml -f docker-compose.timer.yml -p producer up -d

Then, start the consumer using

docker-compose -f docker-compose.yml -f docker-compose.consumer.yml -p consumer up -d

The producer is accessible at localhost:81 and the consumer at localhost:82.

The container_name key is used in the Compose files, so it is not possible to start multiple producers or consumers currently. However, if the appropriate container names were changed and configured, multiple consumers should work.

Services