Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不幸的是,Finagle 上的所有文档都只显示了使用 ClientBuilders 构建客户端的示例。
如果我有一组服务,是否可以为其添加负载平衡和快速故障功能,并以这种方式将它们组合到一个服务中?
我想要这样的东西:
Set<Service<A, B>> serviceSet = ...; Service<A, B> = Balancer.make(serviceSet);
我究竟如何使用 finagle.loadbalancer 和 ServiceFactories 来做到这一点?