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 evnt-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 Minikube or 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
- To assess your environment and build the docker images needed for build:
./scripts/prepareEnv
For docker-compose we recommend reading this note for Minikube this separate note
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 architeture reference architecture, the contribution policies apply the same way here.
Contributors:
Please contact me for any questions.