18 | | (TODO) |
| 20 | The setup assumes a Linux environment. If you work under macOS or Windows details might differ from the here presented instructions. |
| 21 | It is recommended to prepare a local installation of Docker and docker-compose, as it greatly eases setup of the required service components. |
| 22 | Note, that under Windows Docker needs to run in Linux-image compatible mode, as some key images are only available for the Linux platform. |
| 23 | |
| 24 | A working Java JDK (e.g. OpenJDK) needs to be present with support for at least Java 11! |
| 25 | |
| 26 | The deployment requires a microservice environment (that can be supplied by just one machine for testing purposes) with the following applications: |
| 27 | * Apache Zookeeper |
| 28 | * Apache Kafka |
| 29 | * MySQL |
| 30 | * Zipkin |
| 31 | * Eventuate Tram CDC Service |
| 32 | |
| 33 | If you do not use the Docker-based setup please refer to the respective projects websites on information on how to set these up. |
| 34 | To set up all the dependencies it is sufficient to navigate to the folder "service_environment" and issue the command "docker-compose up -d". |
| 35 | Depending on your local setup you might need to supply elevated permissions (e.g. by using "sudo") to the docker-compose command. |
| 36 | The service infrastructure can be tore down again with the command "docker-compose down" from within the same directory. |
| 37 | |
| 38 | To start the sample application navigate to the main directory and run "./gradlew build" |