See How to build image if you want make from scratch, or use pre built images in the following registry.
https://hub.docker.com/u/prasta
- mskafka_apache:
docker pull prasta/mskafka_apache
- mskafka_order:
docker pull prasta/mskafka_order
- mskafka_invoicing:
docker pull prasta/mskafka_invoicing
- mskafka_shipping:
docker pull prasta/mskafka_shipping
- mskafka_posgres:
docker pull prasta/mskafka_postgres
I highly recommend strimzi.io operator for the kafka installation method on kubernetes cluster.
Follow this procedure for details of strimzi.io installation
Microservice application for this example will running on store
namespace
-
Clone this repository
git clone https://github.com/prastamaha/microservice-kafka.git cd microservice-kafka/kubernetes/manifest
-
Apply the manifest file
Namespace
kubectl create -f namespace
Secret
kubectl create -f secret
ConfigMap
kubectl create -f configmap
Posgres
kubectl create -f posgres
Apache
kubectl create -f apache
Order
kubectl create -f order
Shipping
kubectl create -f shipping
Invoicing
kubectl create -f invoicing
-
Access Frontend apache
http://<Your_Node_Ip_Address>:30800