文章分类 -  cloud

摘要:只需要使用@EnableEurekaServer注解就可以让应用变为Eureka服务器,这是因为spring boot封装了Eureka Server,让你可以嵌入到应用中直接使用。至于真正的EurekaServer是Netflix公司的开源项目,也是可以单独下载使用的用Ribbon或者Feign做 阅读全文
posted @ 2019-05-19 18:53 苍天一穹 阅读(236) 评论(0) 推荐(0)
摘要:过滤器实现1 @SpringBootApplication(scanBasePackages="cn.com.xmh") public class EurekaTest { public static void main(String[] args) { SpringApplication.run( 阅读全文
posted @ 2019-04-14 11:02 苍天一穹 阅读(151) 评论(0) 推荐(0)
摘要:********* 服务消费者 @SpringBootApplication @EnableDiscoveryClient @EnableFeignClients @RibbonClient(name = "hello-service", configuration = TestConfigurat 阅读全文
posted @ 2019-03-10 20:10 苍天一穹 阅读(233) 评论(0) 推荐(0)