{"id":22944925,"url":"https://github.com/elfn/spring-cloud-microservices_old-features","last_synced_at":"2025-04-01T21:43:25.342Z","repository":{"id":120686120,"uuid":"306872199","full_name":"Elfn/Spring-Cloud-Microservices_OLD-FEATURES","owner":"Elfn","description":"Currency calculation implementation through Microservices architecture Design pattern","archived":false,"fork":false,"pushed_at":"2022-04-12T12:04:10.000Z","size":1181,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T14:22:54.603Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Elfn.png","metadata":{"files":{"readme":"Docs/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-24T11:49:53.000Z","updated_at":"2022-07-03T20:20:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"724bf1bc-c9e6-4428-8080-f295badeb703","html_url":"https://github.com/Elfn/Spring-Cloud-Microservices_OLD-FEATURES","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elfn%2FSpring-Cloud-Microservices_OLD-FEATURES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elfn%2FSpring-Cloud-Microservices_OLD-FEATURES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elfn%2FSpring-Cloud-Microservices_OLD-FEATURES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Elfn%2FSpring-Cloud-Microservices_OLD-FEATURES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Elfn","download_url":"https://codeload.github.com/Elfn/Spring-Cloud-Microservices_OLD-FEATURES/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246716786,"owners_count":20822519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T14:28:40.087Z","updated_at":"2025-04-01T21:43:25.320Z","avatar_url":"https://github.com/Elfn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SPRING-MICROSERVICES\n\nmvn spring-boot:run -Drun.jvmArguments='-Dserver.port=8088'\n\n\nConfig server =\u003e Used to centrilized all MS configs\n\n##-----------DYNAMIC SCALE UP AND DCALE DOWN---------------------  \n\nNaming server =\u003e Has 2 main features MS registration, and MS discovery  \nRibbon =\u003e Used to load balancing between MS instances  \nFeign =\u003e Used as mecanism to create restful clients  \n\n##-----------VISIBILITY AND MONITORING---------------------  \n\nZipkin, Sleuth =\u003e Used for distributed tracing  \nNETFLIX api gateway =\u003e Used as Architecture gateway  \n\n##-----------FAULT TOLERANCE---------------------  \nHystrix =\u003e Used to configure default response if a service is down  \n\n\n##------------------How I created that architecture------------  \n1 - Setting up Limit MS  \n2 - Setting up config server  \n3 - Setting up git local repository(To be linked with config server for centralize MS configs)  \n4 - Setting up currency exchange service  \n5 - Setting up currency conversion service  \n6 - Setting up Eureka server  \n\nLauching order  \n 1-Eureka naming server(mvn spring-boot:run)  \n 2-Zipkin tracing distributed server(RABBIT_URI=amqp://localhost java -jar zipkin.jar)  \n 3-Currency conversion and exchange microservices(mvn spring-boot:run)  \n 4-Netflix zuul api-gateway server(mvn spring-boot:run)  \n\nSLEUTH =\u003e Is a library that allows distributing tracing by \ngiving a unique ID to a request   \n\nhttps://zipkin.io/pages/quickstart  \n\nMake Zipkin listen RABBITMQ To trace requests  \nRABBIT_URI=amqp://localhost java -jar zipkin.jar  \n\n//Eureka\nhttp://localhost:8761/\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfn%2Fspring-cloud-microservices_old-features","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felfn%2Fspring-cloud-microservices_old-features","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfn%2Fspring-cloud-microservices_old-features/lists"}