Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:05
    maxiaodong58 commented #546
  • 14:22
    supercocoa commented #4793
  • 14:21
    supercocoa edited #4793
  • 14:08
    gp16860 opened #546
  • 09:55
    mercyblitz assigned #5333
  • 09:55
    mercyblitz opened #5333
  • 09:21

    mercyblitz on master

    [Bugfix] Resolve the issues abo… [Refactor] Dubbo Spring based o… (compare)

  • 08:40
    hisenyuan edited #529
  • 08:39
    hisenyuan edited #529
  • 08:39
    hisenyuan opened #529
  • 07:36
    chickenlj commented #5273
  • 07:24

    chickenlj on master

    change protoc compiler version … change from throwing exception … Add comments for gRPC implement… (compare)

  • 06:21
    chickenlj commented #5269
  • 06:17
    chickenlj closed #5279
  • 06:17
    chickenlj closed #5275
  • 05:51

    chickenlj on master

    fix grpc impl proxy problem, co… add gpg signing plugin for prot… fix grpc impl proxy problem (compare)

  • 05:37

    chickenlj on master

    use default revision N/A (compare)

  • 05:36

    chickenlj on master

    Revert "mreged changes from met… Revert "revert metadata related… (compare)

  • 03:40
    codecov-io commented #545
  • 03:34
    polarbear567 opened #545
kuailerensheng
@kuailerensheng
请问一下dubbo(版本2.6.2)发布的webservice用cxf怎么调用?我用 cxf生成的客户端调用会报错:Fault string, and possibly fault code, not set 这个问题怎么解决?
qunxing
@xingguangsixian
dubbo-spring-boot中,dubbo的service怎么调用dao的接口,现在dubbo管理的service和spring容器管理的dao不能相互调用,service无法注入dao,有解决方案没?
wecloud2008
@wecloud2008
Spring boot 2怎么使用dubbo
JianNie
@niejian
@xingguangsixian 2.7.1有问题,尽量用2.7.2
风险提示:升级到2.7.1版本后,注册中心(多数是zookeeper)在某些特殊场景下会出现重复URL地址数据无法删除,导致消费方拿到的是失效地址,从而导致调用失败的问题,2.7.2版本里面会修复此问题,预计6月初发布。详细原因请参考#4213
Wayhe
@WorkAccounthjj
老哥们 客户端连zookeeper是好是坏 异常:07-09 13:54:01.369 INFO o.a.z.ClientCnxn - Opening socket connection to server 172.30.30.125/172.30.30.125:2181. Will not attempt to authenticate using SASL (unknown error)
07-09 13:54:08.369 WARN o.a.z.ClientCnxn - Session 0x26b2ad901c6009c for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:712)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
这种怎么回事 有大佬遇到过吗
天璇
@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.