These are chat archives for alibaba/dubbo

31st
Jan 2018
karun!a
@michalyao
Jan 31 2018 02:32
请问各位dubbo编写单元测试和集成测试有什么好的资料可以参考吗?
luffyke
@luffyke
Jan 31 2018 02:45
API网关可以看下kong或者orange
时无两丶
@carryxyh
Jan 31 2018 03:41
dubbo将来会支持多机房么?
maroon
@DocEcho
Jan 31 2018 03:45
dubbo 多机房是什么意思?两个 机房的 独立zk 服务共享?
时无两丶
@carryxyh
Jan 31 2018 03:49
一个机房的服务总体不可用时切换到另外一个机房上
“不可用” 可能是错误率 类似这种指标
zk是同一套
maroon
@DocEcho
Jan 31 2018 03:50
两个机房 共享一套 zk ,然后自己扩展一个 机房路由
本机房优先调用,跨机房次之
时无两丶
@carryxyh
Jan 31 2018 03:52
按照dubbo现在的处理是做不到切换的。切换过之后应该是全部调用都跑到备用机房上去
只能把有问题的机房的服务都下掉 要不然没法自动切换的
maroon
@DocEcho
Jan 31 2018 03:53
自己扩展一个 机房路由
时无两丶
@carryxyh
Jan 31 2018 03:55
明白了。扩展个router是吧 @DocEcho
maroon
@DocEcho
Jan 31 2018 03:55
时无两丶
@carryxyh
Jan 31 2018 03:56
thx
tuser4198
@tuser4198
Jan 31 2018 03:56
dubbo异步调用老是超时,实际上还没有到超时时间
等下我上传个截图
com.alibaba.dubbo.remoting.TimeoutException: Waiting server-side response timeout. start time: 2018-01-30 19:02:11.956, end time: 2018-01-30 19:02:13.186, client elapsed: 0 ms, server elapsed: 1230 ms, timeout: 5000 ms, request: Request [id=4470, version=2.0.0, twoway=true, event=false, broken=false, data=RpcInvocation [methodName=mock, parameterTypes=[class mock], arguments=[mock[mock=[4063]]], attachments={async=true, path=mock, id=2189, interface=mock, version=1.0.0, timeout=5000, group=offline}]], channel: /172.19.155.23:57001 -> /10.4.225.73:20880
at com.alibaba.dubbo.remoting.exchange.support.DefaultFuture.get(DefaultFuture.java:136)
at com.alibaba.dubbo.rpc.protocol.dubbo.FutureAdapter.get(FutureAdapter.java:73)
at com.mock(mock.java:197)
at com.mock$1.run(mock.java:554)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
zhaojigang
@zhaojigang
Jan 31 2018 09:15
hi,现在我用当前的master分支调试的时候,发现设置netty4会导致服务无法启动?大家有遇到过吗?
alibaba/dubbo#1300
ch3ng
@ibbbb
Jan 31 2018 10:02
官方的starter如何设置dubbo的随机端口