GithubHelp home page GithubHelp logo

spring-cloud-eureka's Introduction

Spring Cloud Eureka and Ribbon Project

Intro

This is a project to practice the Spring Cloud Eureka and Ribbon.

It uses Java 8, Maven, Spring Boot 2.0.5 and Spring Cloud 2.0.2.

The server project is already configured to be able to start multiple servers (check application.ymlfile).

How to startup

To startup, follow order below:

- Spring Cloud Eureka Server;
- All Spring Cloud Eureka Client projects:
    - To use Ribbon it's necessary to run each client with a profile. To do so:
        - mvn spring-boot:run -Dspring.profiles.active=adjective
        - mvn spring-boot:run -Dspring.profiles.active=noun
        - mvn spring-boot:run -Dspring.profiles.active=cold-noun
        - mvn spring-boot:run -Dspring.profiles.active=verb
        - mvn spring-boot:run -Dspring.profiles.active=article
        - mvn spring-boot:run -Dspring.profiles.active=subject
- Spring Boot Sentence.

Access http://localhost:8020/sentence to check the full sentence created.

Monitoring and Check

To check Eureka server status, access http://localhost:8010. You can click on the link to the right of any of these servers and replace /info to / to check the available endpoints. Every client you start-up should appear in the Application area.

The SpringBootSentenceApplication log show that this client is using Ribbon. For example: Flipping property: SPRINGCLOUDEUREKACLIENTNOUN.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer

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.