Git Product home page Git Product logo

microservice_spring_localhost's Introduction

Currency Conversion System in Spring Cloud

Brief about the code or Tech Stack:

  • Currency Exchange MySQL Microservice and Currency Conversion Microservice talks via using Zuul API Gateway.

  • Zuul API Gateway uses Eureka Name Server.

  • Distributed Tracing done through Zipkin and Sleuth

  • Hystrix used for Fault Tolerance,

  • MySQL DB is used in the Currency Exchange MySQL Microservice => Exchange Value table is created using.

Prerequisite

  • One has to download the code.

  • MySQL should be working.

  • Create DB currency_exchange_value_db and table in it exchange_value

  • Code for the same is in link: DB Script

For Distributed Tracing:

Rabbit MQ is used. Please download it at link: RabbitMQ Dowload Please install ErLang before installing rabbitmq. Once you have installed Rabbit MQ

For Running Rabbit MQ In the console, go to the location where you have downloaded *zipkin-server-2.7.0-exec.jar Execute below command (for Windows 10):

set RABBIT_URI=amqp://localhost

java -jar zipkin-server-2.7.0-exec.jar

Eureka Name Server:

Image of Eureka Name Server

API Gateway: API Gateway

Currency Conversion Microservice Currecncy conversion

Currency Exchange MySQL Microservice Currecncy Exchange MySQL

DB MySQL DB Content

Distributed Tracing using Zipkin Zipkin

Checking code flow using Zipkin and sleuth distributed tracing Code flow using Zipkin

URL to test the code.

Zipkin http://localhost:9411/zipkin/

Currency Converter Service - Direct Call http://localhost:8100/currency-converter/from/USD/to/INR/quantity/10

Currency Converter Service - Feign http://localhost:8100/currency-converter-feign/from/EUR/to/INR/quantity/10000

Currency Exchange Service MYSQL- http://localhost:9000/currency-exchange/from/EUR/to/INR http://localhost:8001/currency-exchange/from/USD/to/INR

Eureka - http://localhost:8761/

Zuul - Currency Exchange & Exchange Services http://localhost:8765/currency-exchange-service/currency-exchange/from/EUR/to/INR http://localhost:8765/currency-conversion-service/currency-converter-feign/from/USD/to/INR/quantity/10

microservice_spring_localhost's People

Contributors

someshbhardwaj avatar

Stargazers

 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.