Skip to content

pixeliner/nodejs-saga-microservice

 
 

Repository files navigation

Saga Pattern Implementation - Nodejs Microservices

Implementation

Prerequisites

Setup

Kafka Setup

<Path to kafka>/bin/zookeeper-server-start.sh <Path to Kafka>/config/zookeeper.properties & 
<Path to kafka>/bin/kafka-server-start/sh <Path to Kafka>/config/server.properties 
cd kafkaBroker
 node kafkaBootstrap.js 

Service Setup

Orchestator Service

cd orchestatorService && npm install
cd orderService && npm install
cd paymentService && npm install

To Run the Server

cd orchestatorService && npm run dev
cd orderService && npm run dev
cd paymentService && npm run dev

About

Nodejs Microservices implemented in Saga Pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%