/Spring-Cloud-Structure

A general structure for Spring Cloud.

Primary LanguageJava

Spring-Cloud-Structure

A general structure for Spring Cloud.

Introduction

This is a repository including the basement of spring cloud project. I realized the basic configuration of a spring cloud project and future function can be easily added to this repository.

Packaging is pom. Create the basic dependencies.

Module for including general apis and classes for rest of the modules.

Eureka server clusters, where micro-services are registered to the servers. Realized service register and discovery.

A simple micro-service.

Client side load balancer. We can customize our load balance strategy in this module.

Feign integrated ribbon inside and realized the round robin load balance declaration using interface and annotation.

Circuit breaker and service degrade.

Hystrix dashboard to monitor status and volume of micro-service.

Router module.

Remote config server.

Remote config client.