multiple Thrift services on one transport
Posted
by kert
on Stack Overflow
See other posts from Stack Overflow
or by kert
Published on 2010-03-26T07:17:46Z
Indexed on
2010/03/26
7:23 UTC
Read the original article
Hit count: 361
Just seeking confirmation here : apache Thrift protocol does not seem to support running multiple services on one transport endpoint ? ( a socket, file, whatever )
I cant seem to figure out how to do something like this in Thrift:
service otherService {
void dosomething()
}
service rootService {
otherService getOtherService()
}
There does not seem to be any concept of passing in and out service handles, ultimately limited by the protocol. Looks like you can not run two services on one transport pipe. Correct ?
© Stack Overflow or respective owner