The IBM Event Driven architecture reference implementation solution illustrates the deployment of real time analytics on event streams in the context of container shipment in an event driven architecture with event backbone, functions as service and event-driven microservices, and aims to illustrate the different event driven patterns like event sourcing, CQRS and Saga. There is a lot of content, so consider this to be a living book, for better reading experience go to the BOOK view.
If you want to just get the code, build and run we propose running locally with docker-compose.
To build and run the solution locally we are delivering some scripts which should help you to quickly get the solution cloned, built and deployed. Those bash scripts are under the scripts
folder of this project.
git clone https://github.com/ibm-cloud-architecture/refarch-kc.git
cd refarch
./scripts/clone.sh
- Start Kafka, zookeeper and postgresql using:
./docker/startbackend.sh
- Start the solution using the development settings: `docker-compose -f
The scripts provided in scripts/localk8s/
can be used to deploy to a local (vanilla) Kubernetes environment, such as a cluster provided by Docker Desktop.
Prereqs:
- Helm (Helm v3 is recommended),
- A Kubernetes cluster, and sufficient permissions to create namespaces, service accounts etc.
For more information, see the README for the scripts.
The content of this repository is written with markdown files, built with Gatsby. For more information, see the README for the docs.
- Install NodeJS (https://nodejs.org/)
git clone https://github.com/ibm-cloud-architecture/refarch-kc.git
(or your forked repository if you plan to edit)cd refarch-kc/docs
npm install
npm run dev
- Go to
http://127.0.0.1:8000/
in your browser.
- Ensure that all your local changes to the
master
branch have been committed and pushed to the remote repository.git push origin master
- Ensure that you have the latest commits to the
gh-pages
branch, so you can get others' updates.git checkout gh-pages git pull origin gh-pages git checkout master
- Run
mkdocs gh-deploy
from the root refarch-kc directory.
As this implementation solution is part of the Event Driven architecture reference architecture, the contribution policies apply the same way here.