- Notifications
You must be signed in to change notification settings - Fork0
coderdude1/SpringMicroSvcDemo_RegistrationServer
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project will setup and run a netflix registration server using spring cloud services. This project canbe used on any microservices implementation with little change (properties). Itwas written to be used in a demo using the AccountService_Demo and the AccountWebClient_Demo.
This is an evolution of a springblog post on microservices with spring. The original source ishere and provides a great overview of thesepieces and how they work.
I ended up splitting up the original project that had three tiers (registration server, account micro service, andthe client webservice) into three separate projects. This allowed me to inject the spring config service.This requires the use of the bootstrap.yml to set the properties, and each app needs to be set separately.
The generic spring term is "DiscoveryService". Netflix provides an opensource implementationcalled "Eureka". There are other impls, such as consul and others.
REASEARCH: I think that there is a generic annotation for setting up a registration server, and springbootlooks on the classpath to find If you use the generic wrapper, it changes it's behavior based onfinding an impl on the classpath (ie the implementation you add to maven).
This demo will use the netflix "EnableEurekaServer" annotation
show the RegistrationServer class
- Ngnix article
- Configuring It All Out" or "12-Factor App-Style Configuration with Spring"
- Spring Cloud Netflix
- Microservices With Spring
- Microservice Registration and Discovery with Spring Cloud and Netflix's Eureka
- Spring cloud samples git repo
- Configuring it all git repo
- Original Source Microservices with spring
Zuul, consul, Hysterix, load balancing, redundant registration server?
About
This is an implementation of a spring registration service, based on the Spring blog example
Resources
Uh oh!
There was an error while loading.Please reload this page.