首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

Spring Cloud 项目班第2课:Service Discovery/Registration Service

Xcode 2018 Spring Cloud 项目班第2课

XCode 2018 课案文档在这里哦

https://quip.com/E7FmAsFC3F2S

XCode 2017 课案文档在这里哦

https://quip.com/aCoTAb1SQfnD

感兴趣的同学快去瞧瞧吧

1. 第2讲主题及内容(Class Topics):

Spring Eureka: Covers service registration and discovery

Heroku, GitHub, Git, Sourcetree, Bitbucket

JPA, Hibernate

新加 Account Service

https://pan.baidu.com/s/1nwoGhmT

3. Reading Materials:

Spring Cloud Eureka

https://thepracticaldeveloper.com/2017/06/28/how-to-fix-eureka-taking-too-long-to-deregister-instances/

https://cloud.spring.io/spring-cloud-netflix/multi/multi__service_discovery_eureka_clients.html

https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-eureka-server.html

https://dzone.com/articles/microservice-spring-cloud-eureka-server-configurat

https://exampledriven.wordpress.com/2016/07/01/spring-cloud-eureka-ribbon-feign-example/

https://github.com/spring-cloud/spring-cloud-netflix/issues/1327

Background

https://github.com/cfregly/fluxcapacitor/wiki/NetflixOSS-FAQ#eureka-service-discovery-load-balancer

https://github.com/Netflix/eureka/wiki/Understanding-eureka-client-server-communication

http://tech.asimio.net/2017/03/06/Multi-version-Service-Discovery-using-Spring-Cloud-Netflix-Eureka-and-Ribbon.html

Download Heroku CLI

https://devcenter.heroku.com/articles/heroku-cli#download-and-instal

https://devcenter.heroku.com/articles/deploying-spring-boot-apps-to-heroku

https://dzone.com/articles/spring-boot-heroku-and-cicd

Download CURL

https://curl.haxx.se/download.html

JPA

http://www.vogella.com/tutorials/JavaPersistenceAPI/article.html

4. Homework:

Createa Repository in GitHub to host the Eureka Server Service and deploy to Heroku using Heroku CLI

Convertthe Dispatch Service into an Eureka Client and Register with the Eureka Server

Implement the Account Service, manipulate account data using JPA repository. Add REST controllers to enable querying the Account Service by account id, etc.

Convertthe Account Service into an Eureka Client and Register with the Eureka Server

Advanced:Configure two Eureka servers

  • 发表于:
  • 原文链接http://kuaibao.qq.com/s/20180302G01N9T00?refer=cp_1026
  • 腾讯「腾讯云开发者社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 cloudcommunity@tencent.com 删除。

扫码

添加站长 进交流群

领取专属 10元无门槛券

私享最新 技术干货

扫码加入开发者社群
领券