You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "lizanle521 (GitHub)" <gi...@apache.org> on 2019/03/09 13:05:38 UTC

[GitHub] [incubator-dubbo-samples] lizanle521 opened issue #65: dubbo-samples-async-original-future 模块的AsyncConsumer从RpcContext获取不到服务器写会的attachments

 RpcContext savedServerContext = RpcContext.getServerContext();
        future.whenComplete((v, t) -> {
            System.out.println(savedServerContext.getAttachment("server-key1"));
            if (t != null) {
                t.printStackTrace();
            } else {
                System.out.println("AsyncConsumer: Response: " + v);
            }
        });
savedServerContext.getAttachment("server-key1")返回null

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

[GitHub] [incubator-dubbo-samples] lizanle521 commented on issue #65: dubbo-samples-async-original-future 模块的AsyncConsumer从RpcContext获取不到服务器写回的attachments

Posted by "lizanle521 (GitHub)" <gi...@apache.org>.
有人么,感觉是2.7.0的大bug呀?

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

[GitHub] [incubator-dubbo-samples] kexianjun commented on issue #65: dubbo-samples-async-original-future 模块的AsyncConsumer从RpcContext获取不到服务器写回的attachments

Posted by "kexianjun (GitHub)" <gi...@apache.org>.
Pls refer to https://github.com/apache/incubator-dubbo/issues/3620

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


[GitHub] [incubator-dubbo-samples] chickenlj closed issue #65: dubbo-samples-async-original-future 模块的AsyncConsumer从RpcContext获取不到服务器写回的attachments

Posted by "chickenlj (GitHub)" <gi...@apache.org>.
[ issue closed by chickenlj ]

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


[GitHub] [incubator-dubbo-samples] chickenlj commented on issue #65: dubbo-samples-async-original-future 模块的AsyncConsumer从RpcContext获取不到服务器写回的attachments

Posted by "chickenlj (GitHub)" <gi...@apache.org>.
duplicate of #3620

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