support apache dubbo

28 views
Skip to first unread message

precio...@gmail.com

unread,
Sep 12, 2018, 7:03:46 AM9/12/18
to grpc.io
hello all,

  I'm wondering is there a good way to build Interaction with apache Dubbo? https://github.com/weibocom/motan/tree/master/motan-extension/protocol-extension/motan-protocol-grpc , motan based on Grpc stub layer, bind service definition on grpc server, and use grpc client to wrapper the exported interface. Should we base it on Grpc channel or transport layer, or how  can we make the interaction graceful? Can you give me some suggestions :) Thanks a lot!

best regards,
moriadry

Penn (Dapeng) Zhang

unread,
Sep 12, 2018, 6:04:17 PM9/12/18
to grpc.io
I think to support apache dubbo, you might want to add to apache dubbo project (1) a protocol extension for the grpc protocolhttps://github.com/weibocom/motan/tree/master/motan-extension/protocol-extension/motan-protocol-grpc), and (2) a serialization extension for protobuf (https://github.com/weibocom/motan/tree/master/motan-extension/serialization-extension), which someone else is also trying https://dubbo.incubator.apache.org/en-us/docs/dev/contribution.html

I recommend try to base it on stub/channel layer (io.grpc.netty.NettyChannelBuilder, io.grpc.stub.ClientCalls, io.grpc.netty.NettyServerBuilder, and io.grpc.stub.ServerCalls), otherwise it would be extremely complex.
Reply all
Reply to author
Forward
0 new messages