2

I'm getting started with finagle using version 6.6.2, and version 3.8.0 of the scrooge-maven-plugin

I have multiple services defined and have successfully tested them individually.

ServerBuilder().bindTo(new InetSocketAddress("localhost", 9090)).name("myFinagle").codec(ThriftServerFramedCodec()).build(myFinagleService)

but I am having trouble getting 2 services to run on a single port. I found

ThriftMuxServer.serverIface

but this seems to start the server right away, and does not allow me to add another IFace.

How do I bind 2 services to a single server port?

4

1 回答 1

3

Finagle 当前 (latest=6.13.1) 不支持在同一个地址绑定两个 thrift 接口。

于 2014-03-26T04:58:26.470 回答