dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gMan1990 (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] gMan1990 opened issue #3074: serialization方式不能自定每个Service,可以每个protocol
Date Thu, 27 Dec 2018 04:55:40 GMT
我就问一下,不行就算了~

---
https://github.com/apache/incubator-dubbo/blob/6ce7b11f982c5f7beb2ac5897fb33d48da357ada/dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/exchange/codec/ExchangeCodec.java#L211
```java
    protected void encodeRequest(Channel channel, ChannelBuffer buffer, Request req) throws
IOException {
        Serialization serialization = getSerialization(channel);
```
dubbo-2.6.3,channel.url对应的service和req里对应的service不是同一个,导致对每个Service配置不同的serialization结果还是同一个serialization方式(看channel拿到的是哪个)

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/3074 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org
Mime
View raw message