You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is correct. Unfortunately, the Thrift protocol does not have any namespace for services. In fact, there’s no concept of “service” on this the wire. There is only the method name.
Thrift's TMultiplexedProtocol may be an ungraceful way to use the service name as namespace. It converts the method name to serviceName:methodName . And we can @ThriftMethod(serviceName:methodName) to handle multiplex protocol.
Given two services:
DriftServer will throw an exception complains that ""Multiple methods named 'send' are annotated with @ThriftMethod in the given services"".
It seems that difference services can't have a method with the same name?
Relative code (io/airlift/drift/server/DriftServerMethodInvoker.java:58):
The text was updated successfully, but these errors were encountered: