Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:48
    gMan1990 commented #2052
  • 11:47
    gMan1990 commented #2781
  • 11:32
    htynkn closed #5164
  • 10:09
    896938034 opened #5371
  • 09:58
    896938034 edited #5370
  • 09:58
    896938034 edited #5370
  • 09:57
    896938034 opened #5370
  • 09:53
    yangb001 commented #5223
  • 09:39
    supercocoa edited #5336
  • 09:35
    RyouZhang commented #5361
  • 09:20
    meteorice commented #507
  • 09:18
    RyouZhang commented #5361
  • 09:17
    meteorice commented #507
  • 07:42
    tonyLee1 commented #5332
  • 07:42
    liujianbigboss edited #5369
  • 07:41
    liujianbigboss opened #5369
  • 07:21
    sourirer commented #5300
  • 07:16
    laddcn commented #546
  • 07:04
    lzf971107 edited #532
  • 07:01
    lzf971107 opened #532
hoheart
@hoheart
可以
vincent
@Dark0Forest
dubbo 消费端有办法获取是哪个生产端调用的么
itfredmoon
@itfredmoon
有人吗。。
qunxing
@xingguangsixian
dubbuo现在2.7.1稳定吗?能用到生产环境吗?
dubbo的http协议加api网关大家都怎么搞的,是结合spring boot的,用spring cloud gateway的网关吗?
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