Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This is an implementation of a spring registration service, based on the Spring blog example

NotificationsYou must be signed in to change notification settings

coderdude1/SpringMicroSvcDemo_RegistrationServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Discovery Service

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

Demo

show the RegistrationServer class

Interesting URLS

  1. Ngnix article
  2. Configuring It All Out" or "12-Factor App-Style Configuration with Spring"
  3. Spring Cloud Netflix
  4. Microservices With Spring
  5. Microservice Registration and Discovery with Spring Cloud and Netflix's Eureka
  6. Spring cloud samples git repo
  7. Configuring it all git repo
  8. Original Source Microservices with spring

Misc

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp