[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-09-03 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 This Pull Request has been merged and it's safe to close this PR. @vincentWangKB --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-09-03 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 This patch looks good enough to be merged. Thanks @vincentWangKB --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-08-29 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 Though there are still quite a few unused files, I am fine to merge this PR first and fix issues later on. --- If your project is set up for it, you can reply to this email

[GitHub] incubator-rocketmq pull request #157: [Rocketmq-277] fix get localhost throw...

2017-08-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/157#discussion_r135698929 --- Diff: common/src/main/java/org/apache/rocketmq/common/MixAll.java --- @@ -407,12 +408,50 @@ private static String localhost

[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-08-24 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 Maybe, we can merge it and create JIRA tickets to polish the code. Any idea? --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] incubator-rocketmq pull request #150: [ROCKETMQ-273] return an expression wh...

2017-08-24 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/150#discussion_r134941070 --- Diff: store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java --- @@ -1094,34 +1090,15 @@ private boolean

[GitHub] incubator-rocketmq pull request #146: [ROCKETMQ-265] fix consume queue’s d...

2017-08-24 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/146#discussion_r134940614 --- Diff: store/src/test/java/org/apache/rocketmq/store/ConsumeQueueTest.java --- @@ -148,6 +148,52 @@ protected void deleteFile(File file

[GitHub] incubator-rocketmq pull request #146: [ROCKETMQ-265] fix consume queue’s d...

2017-08-24 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/146#discussion_r134940511 --- Diff: broker/src/test/java/org/apache/rocketmq/broker/filter/MessageStoreWithFilterTest.java --- @@ -238,7 +238,7 @@ public void

[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-08-20 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 @vincentWangKB Another issue with the code, currently all classes sit in the namespace of metaq, we should rename it to rocketmq. --- If your project is set up for it, you

[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-08-20 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 @vesense Yes, we will do this before actually merging --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] incubator-rocketmq-externals issue #27: [ROCKETMQ-268]add rocketmq-cpp code

2017-08-15 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 Yes, I see your update...Thanks for you contribution. CMake, IMO, is very good to have! One more thing, I think we can assume dependent libraries are all installed

[GitHub] incubator-rocketmq issue #146: [ROCKETMQ-265] fix consume queue’s data may...

2017-08-14 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/146 Please add a link to the JIRA issue. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] incubator-rocketmq-externals issue #27: add rocketmq-cpp code

2017-08-13 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 As it's now part of the Apache RocketMQ project, IMO, rocketmq namespace should be used instead of metaq. --- If your project is set up for it, you can reply to this email

[GitHub] incubator-rocketmq-externals issue #27: add rocketmq-cpp code

2017-08-13 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 A second issue about alog, there are only header files and binary static lib file, where is source code for the static lib files? --- If your project is set up for it, you

[GitHub] incubator-rocketmq-externals issue #27: add rocketmq-cpp code

2017-08-13 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/27 Trying to create a CMakeLists.txt on top of this PR, but it looks there is something missing: ```cpp MetaqJson::Value json ``` I grepped MetaqJson in the code

[GitHub] incubator-rocketmq issue #143: [ROCKETMQ-256] Clean commit log files manuall...

2017-08-10 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/143 1. "As force delete may cause message lost,how about add a warnning in command help?"--->Added. 2. "And also add a monitor disk usage tool command for check.&quo

[GitHub] incubator-rocketmq pull request #143: [ROCKETMQ-256] Clean commit log files ...

2017-08-07 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/143 [ROCKETMQ-256] Clean commit log files manually to specified disk usage watermark Associated JIRA ticket is: https://issues.apache.org/jira/browse/ROCKETMQ-256 You can merge

[GitHub] incubator-rocketmq pull request #120: [ROCKETMQ-224] add rocketmq client log...

2017-07-31 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/120#discussion_r130515522 --- Diff: client/src/main/java/org/apache/rocketmq/client/log/ClientLogger.java --- @@ -27,16 +28,19 @@ public static final String

[GitHub] incubator-rocketmq pull request #120: [ROCKETMQ-224] add rocketmq client log...

2017-07-31 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/120#discussion_r130515214 --- Diff: client/src/test/java/org/apache/rocketmq/client/log/ClientLogTest.java --- @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache

[GitHub] incubator-rocketmq pull request #139: [ROCKETMQ-242] mqclient can not fetch ...

2017-07-31 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/139#discussion_r130507692 --- Diff: client/src/main/java/org/apache/rocketmq/client/impl/factory/MQClientInstance.java --- @@ -255,19 +255,17 @@ public void start

[GitHub] incubator-rocketmq issue #127: [ROCKETMQ-233] Fix pull interval issue

2017-07-31 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/127 @shroman This issue is to reduce fruitless polling for consumer clients. If a consumer subscribes topics which ship messages no that frequent, it may stop for a while in a smart way

[GitHub] incubator-rocketmq pull request #140: [ROCKETMQ-253]Compress RegisterBrokerB...

2017-07-30 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/140 [ROCKETMQ-253]Compress RegisterBrokerBody Refer to the description part of [this issue](https://issues.apache.org/jira/browse/ROCKETMQ-253) please. You can merge this pull request

[GitHub] incubator-rocketmq issue #110: [ROCKETMQ-208]incompatibility problem found i...

2017-07-02 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/110 @Jaskey Please close this PR at your earliest convenient time. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-07-02 Thread lizhanhui
Github user lizhanhui closed the pull request at: https://github.com/apache/incubator-rocketmq/pull/91 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq issue #119: [ROCKETMQ-223]-Rename DEFAULT_TOPIC

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/119 All right. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/118#discussion_r124500517 --- Diff: client/src/main/java/org/apache/rocketmq/client/ClientConfig.java --- @@ -173,12 +177,20 @@ public void setVipChannelEnabled(final

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/118#discussion_r124500269 --- Diff: remoting/src/main/java/org/apache/rocketmq/remoting/netty/FileRegionEncoder.java --- @@ -0,0 +1,76 @@ +/* + * Licensed

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/118#discussion_r124494325 --- Diff: client/src/main/java/org/apache/rocketmq/client/ClientConfig.java --- @@ -173,12 +177,20 @@ public void setVipChannelEnabled(final

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/118#discussion_r124493428 --- Diff: common/src/main/java/org/apache/rocketmq/common/protocol/RequestCode.java --- @@ -17,7 +17,9 @@ package

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/118#discussion_r124492935 --- Diff: common/src/main/java/org/apache/rocketmq/common/protocol/RequestCode.java --- @@ -17,7 +17,9 @@ package

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/118#discussion_r124492297 --- Diff: remoting/src/main/java/org/apache/rocketmq/remoting/netty/FileRegionEncoder.java --- @@ -0,0 +1,76 @@ +/* + * Licensed

[GitHub] incubator-rocketmq issue #119: [ROCKETMQ-223]-Rename DEFAULT_TOPIC

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/119 Looks good to me. Actually some of the client code relies on presence of the topic which would log exceptions otherwise. IMO, we'd better rename the variable name only

[GitHub] incubator-rocketmq issue #119: [ROCKETMQ-223]-Rename DEFAULT_TOPIC

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/119 I am +1 to rename the default topic name. In addition, we'd better resolve all known issues relating the auto-create-topic mechanism. 1. Can we rename the name

[GitHub] incubator-rocketmq issue #128: [ROCKETMQ-234] bugfix - broker will write res...

2017-06-28 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/128 +1 Nice catch. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] incubator-rocketmq pull request #127: [ROCKETMQ-233] Fix pull interval issue

2017-06-27 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/127#discussion_r124255531 --- Diff: test/src/test/java/org/apache/rocketmq/test/client/producer/tls/TlsIntegrationTestBase.java --- @@ -0,0 +1,29

[GitHub] incubator-rocketmq pull request #118: [ROCKETMQ-28] Encrypt transmission lay...

2017-06-13 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/118 [ROCKETMQ-28] Encrypt transmission layer. JIRA issue is [here](https://issues.apache.org/jira/browse/ROCKETMQ-28) You can merge this pull request into a Git repository by running

[GitHub] incubator-rocketmq pull request #111: [ROCKETMQ-28] Add TLS support to provi...

2017-06-13 Thread lizhanhui
Github user lizhanhui closed the pull request at: https://github.com/apache/incubator-rocketmq/pull/111 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq-site pull request #18: [ROCKETMQ-194]Add logappender exam...

2017-06-13 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq-site/pull/18#discussion_r121620804 --- Diff: _docs/20-logappender-example.md --- @@ -0,0 +1,80 @@ +--- +title: "Logappender Example" +permal

[GitHub] incubator-rocketmq issue #84: [ROCKETMQ-155] fix typo in ClientConfig

2017-06-12 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/84 Yes, best to have this change log. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] incubator-rocketmq issue #115: [ROCKETMQ-204]-when all brokers is offline, c...

2017-06-12 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/115 @Jaskey I'll check it today. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] incubator-rocketmq pull request #111: [ROCKETMQ-28] Add TLS support to provi...

2017-06-12 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/111#discussion_r121319741 --- Diff: remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingServer.java --- @@ -169,6 +188,7 @@ public void initChannel

[GitHub] incubator-rocketmq pull request #115: [ROCKETMQ-204]-when all brokers is off...

2017-06-08 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/115#discussion_r120857815 --- Diff: client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPullConsumerImpl.java --- @@ -324,11 +324,16 @@ public void

[GitHub] incubator-rocketmq-site issue #16: [ROCKETMQ-221] Website beta version finis...

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-site/pull/16 This pull request has been merged and please close it at your convenient time. Thanks for your efforts and contribution. --- If your project is set up for it, you can reply

[GitHub] incubator-rocketmq-site issue #16: [ROCKETMQ-221] Website beta version finis...

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-site/pull/16 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq-site issue #15: [ROCKETMQ-217] Polish scheduled message e...

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-site/pull/15 This PR contains contents simple enough, IMO, we can merge it directly as the original content is pretty misleading. --- If your project is set up for it, you can reply

[GitHub] incubator-rocketmq-site issue #15: [ROCKETMQ-217] Polish scheduled message e...

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-site/pull/15 @dongeforever @zhouxinyu Any idea? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] incubator-rocketmq pull request #113: [ROCKETMQ-218] README.md update

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/113#discussion_r120558511 --- Diff: README.md --- @@ -30,12 +30,11 @@ It offers a variety of features as follows: ## Apache RocketMQ Community

[GitHub] incubator-rocketmq pull request #113: [ROCKETMQ-218] README.md update

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/113#discussion_r120557452 --- Diff: README.md --- @@ -3,18 +3,18 @@ [![GitHub release](https://img.shields.io/badge/release-download-orange.svg)](https

[GitHub] incubator-rocketmq issue #114: [ROCKETMQ-220]Add IT test for Filter By SQL 9...

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/114 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq pull request #114: [ROCKETMQ-220]Add IT test for Filter B...

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/114#discussion_r120556852 --- Diff: test/src/main/java/org/apache/rocketmq/test/listener/AbstractListener.java --- @@ -95,6 +95,28 @@ public void stopRecv

[GitHub] incubator-rocketmq issue #112: [ROCKETMQ-219] Add batch example

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/112 Overall +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled

[GitHub] incubator-rocketmq pull request #112: [ROCKETMQ-219] Add batch example

2017-06-07 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/112#discussion_r120554000 --- Diff: example/src/main/java/org/apache/rocketmq/example/batch/SplitBatchProducer.java --- @@ -0,0 +1,97 @@ +/* + * Licensed

[GitHub] incubator-rocketmq-site pull request #15: [ROCKETMQ-217] Polish scheduled me...

2017-06-06 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq-site/pull/15 [ROCKETMQ-217] Polish scheduled message example https://issues.apache.org/jira/browse/ROCKETMQ-217 You can merge this pull request into a Git repository by running: $ git

[GitHub] incubator-rocketmq-site pull request #13: Polish motivation

2017-06-06 Thread lizhanhui
Github user lizhanhui closed the pull request at: https://github.com/apache/incubator-rocketmq-site/pull/13 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq issue #109: [ROCKETMQ-203]Support client to allocate mess...

2017-06-05 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/109 @dongeforever @shroman @zhouxinyu Please review. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] incubator-rocketmq pull request #111: [ROCKETMQ-28] Add TLS support to provi...

2017-06-05 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/111 [ROCKETMQ-28] Add TLS support to provide end-2-end security You can merge this pull request into a Git repository by running: $ git pull https://github.com/lizhanhui/incubator

[GitHub] incubator-rocketmq pull request #109: [ROCKETMQ-203]Support client to alloca...

2017-06-01 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/109#discussion_r119598779 --- Diff: client/src/main/java/org/apache/rocketmq/client/consumer/rebalance/AllocateMachineRoomNearby.java --- @@ -0,0 +1,129

[GitHub] incubator-rocketmq pull request #93: [ROCKETMQ-178] Fix -p -m options

2017-05-27 Thread lizhanhui
Github user lizhanhui closed the pull request at: https://github.com/apache/incubator-rocketmq/pull/93 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq issue #95: [ROCKETMQ-184]-It takes too long(3-33 seconds)...

2017-05-19 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/95 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq issue #106: [ROCKETMQ-202] Using the native transport

2017-05-17 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/106 @shroman @Jaskey @dongeforever @zhouxinyu Guys, please review this minor improvement pull request. --- If your project is set up for it, you can reply to this email and have your

[GitHub] incubator-rocketmq pull request #106: [ROCKETMQ-202] Using the native transp...

2017-05-17 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/106 [ROCKETMQ-202] Using the native transport Since 4.0.16, Netty provides the native socket transport for Linux using JNI. This transport has higher performance and produces less garbage

[GitHub] incubator-rocketmq issue #87: [ROCKETMQ-161] Update runbroker.sh and runserv...

2017-05-16 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/87 It's OK to introduce an extra variable to override default Java VM options. +1 --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] incubator-rocketmq issue #103: [ROCKETMQ-198]add LanguageCode for GO and PHP

2017-05-16 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/103 @StyleTang Merged, please close this issue at your earliest convenient time. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] incubator-rocketmq issue #103: [ROCKETMQ-198]add LanguageCode for GO and PHP

2017-05-16 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/103 +1 Considering this is a trivial change and unlikely to introduce any risk, I'll merge it. --- If your project is set up for it, you can reply to this email and have your

[GitHub] incubator-rocketmq-site issue #12: Add missing maven goal 'package' in get-s...

2017-05-10 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-site/pull/12 Double checked, 'package' is not needed. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] incubator-rocketmq pull request #89: [ROCKETMQ-166] onException callback may...

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/89#discussion_r115650129 --- Diff: client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java --- @@ -306,6 +310,19 @@ public SendResult sendMessage

[GitHub] incubator-rocketmq issue #101: [ROCKETMQ-194] log appender support

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/101 Hi, @lindzh could you further justify this PR? Aka, explain why it's reasonable to create a custom appender? --- If your project is set up for it, you can reply to this email

[GitHub] incubator-rocketmq issue #102: Release 4.0.0 incubating db bugfix

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/102 This issue has been fixed in the develop branch, could you please double-check? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] incubator-rocketmq issue #91: [ROCKETMQ-174]Fix spelling errors

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/91 > please resolve the conflicts firstly, we have to be cautious about this PR. Agree, this PR introduces too many trivial changes and I'd like abandon this PR and create seve

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/91#discussion_r115647528 --- Diff: common/src/main/java/org/apache/rocketmq/common/protocol/route/TopicRouteData.java --- @@ -27,23 +27,23 @@ public class

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/91#discussion_r115645553 --- Diff: client/src/main/java/org/apache/rocketmq/client/impl/MQClientAPIImpl.java --- @@ -907,10 +907,10 @@ public void queryMessage

[GitHub] incubator-rocketmq issue #93: [ROCKETMQ-178] Fix -p -m options

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/93 > Any trouble is still ? No. It's a trivial change and should have been merged/closed. --- If your project is set up for it, you can reply to this email and have your re

[GitHub] incubator-rocketmq issue #96: [ROCKETMQ-187]Measure the code coverage for In...

2017-05-09 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/96 It's good and looks it's already been merged. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] incubator-rocketmq pull request #100: [ROCKETMQ-191] Fix socket options

2017-05-09 Thread lizhanhui
Github user lizhanhui closed the pull request at: https://github.com/apache/incubator-rocketmq/pull/100 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq-site pull request #12: Add missing maven goal 'package' i...

2017-05-09 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq-site/pull/12 Add missing maven goal 'package' in get-started document As per title. You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] incubator-rocketmq issue #100: [ROCKETMQ-191] Fix socket options

2017-05-07 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/100 > please comply with PR best practice for title as you have corrected before. Yes. Fixed. > 2. you can consider the order when many logic and operator together Wh

[GitHub] incubator-rocketmq pull request #100: BugFix: ROCKETMQ-191

2017-04-27 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/100 BugFix: ROCKETMQ-191 As we are setting socket options(sndbuf/recvbuf size) for the future SocketChannel, we need to use childOption for ServerBootstrap class. Semantics

[GitHub] incubator-rocketmq issue #95: [ROCKETMQ-184]-It takes too long(3-33 seconds)...

2017-04-23 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/95 You are right that more changes are required for my suggested approach. But, IMO, the suggested way is more unified in design and may also save a few memory footprint in case we have

[GitHub] incubator-rocketmq issue #95: [ROCKETMQ-184]-It takes too long(3-33 seconds)...

2017-04-21 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/95 Thanks @Jaskey, this is indeed a good place to improve. For the implementation, I suggest an alternative generic way, instead of add a close future for each request, we add

[GitHub] incubator-rocketmq issue #95: [ROCKETMQ-184]-It takes too long(3-33 seconds)...

2017-04-21 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/95 invokeOneway should also be updated if so, otherwise, it's likely to leak semaphore. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] incubator-rocketmq pull request #95: [ROCKETMQ-184]-It takes too long(3-33 s...

2017-04-21 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/95#discussion_r112623142 --- Diff: remoting/src/main/java/org/apache/rocketmq/remoting/netty/NettyRemotingAbstract.java --- @@ -306,29 +307,35 @@ public void

[GitHub] incubator-rocketmq issue #56: [ROCKETMQ-90] Include client IP in consumerPro...

2017-04-20 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/56 @zhouxinyu it's been merged. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] incubator-rocketmq-externals issue #11: [ROCKETMQ-129] Initialized the rocke...

2017-04-19 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq-externals/pull/11 @hooligan520 Support for Windows is removed, right? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your

[GitHub] incubator-rocketmq-externals pull request #11: [ROCKETMQ-129] Initialized th...

2017-04-17 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq-externals/pull/11#discussion_r111867144 --- Diff: rocketmq-client4cpp/example/demo/AsyncProducer.cpp --- @@ -0,0 +1,253 @@ +/** +* Copyright (C) 2013 suwenkuang

[GitHub] incubator-rocketmq-externals pull request #11: [ROCKETMQ-129] Initialized th...

2017-04-17 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq-externals/pull/11#discussion_r111866538 --- Diff: rocketmq-client4cpp/example/demo/AsyncProducer.cpp --- @@ -0,0 +1,253 @@ +/** +* Copyright (C) 2013 suwenkuang

[GitHub] incubator-rocketmq issue #93: [ROCKETMQ-178] Fix -p -m options

2017-04-16 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/93 > No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself. Check the details on how to adjust your bu

[GitHub] incubator-rocketmq pull request #93: [ROCKETMQ-178] Fix -p -m options

2017-04-16 Thread lizhanhui
Github user lizhanhui closed the pull request at: https://github.com/apache/incubator-rocketmq/pull/93 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq pull request #93: [ROCKETMQ-178] Fix -p -m options

2017-04-16 Thread lizhanhui
GitHub user lizhanhui reopened a pull request: https://github.com/apache/incubator-rocketmq/pull/93 [ROCKETMQ-178] Fix -p -m options You can merge this pull request into a Git repository by running: $ git pull https://github.com/lizhanhui/incubator-rocketmq ROCKETMQ-178

[GitHub] incubator-rocketmq pull request #93: [ROCKETMQ-178] Fix -p -m options

2017-04-16 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/93 [ROCKETMQ-178] Fix -p -m options You can merge this pull request into a Git repository by running: $ git pull https://github.com/lizhanhui/incubator-rocketmq ROCKETMQ-178

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-04-13 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/91#discussion_r111524663 --- Diff: client/src/main/java/org/apache/rocketmq/client/producer/LocalTransactionExecutor.java --- @@ -18,6 +18,6 @@ import

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-04-13 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/91#discussion_r111522507 --- Diff: client/src/main/java/org/apache/rocketmq/client/producer/LocalTransactionExecutor.java --- @@ -18,6 +18,6 @@ import

[GitHub] incubator-rocketmq issue #82: [ROCKETMQ-121]Support message filtering based ...

2017-04-13 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/82 Will look into this PR today. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-04-13 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/91#discussion_r111319070 --- Diff: CONTRIBUTING.md --- @@ -11,7 +11,7 @@ To submit a change for inclusion, please do the following: If the change is non

[GitHub] incubator-rocketmq pull request #91: [ROCKETMQ-174]Fix spelling errors

2017-04-12 Thread lizhanhui
GitHub user lizhanhui opened a pull request: https://github.com/apache/incubator-rocketmq/pull/91 [ROCKETMQ-174]Fix spelling errors This is to fix large number of spelling errors. You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] incubator-rocketmq pull request #85: [ROCKETMQ-158]Remove logback dependency...

2017-04-12 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/85#discussion_r67855 --- Diff: common/src/main/java/org/apache/rocketmq/common/utils/LogUtils.java --- @@ -0,0 +1,96 @@ +/* + * Licensed to the Apache

[GitHub] incubator-rocketmq pull request #85: [ROCKETMQ-158]Remove logback dependency...

2017-04-12 Thread lizhanhui
Github user lizhanhui commented on a diff in the pull request: https://github.com/apache/incubator-rocketmq/pull/85#discussion_r67737 --- Diff: common/src/main/java/org/apache/rocketmq/common/utils/LogUtils.java --- @@ -0,0 +1,96 @@ +/* + * Licensed to the Apache

[GitHub] incubator-rocketmq issue #89: [ROCKETMQ-166] onException callback may captur...

2017-04-12 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/89 Comment to bump up this PR. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] incubator-rocketmq issue #78: [ROCKETMQ-141]Make producer client connect to ...

2017-04-12 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/78 Guys, any idea on this PR? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] incubator-rocketmq issue #55: [ROCKETMQ-89] WS_DOMAIN_NAME, SUBGROUP default...

2017-04-12 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/55 Merged. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] incubator-rocketmq issue #55: [ROCKETMQ-89] WS_DOMAIN_NAME, SUBGROUP default...

2017-04-12 Thread lizhanhui
Github user lizhanhui commented on the issue: https://github.com/apache/incubator-rocketmq/pull/55 > But I don't quite understand why it has to have so many levels -- why not to remove rmqAddressServerDomain and let the user use only rocketmq.namesrv.domain ... ? Yes, I

  1   2   >