无法在使用ThriftServerFramedCode的单个服务器上使用2个Finagle服务
我将开始使用scrooge maven插件的6.6.2和3.8.0版本进行欺骗 我定义了多个服务,并成功地分别测试了它们无法在使用ThriftServerFramedCode的单个服务器上使用2个Finagle服务,thrift,finagle,Thrift,Finagle,我将开始使用scrooge maven插件的6.6.2和3.8.0版本进行欺骗 我定义了多个服务,并成功地分别测试了它们 ServerBuilder().bindTo(new InetSocketAddress("localhost", 9090)).name("myFinagle").codec(ThriftServerFramedCodec()).build(myFinagleService) 但是我很难在一个端口上运行两个服务。我发现 ThriftMuxServer.serverIfac
ServerBuilder().bindTo(new InetSocketAddress("localhost", 9090)).name("myFinagle").codec(ThriftServerFramedCodec()).build(myFinagleService)
但是我很难在一个端口上运行两个服务。我发现
ThriftMuxServer.serverIface
但这似乎会立即启动服务器,不允许我添加另一个IFace
如何将两个服务绑定到一个服务器端口 Finagle当前(最新版本=6.13.1)不支持在同一地址上绑定两个thrift接口