欢迎来到天天文库
浏览记录
ID:23287270
大小:2.18 MB
页数:23页
时间:2018-11-06
《使用Spring Cloud Config实现集中配置并发布为Docker微服务.pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、3/2/2017使用SpringCloudConfig实现集中配置并发布为Docker微服务2017年2月一、SpringCloud用来解决什么问题SpringCloud是Pivotal提供的用于简化分布式系统构建的工具集,开源软件。SpringCloud为开发人员提供了工具,快速建立分布式系统中的一些常见的模式(例如配置管理,服务发现,断路器,智能路由,微代理,控制总线,一次性令牌,全局锁,领导选举,分布式会话,集群状态……)。SpringCloud基于SpringBoot等工具集,Spring有一套解决方案。13/2/2017一、SpringCloud用来解决什么问题•Cent
2、ralizedexternalconfigurationmanagementbackedbyagitrepository.TheconfigurationresourcesmapdirectlytoSpringCloudConfigSpring`Environment`butcouldbeusedbynon‐Springapplicationsifdesired.SpringCloudNetflix•IntegrationwithvariousNetflixOSScomponents(Eureka,Hystrix,Zuul,Archaius,etc.).•Aneventbusfor
3、linkingservicesandserviceinstancestogetherwithdistributedmessaging.UsefulforpropagatingSpringCloudBusstatechangesacrossacluster(e.g.configchangeevents).•IntegratesyourapplicationwithPivotalCloudfoundry.ProvidesaservicediscoveryimplementationandalsomakesitSpringCloudforCloudFoundryeasytoimpleme
4、ntSSOandOAuth2protectedresources,andalsotocreateaCloudfoundryservicebroker.SpringCloudCloudFoundryService•ProvidesastartingpointforbuildingaservicebrokerthatmanagesaCloudFoundrymanagedservice.Broker•LeadershipelectionandcommonstatefulpatternswithanabstractionandimplementationforZookeeper,Redis
5、,SpringCloudClusterHazelcast,Consul.SpringCloudConsul•ServicediscoveryandconfigurationmanagementwithHashicorpConsul.SpringCloudSecurity•Providessupportforload‐balancedOAuth2restclientandauthenticationheaderrelaysinaZuulproxy.SpringCloudSleuth•DistributedtracingforSpringCloudapplications,compat
6、iblewithZipkin,HTraceandlog‐based(e.g.ELK)tracing.一、SpringCloud用来解决什么问题SpringCloudDataFlow•Acloud‐nativeorchestrationserviceforcomposablemicroserviceapplicationsonmodernruntimes.Easy‐to‐useDSL,drag‐and‐dropGUI,andREST‐APIstogethersimplifiestheoverallorchestrationofmicroservicebaseddatapipeline
7、s.SpringCloudStream•Alightweightevent‐drivenmicroservicesframeworktoquicklybuildapplicationsthatcanconnecttoexternalsystems.SimpledeclarativemodeltosendandreceivemessagesusingApacheKafkaorRabbitMQbetweenSpringBootapps.SpringCloudStreamA
此文档下载收益归作者所有