Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:03
    zlba111 closed #5347
  • 05:36
    tiyxing opened #5368
  • 05:25
    htynkn commented #5138
  • 04:30
    liujianbigboss opened #5367
  • 03:46
    CodingSinger commented #5361
  • 02:29
    zhangyz-hd commented #5365
  • 02:25
    zhangyz-hd edited #5366
  • 02:22
    zhangyz-hd edited #5366
  • 02:22
    zhangyz-hd opened #5366
  • 02:17
    zhangyz-hd opened #5365
  • 01:35
    hzhxxx edited #5364
  • 01:33
    hzhxxx opened #5364
  • 01:20
    zhangyz-hd closed #5358
  • 01:17
    LinShunKang closed #5362
  • 01:17
    Python-IBM closed #5157
  • 01:15
    Python-IBM closed #5220
  • Nov 19 17:05
    Moriadry closed #5013
  • Nov 19 16:19
    maxiaodong58 opened #5363
  • Nov 19 15:13
    LinShunKang commented #5134
  • Nov 19 15:11
    LinShunKang opened #5362
Wayhe
@WorkAccounthjj
这种怎么回事 有大佬遇到过吗
天璇
@caojiele
@martinzh717 Hi, 前者是dubbo孵化时候的域名,后者是毕业后的域名。
wulcy
@wulcy
问一下,dubbo 反序列 lambda 失败,这个有解决办法吗?
jerry-wei
@weizunde
spi方式怎样设置超时时间
wujinbiao
@wujinbiao94
dubbo传输的数据包大小有没有什么地方能够监控呀
Lsxk
@Lsxk

telnet invoke命令调用时,如何设置RpcContext中的attachment信息?

tang199010
@tang199010
RpcContext.getContext().setAttachment(TraceIdUtil.TRACE_ID, TraceIdUtil.getTraceId());
这个设置对象之后,在服务端读取一直获取到上一个对象缓存值,不知道为什么!!
invocation.getAttachments().put(TraceIdUtil.TRACE_ID, TraceIdUtil.getTraceId());
最后这样就不会出现了,每次拿到都是最新的值
Dubbo Spring Boot 对我来说还是很好使用的,但一直有一个问题困恼我,就是分布式事物的处理,经过我半月研究,提出了自己解决分布式事物的一种处理方式,请各位大神有需要可以使用看看,有任何问题提出来可以一起讨论完善;
我这个分布式事物解决方法优势:零配置、零耦合、零依赖、且高效率、应用简单。具体引用说明链接:https://blog.csdn.net/WOSHITANGWENLE/article/details/89245056
tang199010
@tang199010
请阿里云的技术大神可以了解下,这个分布式事物,个人觉得目前来说还是不错的一种解决思路
王渊
@xiaohe5096
不提供源码吗?
@tang199010
天璇
@caojiele

Hi, Community,
随着Apache Dubbo 项目惊人的速度高效地成长,Dubbo官网中的文档和博客文章需要日益完善,目前需要社区的小伙伴们一起共建,共建传送门:apache/dubbo-website#368 ,认领后在此issue回复即可👏👏👏。再次感谢大家共建!
大家有什么想法和建议,非常期待大家的回复。

——
Hi, Community,

As apache dubbo speed growth efficiently, Apache Dubbo project document and blog posts of Dubbo website needs to be increasingly perfect, the need for community friends together to build, build link: apache/dubbo-website#368, after the claim reply on this issue.Thank you once again to build! Everyone has any ideas and suggestions? I look forward to your reply.

Best Regards!
Jiele

Junjian Peng
@mzorro
@tang199010 你的实现和2PC有什么区别?源码可以早点放出来
Boodmanli
@Boodmanli
Hi 各位
com.alibaba.dubbo.remoting.RemotingException: Failed to send message OK
dubbo> to /127.0.0.1:38968, cause: null
at com.alibaba.dubbo.remoting.transport.netty.NettyChannel.send(NettyChannel.java:108)
at com.alibaba.dubbo.remoting.transport.AbstractPeer.send(AbstractPeer.java:51)
at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:185)
at com.alibaba.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:52)
at com.alibaba.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:82)
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)
Caused by: java.nio.channels.ClosedChannelException: null
at org.jboss.netty.channel.socket.nio.NioWorker.cleanUpWriteBuffer(NioWorker.java:645)
at org.jboss.netty.channel.socket.nio.NioWorker.writeFromUserCode(NioWorker.java:372)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:137)
at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:76)
at org.jboss.netty.channel.Channels.write(Channels.java:632)
at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:70)
at com.alibaba.dubbo.remoting.transport.netty.NettyHandler.writeRequested(NettyHandler.java:99)
at org.jboss.netty.channel.Channels.write(Channels.java:611)
at org.jboss.netty.channel.Channels.write(Channels.java:578)
at org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:251)
at com.alibaba.dubbo.remoting.transport.netty.NettyChannel.send(NettyChannel.java:98)
... 7 common frames omitted
14:07:08.939 [DubboServerHandler-192.168.24.1:8099-thread-200] INFO com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol - [DUBBO] disconected from /127.0.0.1:38968,url:dubbo://192.168.24.1:8099/com.gbs.user.api.IUserService?anyhost=true&application=gbs-user-service&channel.readonly.sent=true&codec=dubbo&dubbo=2.5.3&heartbeat=60000&interface=com.gbs.user.api.IUserService&methods=queryIncomingInfo,listIncomingInfo,saveUserVisitRecord,listUser,saveUser&owner=shiqingxing&pid=9675&revision=0.2.0-20190821.060753-2&side=provider&threads=200&timestamp=1566540327280, dubbo version: 2.5.3, current host: 127.0.0.1
tang199010
@tang199010
@mzorro @xiaohe5096
分布式事务,mything源代码的地址:https://gitee.com/tang19901/mything
我这个分布式事物解决方法优势:零配置、零耦合、零依赖、且高效率、应用简单
tang199010
@tang199010
大家可以参考下看看,这个只是解决思路。
王渊
@xiaohe5096
没有权限看 @tang199010
tang199010
@tang199010
@xiaohe5096 可以了,忘记打开权限
zhihaozhao123
@zhihaozhao123
[2019-08-30 17:39:57,140]-[New I/O worker #4]-[com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation] - [DUBBO] Decode rpc invocation failed: expected map/object at java.lang.String (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;), dubbo version: 2.5.3, current host: 127.0.0.1
com.alibaba.com.caucho.hessian.io.HessianProtocolException: expected map/object at java.lang.String (Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)
at com.alibaba.com.caucho.hessian.io.AbstractDeserializer.error(AbstractDeserializer.java:108)
at com.alibaba.com.caucho.hessian.io.AbstractMapDeserializer.readObject(AbstractMapDeserializer.java:70)
at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1696)
at com.alibaba.dubbo.common.serialize.support.hessian.Hessian2ObjectInput.readObject(Hessian2ObjectInput.java:94)
at com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:119)
at com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcInvocation.decode(DecodeableRpcInvocation.java:71)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboCodec.decodeBody(DubboCodec.java:137)
at com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:126)
at com.alibaba.dubbo.remoting.exchange.codec.ExchangeCodec.decode(ExchangeCodec.java:87)
at com.alibaba.dubbo.rpc.protocol.dubbo.DubboCountCodec.decode(DubboCountCodec.java:46)
at com.alibaba.dubbo.remoting.transport.netty.NettyCodecAdapter$InternalDecoder.messageReceived(NettyCodecAdapter.java:134)
at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
at org.jboss
konglz
@konglz
请教一下,dubbo支持GRPC大概啥时候可以release呀?
dmtd78
@dmtd78

[{"metric":"dubbo.provider.success_bucket_count","timestamp":1569359160000,"value":0.0,"metricType":"DELTA","tags":{},"metricLevel":"MAJOR","meterName":null,"interval":5,"service":null},{"metric":"dubbo.provider.bucket_count","timestamp":1569359160000,"value":0.0,"metricType":"DELTA","tags":{},"metricLevel":"MAJOR","meterName":null,"interval":5,"service":null},{"metric":"dubbo.provider.bucket_sum","timestamp":1569359160000,"value":0.0,"metricType":"DELTA","tags":{},"metricLevel":"MAJOR","meterName":null,"interval":5,"service":null},{"metric":"dubbo.provider.qps","timestamp":1569359160000,"value":0.0,"metricType":"GAUGE","tags":{},"metricLevel":"MAJOR","meterName":null,"interval":5,"service":null},{"metric":"dubbo.provider.rt","timestamp":1569359160000,"value":0.0,"metricType":"GAUGE","tags":{},"metricLevel":"MAJOR","meterName":null,"interval":5,"service":null},{"metric":"dubbo.provider.success_rate","timestamp":1569359160000,"value":0.0,"metricType":"GAUGE","tags":{},"metricLevel":"MAJOR","meterName":null,"interval":5,"service":null},{"metric":"dubbo.provider.method.success_bucket_count","timestamp":1569359145000,"value":0.0,"metricType":"DELTA","tags":{"method":"DemoDTO test(String)","service":"com.sunwin.dubbozkpdemo.service.DemoService"},"metricLevel":"NORMAL","meterName":null,"interval":15,"service":"com.sunwin.dubbozkpdemo.service.DemoService"},{"metric":"dubbo.provider.method.bucket_count","timestamp":1569359145000,"value":0.0,"metricType":"DELTA","tags":{"method":"DemoDTO test(String)","service":"com.sunwin.dubbozkpdemo.service.DemoService"},"metricLevel":"NORMAL","meterName":null,"interval":15,"service":"com.sunwin.dubbozkpdemo.service.DemoService"},{"metric":"dubbo.provider.method.bucket_sum","timestamp":1569359145000,"value":0.0,"metricType":"DELTA","tags":{"method":"DemoDTO test(String)","service":"com.sunwin.dubbozkpdemo.service.DemoService"},"metricLevel":"NORMAL","meterName":null,"interval":15,"service":"com.sunwin.dubbozkpdemo.service.DemoService"},{"metric":"dubbo.provider.method.qps","timestamp":1569359145000,"value":0.0,"metricType":"GAUGE","tags":{"method":"DemoDTO test(String)","service":"com.sunwin.dubbozkpdemo.service.DemoService"},"metricLevel":"NORMAL","meterName":null,"interval":15,"service":"com.sunwin.dubbozkpdemo.service.DemoService"},{"metric":"dubbo.provider.method.rt","timestamp":1569359145000,"value":0.0,"metricType":"GAUGE","tags":{"method":"DemoDTO test(String)","service":"com.sunwin.dubbozkpdemo.service.DemoService"},"metricLevel":"NORMAL","meterName":null,"interval":15,"service":"com.sunwin.dubbozkpdemo.service.DemoService"},{"metric":"dubbo.provider.method.success_rate","timestamp":1569359145000,"value":0.0,"metricType":"GAUGE","tags":{"method":"DemoDTO test(String)","service":"com.sunwin.dubbozkpdemo.service.DemoService"},"metricLevel":"NORMAL","meterName":null,"interval":15,"service":"com.sunwin.dubbozkpdemo.service.DemoService"},{"metric":"threadPool.active","timestamp":null,"value":1.0,"metricType":null,"tags":{},"metricLevel":"MAJOR","meterName":null,"interval":-1,"service":null},{"metric":"threadPool.core","timestamp":null,"value":200.0,"metricType":null,"tags":{},"metricLevel":"MAJOR","meterName":null,"interval":-1,"service":null},{"metric":"threadPool.max","timestamp":null,"value":200.0,"metricType":null,"tags":{},"metricLevel":"MAJOR","meterName":null,"interval":-1,"service":null},{"metric":"threadPool.current","timestamp":null,"value":9.0,"metricType":null,"tags":{},"metricLevel":"MAJOR","meterName":null,"interval":-1,"service":null}]

服务统计有json数据返回,但是页面不显示,dubbo版本2.7.3,dubbo-admin为最新的develop,有大神可以指点一下吗?

provider配置

<dubbo:application name="provider" />
<!-- zookeeper作为注册中心 -->

<dubbo:registry protocol="zookeeper" address="zookeeper://192.168.192.137:2181?backup=192.168.192.136:2181,192.168.192.135:2181"/>
<!-- 用dubbo协议在20880端口暴露服务 -->

<dubbo:protocol name="dubbo" port="20880" />

<dubbo:config-center address="zookeeper://192.168.192.137:2181?backup=192.168.192.136:2181,192.168.192.135:2181" />

<dubbo:monitor protocol="registry" />

<dubbo:provider filter="metrics" group="dubbo"/>
<!-- 生成远程服务代理,可以和本地bean一样使用demoService -->

<dubbo:service interface="com.sunwin.dubbozkpdemo.service.DemoService" ref="demoService"/>

<dubbo:metrics port="20880" protocol="dubbo" />

<bean id="demoService" class="com.sunwin.dubbozkpdemo.service.impl.DemoServiceImpl" />

consumer配置

<dubbo:application name="consumer" />
<dubbo:monitor protocol="registry"/>
<!-- zookeeper作为注册中心 -->
<dubbo:registry protocol="zookeeper" address="zookeeper://192.168.192.137:2181?backup=192.168.192.136:2181,192.168.192.135:2181" />
<!-- 生成远程服务代理,可以和本地bean一样使用demoService -->

<dubbo:metrics port="20880" protocol="dubbo"/>

<dubbo:consumer filter="metrics" group="dubbo"/>

<dubbo:reference interface="com.sunwin.dubbozkpdemo.service.DemoService" id="demoService" group="dubbo"/>

Adrian Cole
@adriancole
hi. is this the same room as apache dubbo?
if so, in brave we are trying to release apache dubbo and in travis CI, tests that pass on OS/x fail Which looks like a bug
ex
Caused by: org.apache.dubbo.common.bytecode.NoSuchMethodException: Not found method "sayHello" in class org.apache.dubbo.rpc.service.GenericService.
for some reason it is looking for the RPC method on the wrong type. "sayHello" would be on the interface type, not in the generic one
I tried to look through changelog for 2.7.4 and it was too much to notice. Also, I can't even find how javaassist ends up in the jar, because there is no reference to javaassist artifact in the entire repo.
ex
± |master ✓| →  ag javaassist
dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/proxy/javassist/JavassistProxyFactory.java
28: * JavaassistRpcProxyFactory
no result matching the actual anything that would result in the dependency "org.javassist:javassist:jar:3.20.0-GA:provided"
so must be pulled implicitly somehow
anyway I don't know if this is a javaassist problem, but anyway if you know why this can happen in ubuntu, or if you seen a solution to this mismatch method. let me know
the problem does not exist in alibaba dubbo
only so far I can find in apache dubbo 2.7.3 .. I know 2.7.4 is being release voted, but I looked at the vote thread and suspect it isn't going to be out in the next day
Adrian Cole
@adriancole
main thing going on is we in zipkin are adding RPC sampling and I want to make sure dubbo works, and not just the alibaba one openzipkin/brave#1000
Adrian Cole
@adriancole
I will try next release of dubbo as upgrading javaassist didn't help .. anyway whatever is pulling in javaassist is also pulling old version 3.20 which has errors in recent JRE openzipkin/brave#1003
Adrian Cole
@adriancole
latest release works, but I think apache release is hung @chickenlj is this true?
looks like some debate so 2.7.4 is stuck and not likely to be released soon right?
天璇
@caojiele

Hi, Community,
Blog & Docs translation plan #368: apache/dubbo-website#368 最新状态已经更新,请认领任务的小伙伴请及时pre,想成为Dubbo contributor 的小伙伴可以关注这个计划,坑位还有,请及时占坑~
认领后在此issue回复即可。再次感谢大家共建!
大家有什么想法和建议,非常期待大家的回复。

——
Hi, Community,
Blog & Docs translation plan # 368: apache/dubbo-website#368 latest status has been updated, please claim the task friend please pre, want to be a dubbo contributor buddy can focus on the plan, after the claim reply on this issue.
Thank you once again to build! Everyone has any ideas and suggestions? I look forward to your reply.

ettingshausen
@ettingshausen
dubbo-admin 示例服务器是挂了么?
slankka
@slankka
FeignClient 和Dubbo 一起用,Dubbo ServiceBean会错误的收到 Feign的Event,有人解决这个问题吗
apache/dubbo#3990
emacsist
@emacsist
话说, 什么时候 2.7.4 版本发布?
pengfeinote
@pengfeinote
使用dubbo-2.6,自定义实现了Router和RouterFactory,通过接口参数进行路由,也按照文档在META-INF/dubbo中添加了文件。但是怎么让reference对应的调用使用这个Router呢,看了所有配置,跟了半天源码也没找到合适的方法
大雁小鱼
@luyuanwan
@ettingshausen 是挂了,打不开