Giter Site home page Giter Site logo

g-khan / synchronized-communication-between-microservices Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 4.0 66 KB

Microservice-To-Microservice Synchronous Communication with Service Discovery

Kotlin 31.04% Java 68.96%
communication microservices eureka-client feign-client synchronous microservices-architecture spring-boot kotlin java-11

synchronized-communication-between-microservices's Introduction

Simple Synchronous Communication Example with Service Discovery

Demo project for Microservice Synchronous communication using Kotlin, Spring Boot, Service Discovery Eureka, Eureka Client & FeignClient

enter image description here

Requirements

  1. Java - 1.11.x
  2. Gradle- 3.x.x
  3. Clone the Service Discovery click it.

Step 1: Running the Service Discovery Open the service discovery path then, Type the following command in your terminal to run the service discovery

 ./gradlew bootRun

Step 2: Running the Payment Service Open the this project path then payment-service folder, Run the project with gradle:

 ./gradlew bootRun

Step 3: Running the Payment Service Open the this project path then banking-service folder, Run the project with gradle:

 ./gradlew bootRun

Check the link of eureka-server for seeing the registered services: http://localhost:8761/

Rest APIs

The app defines following for APIs.

POST http://localhost:8081/api/v1/payment

{
      "paymentType":"credit card",
      "bankId":"123213213213213321"
}

synchronized-communication-between-microservices's People

Contributors

g-khan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.