avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joey Echeverria <j...@cloudera.com>
Subject Re: How to bind several Responder in single port
Date Mon, 15 Dec 2014 19:44:45 GMT
I wrote a prototype Kite service that did something like this:

https://github.com/joey/kite/blob/cdk-482/kite-data/kite-data-service/src/main/java/org/kitesdk/data/remote/protocol/RemoteDataProtocol.java

-Joey

On Mon, Dec 15, 2014 at 11:18 AM, Doug Cutting <cutting@apache.org> wrote:
> On Mon, Dec 15, 2014 at 12:21 AM, 聂琨琳 <nie_kl@126.com> wrote:
>>     Is there any way to bind several Responder in single port?
>
> That's not currently supported.
>
> You could programatically create a protocol with the union of the
> types and messages of several protocols and serve that with a single
> responder.  That responder could then delegate requests to responders
> specific to each protocol.
>
> Doug



-- 
Joey Echeverria

Mime
View raw message