Local Setup
Prerequisites
To run Idra with scaling support, you need to have ETCD up and running. Therefore, the first step is to install ETCD. If you prefer to run Idra without ETCD, you can do so in “Static” mode by using a JSON file that contains your sync definitions. In this case, all computations will run in batch mode, without concurrency enabled.
Setup ETCD
-
ETCD: Installing ETCD
-
Install dependencies: go build or go mod download
Run CDC and Web REST API
- Run CDC app from code:
Run main.go in cdc_agent folder using “go run main.go”
- Run Web app from code:
Run main.go in web folder using “go run main.go”
Docker
Every application contains a Docker file that permits to build and run the application without to install any Golang environment.
Kubernetes
It is possible to deploy applications using Helm charts in Kubernetes. Idra is written and inspired by a Cloud Native Approach. All charts and Helm files are ready to be used.