Vert.x的EventBus

1.EventBus是Vert.x的核心,包括其Service Proxy(RPC)、Verticle等通信都是EventBus提供的;

    当然在一定的场景下,EventBus会成为其瓶颈,不同于分布式的选举机制,这个是消息响应机制;

2.事件的consume、publish、send、unregister等是其基本操作;

3:

参考博客:https://www.sczyh30.com/posts/Vert-x/vertx-advanced-local-event-bus-internal/

猜你喜欢

转载自blog.csdn.net/JoshuaXin/article/details/83417559