Spring Cloud生态圈(一)
2019-06-24 本文已影响0人
bernierayxu
1. 什么是spring cloud stream?

2. 什么是Spring cloud integration?
答:spring cloud integration类似于消息中间件



3. spring cloud stream对比integration有什么区别?
答:是在integration上面做了封装,使得使用更加简便。


4. 事件驱动编程的核心是什么?

5. spring cloud stream支持哪些特性?


6. spring cloud bus如何支持用户自定义事件监听/注册机制?
答:支持。类似laravel。是spring事件机制的分布式升级版,利用mq来在不同service之间传播。


7. 什么是分布式链路追踪sleuth?







8. 什么是spring cloud gateway?
答:和zuul的功能一样,但是可以设置discovery,这样可以自动访问eureka上面的service地址,即http://网关地址/service id/具体的url。zuul是使用阻塞API,不支持长链接开发,gateway是非阻塞API,支持长链接开发,是未来的主流。



