Re: I add a Scala sample, do you have an interest in it?

2018-09-11 Thread Kun Song
Sorry for my delay. Does the new maven fix it? If not, l will fix the code this night :) 发自我的 iPhone > 在 2018年9月11日,下午3:46,Ian Luo 写道: > > Kun, I merged your code. > > -Ian. > >> On Tue, Sep 11, 2018 at 2:11 PM Ian Luo wrote: >> >> Kun, your scala sample looks pretty good. I kicked a new

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Zonghai Shang
Sorry, invoke refer here: com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker#invoke Zonghai Shang 于2018年9月11日周二 下午4:31写道: > Hi, > > MockClusterInvoker provides local forced mock,I tested it locally, but it > doesn't work. > > @Override > public Result invoke(Invocation invocation)

Local forced trigger mock does not take effect

2018-09-11 Thread Zonghai Shang
Hi, MockClusterInvoker provides local forced mock,I tested it locally, but it doesn't work. @Override public Result invoke(Invocation invocation) throws RpcException { // …. else if (value.startsWith("force")) { if (logger.isWarnEnabled()) { logger.info("force-mock: "

Re: I add a Scala sample, do you have an interest in it?

2018-09-11 Thread Ian Luo
Kun, I merged your code. -Ian. On Tue, Sep 11, 2018 at 2:11 PM Ian Luo wrote: > Kun, your scala sample looks pretty good. I kicked a new build just now, > let's see how it's going for this time. > > On Tue, Sep 11, 2018 at 2:03 PM Ian Luo wrote: > >> Kun, >> >> It fails with >> >> [ERROR]

Re: I add a Scala sample, do you have an interest in it?

2018-09-11 Thread Ian Luo
Kun, It fails with [ERROR] Failed to execute goal > net.alchim31.maven:scala-maven-plugin:3.3.3:compile (default) on project > dubbo-samples-scala: The plugin net.alchim31.maven:scala-maven-plugin:3.3.3 > requires Maven version 3.5.3 -> [Help 1] I upgrade maven to 3.5.4, pls. merge the latest

[ANNOUNCE] Welcome new committer Minxuan Zhuang

2018-09-11 Thread Jun Liu
Hi, Community, On behalf of the Dubbo PPMC, I am pleased to announce that Minxuan Zhuang, whose github id is nzomkxia, has been voted in as a new Dubbo committer. He has did and is doing a great job on dubbo-ops, and I just want to say thanks and congratulations. Please join me to say

[ANNOUNCE] 2.6.3 has been released.

2018-09-11 Thread Jun Liu
Hi Community, I am pleased to announce that the 2.6.3 version has just been released. Both the source release[1] and the maven binary release[2] are available now, you can also find the detailed release notes in here[3] or quickly check the important changes I list below: * Delivery of

Re: [ANNOUNCE] Welcome new committer Minxuan Zhuang

2018-09-11 Thread Zonghai Shang
Congratulations! yiji yuhang xiu 于2018年9月12日周三 上午10:09写道: > Congratulations! > Welcome to Dubbo. :) > > Huxing Zhang 于2018年9月12日周三 上午7:26写道: > > > Congratulations! > > On Tue, Sep 11, 2018 at 8:39 PM Jun Liu wrote: > > > > > > Hi, Community, > > > > > > On behalf of the Dubbo PPMC, I am

Re: [ANNOUNCE] 2.6.3 has been released.

2018-09-11 Thread jun liu
Huxing, > Source release: > https://www.apache.org/dyn/closer.cgi?path=incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip > Binary release: > https://www.apache.org/dyn/closer.cgi?path=incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-bin-release > >

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Zonghai Shang
> 1. Improve the documentation > 2. Consider the configuration of xml compatible with the configuration of the override protocol I agree, maybe a pull request to fix it. Best regards, yiji yuhang xiu 于2018年9月12日周三 上午10:36写道: > Hi guys, > > I also encountered this confusion when I configured

Re: Local forced trigger mock does not take effect

2018-09-11 Thread jun liu
> interface="com.alibaba.dubbo.samples.mock.api.DemoService" mock="force”/> As far as I can describe now, I think you can use: 1. mock=“true”, this will direct the to the default mock implementation with a name convention like DemoServiceMock. 2. mock=“force:return xxx”, directly specify the

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Zonghai Shang
> 1. mock=“true”, this will direct the to the default mock implementation with a name convention like DemoServiceMock. > 3. mock=“org.apache.dubbo.xxx.xxxMock”, specify the class where your mock logic is located. mock=“org.apache.dubbo.xxx.xxxMock” , only throw RpcException to execute the mock,

Re: 关于dubbo的版本

2018-09-11 Thread Zonghai Shang
Welcome, github: https://github.com/apache/incubator-dubbo yiji 宗荣 于2018年9月12日周三 上午11:06写道: > http://mvnrepository.com/artifact/com.alibaba/dubbo > 这个是dubbo版本的官方地址吗,里面的最新版本是2.6.3,但我看网上有一些版本已经到了2.8.4,我是一名刚开始学习dubbo的开发人员,不知能否帮忙解答下,谢谢!

Re: current status of dubbo ops

2018-09-11 Thread Huxing Zhang
On Mon, Sep 10, 2018 at 11:36 PM Minxuan Zhuang wrote: > > dubbo ops is under refactoring, here is some progress status: > 1 the current working branch is *develop*, > 2 the monitor and registry module have been removed Just want to confirm, do you mean that dubbo-monitor has been removed? If

Re: Travis CI failed

2018-09-11 Thread Jerrick Zhu
When I enabled -X, I didn't get any useful informations. Neither upgrading maven-compile-plugin. After that I wanted to remove it in .m2, so removing the cache configuration. Until now I do not find out the reason. On Wed, Sep 12, 2018 at 7:37 AM Huxing Zhang wrote: > Hi, > > On Tue, Sep 11,

Re: Local forced trigger mock does not take effect

2018-09-11 Thread jun liu
>> 2. mock=“force:return xxx”, directly specify the return value you want. > This may be the case you want to use, but I think you just forget the mock > value you want. > > It does’t work, cause: > PropertyAccessException 1: > org.springframework.beans.MethodInvocationException: Property 'mock'

Re: Travis CI failed

2018-09-11 Thread Huxing Zhang
Hi, On Tue, Sep 11, 2018 at 11:41 AM Jerrick Zhu wrote: > > I try to remove the cache in .travis.yml, > > ``` > cache: > directories: > - '$HOME/.m2/repository' > ``` I have also tried a few times. How did you find it out? Are you using maven -X for debugging? > > Now it works. Maybe the cache

Re: The effect of Provider async on the Consumer side

2018-09-11 Thread Huxing Zhang
On Mon, Sep 10, 2018 at 10:10 AM yuhang xiu wrote: > > Hi Huxing, > This is because there is a bug that causes them to be inconsistent. We > removed the async attribute from the Provider in ClusterUtil, but did not > remove the method.async attribute, causing the Provider's method.async to >

Re: about grpc support

2018-09-11 Thread Jerrick Zhu
Actually this task doesn't start yet. U are welcome if u could join to start it. On Wed, Sep 12, 2018 at 11:16 AM 莫里亚提 <1249499...@qq.com> wrote: > hello: > > > 想了解下dubbo grpc协议支持feature的进展。我的理解,要支持grpc streaming调用的特性的话,需要使用grpc stub > layer,但是在export, refer, invoker这些grpc组件对接 > > >

Re: [ANNOUNCE] Welcome new committer Minxuan Zhuang

2018-09-11 Thread Huxing Zhang
Congratulations! On Tue, Sep 11, 2018 at 8:39 PM Jun Liu wrote: > > Hi, Community, > > On behalf of the Dubbo PPMC, I am pleased to announce that Minxuan Zhuang, > whose github id is nzomkxia, has been voted in as a new Dubbo committer. > > He has did and is doing a great job on dubbo-ops, and I

Re: [ANNOUNCE] 2.6.3 has been released.

2018-09-11 Thread Huxing Zhang
On Wed, Sep 12, 2018 at 8:48 AM jun liu wrote: > > Huxing, > > > Source release: > > https://www.apache.org/dyn/closer.cgi?path=incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip > > Binary release: > >

Re: [Discuss]Prepare for the next release v2.6.4

2018-09-11 Thread Huxing Zhang
On Mon, Sep 10, 2018 at 10:35 AM Jun Liu wrote: > > > Do you think we need another one to be the release manager? In case > > that we can make sure our release guide works perfectly. > > Yes, I think we need a new manager to do the next release, to get familiar > with and improve the release

Issue all of the random failed UT cases

2018-09-11 Thread Jerrick Zhu
Hi, community I found that many cases failed on travis, randomly. https://github.com/apache/incubator-dubbo/issues/2492 https://github.com/apache/incubator-dubbo/issues/2490 https://github.com/apache/incubator-dubbo/issues/2484 https://github.com/apache/incubator-dubbo/issues/2482

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Ian Luo
Jun, Are you suggesting the mock behavior works as expected? If so, we may consider to add the corresponding samples if we have done it yet. Thanks, -Ian. On Wed, Sep 12, 2018 at 8:56 AM jun liu wrote: > > > interface="com.alibaba.dubbo.samples.mock.api.DemoService" mock="force”/> > > As

Re: [ANNOUNCE] 2.6.3 has been released.

2018-09-11 Thread Huxing Zhang
Glad to hear that! There is one more thing to do: add download link to the official ASF release. Source release: https://www.apache.org/dyn/closer.cgi?path=incubator/dubbo/2.6.3/apache-dubbo-incubating-2.6.3-source-release.zip Binary release:

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Ian Luo
I did a quick check in samples project, and it did have samples to demonstrate mock functionality. Pls. ignore my last email. On Wed, Sep 12, 2018 at 10:19 AM Ian Luo wrote: > Jun, > > Are you suggesting the mock behavior works as expected? If so, we may > consider to add the corresponding

Re: Local forced trigger mock does not take effect

2018-09-11 Thread yuhang xiu
Hi guys, I also encountered this confusion when I configured the mock in xml. Now it seems that the form of mock=force:return xxx can only be used when dynamically configured using the override protocol, which does not match the configuration of the xml. I think we need to do one of the

关于dubbo的版本

2018-09-11 Thread 宗荣
http://mvnrepository.com/artifact/com.alibaba/dubbo这个是dubbo版本的官方地址吗,里面的最新版本是2.6.3,但我看网上有一些版本已经到了2.8.4,我是一名刚开始学习dubbo的开发人员,不知能否帮忙解答下,谢谢!

Re: 关于dubbo的版本

2018-09-11 Thread Jerrick Zhu
The newest version is 2.6.3. U can use this. 2.8.x is the dubbox, forked by dangdang.com. But now it has been deprecated, the main feature(rest) has been merged back to dubbo. Do not use dubbox again. On Wed, Sep 12, 2018 at 11:06 AM 宗荣 wrote: >

[DISCUSS] A metric to measure the response time to issues/prs

2018-09-11 Thread Huxing Zhang
Hi, I just find an article [1] complaining about the response time to pull request and issues. I think we can use a metric to measure the response time, and I found this [2]. It looks like we are not doing very well. Does the community think it is useful to have such an metric? Is there

Re: Travis CI failed

2018-09-11 Thread Ian Luo
I suggest to add back maven cache configuration to check if it's recovered. It helps on speeding the build. On Wed, Sep 12, 2018 at 8:47 AM Jerrick Zhu wrote: > When I enabled -X, I didn't get any useful informations. Neither upgrading > maven-compile-plugin. > After that I wanted to remove it

Re: [ANNOUNCE] Welcome new committer Minxuan Zhuang

2018-09-11 Thread Jerrick Zhu
Congrats. On Wed, Sep 12, 2018 at 11:44 AM Zonghai Shang wrote: > Congratulations! > > yiji > > yuhang xiu 于2018年9月12日周三 上午10:09写道: > > > Congratulations! > > Welcome to Dubbo. :) > > > > Huxing Zhang 于2018年9月12日周三 上午7:26写道: > > > > > Congratulations! > > > On Tue, Sep 11, 2018 at 8:39 PM Jun

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Zonghai Shang
I have found it , I will fix it later. yiji jun liu 于2018年9月12日周三 下午12:45写道: > > >> 2. mock=“force:return xxx”, directly specify the return value you want. > > This may be the case you want to use, but I think you just forget the > mock > > value you want. > > > > It does’t work, cause: > >

回复:关于dubbo的版本

2018-09-11 Thread 秦金卫
2.8.× is the dubbox version,not dubbo,dubbo Only 2.6.x and 2.7.x | | 秦金卫 邮箱:kimmk...@163.com | 签名由 网易邮箱大师 定制 在2018年09月12日 11:00,宗荣 写道: http://mvnrepository.com/artifact/com.alibaba/dubbo这个是dubbo版本的官方地址吗,里面的最新版本是2.6.3,但我看网上有一些版本已经到了2.8.4,我是一名刚开始学习dubbo的开发人员,不知能否帮忙解答下,谢谢!

Re: current status of dubbo ops

2018-09-11 Thread jun liu
> if you are interested in this project, please consider to accomplish > service governance pages(dynamic config, load balance, etc.), the layout is > similar with the current routing rule page, and submit pr to develop > branch, thanks Some guys in community and I are working with the new format

Re: The effect of Provider async on the Consumer side

2018-09-11 Thread yuhang xiu
Hi, community, After checking the code and discussion, I think it would be better if you fix this problem at both ends. 1. On the Provider side, the method.async is not exposed to ensure compatibility. 2. Ignore the Provider's method.async property on the Consumer side to ensure that the

about grpc support

2018-09-11 Thread ????????
hello: dubbo grpcfeaturegrpc streaminggrpc stub layerexport?? refer?? invokergrpc ?? Best Regards, dp

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Ian Luo
ZhongHai, Would you mind to fire an issue on GitHub? Thanks, -Ian. On Tue, Sep 11, 2018 at 4:32 PM Zonghai Shang wrote: > Sorry, invoke refer > here: > com.alibaba.dubbo.rpc.cluster.support.wrapper.MockClusterInvoker#invoke > > Zonghai Shang 于2018年9月11日周二 下午4:31写道: > > > Hi, > > > >

Re: Local forced trigger mock does not take effect

2018-09-11 Thread Zonghai Shang
Hi lan luo, Yeah, I have recorded and tracked, refer : https://github.com/apache/incubator-dubbo/issues/2489 Thanks for your reply, yiji Ian Luo 于2018年9月11日周二 下午11:00写道: > ZhongHai, > > Would you mind to fire an issue on GitHub? > > Thanks, > -Ian. > > > On Tue, Sep 11, 2018 at 4:32 PM

Re: I add a Scala sample, do you have an interest in it?

2018-09-11 Thread Kun Song
Thanks, I will add more if I get one :) > 在 2018年9月11日,下午10:33,Ian Luo 写道: > > Yes, it's been fixed. Any other sample planed to add, BTW :) > > Thanks, > -Ian. > > On Tue, Sep 11, 2018 at 4:15 PM Kun Song wrote: > >> Sorry for my delay. >> >> Does the new maven fix it? If not, l will fix

Remaining branches

2018-09-11 Thread Huxing Zhang
Hi, I am still seeing several branches after 2.6.3 release: * 2.6.3-release * apache-release-script * dev-metadata Are these branches still being used? -- Best Regards! Huxing

Re: I add a Scala sample, do you have an interest in it?

2018-09-11 Thread Ian Luo
Yes, it's been fixed. Any other sample planed to add, BTW :) Thanks, -Ian. On Tue, Sep 11, 2018 at 4:15 PM Kun Song wrote: > Sorry for my delay. > > Does the new maven fix it? If not, l will fix the code this night :) > > 发自我的 iPhone > > > 在 2018年9月11日,下午3:46,Ian Luo 写道: > > > > Kun, I merged