I think to support apache dubbo, you might want to add to apache dubbo project (1) a protocol extension for the grpc protocol <https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md> ( https://github.com/weibocom/motan/tree/master/motan-extension/protocol-extension/motan-protocol-grpc <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fweibocom%2Fmotan%2Ftree%2Fmaster%2Fmotan-extension%2Fprotocol-extension%2Fmotan-protocol-grpc&sa=D&sntz=1&usg=AFQjCNHMXSRVKR_PhtWtDp4PQh2TSYsJGw>), 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. On Wednesday, September 12, 2018 at 4:03:46 AM UTC-7, ding peng wrote: > > 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 > > <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fweibocom%2Fmotan%2Ftree%2Fmaster%2Fmotan-extension%2Fprotocol-extension%2Fmotan-protocol-grpc&sa=D&sntz=1&usg=AFQjCNHMXSRVKR_PhtWtDp4PQh2TSYsJGw> > > , 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 > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/9ace0266-9e3c-457c-a4d3-c5dd85975bcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
