Commit Graph
7496 Commits
Author SHA1 Message Date
NowinkeyandZhanhui Li 3690049cb5 [ISSUE #5223] Enable checkstyle for test code (rocketmq-test) (#5224)
* style(test):Enable checkstyle for test code

* Sync bazel ignore list with renaming

Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
2022-09-29 18:24:56 +08:00
Nowinkey b0d0deca0b [ISSUE #5221] Enable checkstyle for test code (rocketmq-store) (#5222)
* style(store):Enable checkstyle for test code

* style(store):Enable checkstyle for test code (supplement)
2022-09-29 17:22:01 +08:00
Dongyuan Pan cf6ed4d576 bugfix: compatible rocketmq-mqtt save offset (#5208) 2022-09-29 16:56:21 +08:00
Nowinkey a5725c6b85 [ISSUE #5219] Enable checkstyle for test code (rocketmq-acl and rocketmq-tools) (#5220)
* style(acl):Enable checkstyle for test code

* style(tools):Enable checkstyle for test code
2022-09-29 11:46:56 +08:00
Nowinkey 0ad7db6956 [ISSUE #5216] Enable checkstyle for test code (rocketmq-controller, rocketmq-remoting and rocketmq-proxy) (#5218)
* style(remoting):Enable checkstyle for test code

* style(controller):Enable checkstyle for test code

* style(proxy):Enable checkstyle for test code
2022-09-29 11:46:00 +08:00
mxsm 0e16aa261d [ISSUE #5210]Fix controller quick start document some command error (#5217) 2022-09-29 10:29:50 +08:00
Nowinkey b82531c432 style(common):Enable checkstyle for test code (#5215) 2022-09-29 10:27:42 +08:00
Nowinkey 6f8568ea50 style(client):Enable checkstyle for test code (#5211) 2022-09-29 10:25:47 +08:00
Oliver 198f786ee3 [ISSUE #5152] Change the error log level to error (#5153) 2022-09-28 14:25:50 +08:00
Jack Tsaiandtsaitsung-han.tht 937e231cdf Add GitHub Action Pipeline to automate release of RocketMQ Snapshots (#5118)
Co-authored-by: tsaitsung-han.tht <tsaitsung-han.tht@alibaba-inc.com>
2022-09-28 13:27:37 +08:00
Zhanhui Li b403e6eee2 [ISSUE #5201]Use pull request to replace pull request target (#5202)
* Use pull request to replace pull request target

* Make Bazel Pipeline required
2022-09-28 12:41:25 +08:00
lk 4a2bdeadce [ISSUE #5195] write data directly when there is no topicsList of publishing (#5196) 2022-09-28 11:44:12 +08:00
d52be62f71 [ISSUE #5122] Enable checkstyle for test code (rocketmq-broker module) (#5193)
* style(pom):Enable checkstyle for test code

* style(broker):Enable checkstyle for test code

* Update pom.xml

* Enable checkstyle for tests of broker module

* Remove delete tmp file assertion as OS may have cron job to clean them

* Fix bazel issue

Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2022-09-28 11:26:44 +08:00
lizhimins 2c6ea9eeaf [ISSUE #5198] Fix NPE in ClusterList SubCommand (#5199) 2022-09-28 11:07:22 +08:00
lizhimins b8607d917c [ISSUE #5095] Support socks proxy in remoting client (#5123) 2022-09-28 10:22:55 +08:00
Aaron Ai b6072508f3 Disable merge button (#5190) 2022-09-27 09:39:46 +08:00
Aaron Ai 28a62edfdc Update badge (#5192) 2022-09-27 09:38:19 +08:00
lizhiminsand斜阳 a3e596550d [ISSUE #5180] Support domain resolution to obtain the nameserver address (#5189)
* [ISSUE #5180] Support domain resolution to obtain the nameserver address

* [ISSUE #5180] Support domain resolution to obtain the nameserver address

Co-authored-by: 斜阳 <terrance.lzm@alibaba-inc.com>
2022-09-26 19:15:29 +08:00
Zhanhui Li 5723b97964 [ISSUE #5126]Make all tests in ACL module pass on Windows (#5127)
* Make all tests pass on Windows

* Run in serial
2022-09-26 17:47:19 +08:00
isysc1and杨事昌 613d483a18 fix-ysc:修复文件预热 (#4903)
Co-authored-by: 杨事昌 <yryangsc25519@yunrong.cn>
2022-09-26 10:25:53 +08:00
alexcaoand勇敢的心 d40765db49 [ISSUE #5138] Do not throw exception in order producer demo (#5185)
Co-authored-by: 勇敢的心 <9076189+maverls@user.noreply.gitee.com>
2022-09-26 09:29:15 +08:00
mxsmandlizhanhui acf4d8b2b8 [ISSUE #5051]Remove GroupCommitService#run synchronized code chunk (#5052)
* [ISSUE #5051]Remove GroupCommitService#run synchronized code chunk

* Remove unnecessary synchronization

Co-authored-by: lizhanhui <lizhanhui@gmail.com>
2022-09-23 21:37:47 +08:00
RapperCLandchenyong adb83ca096 [ISSUE #5179] Math.abs() method call redundant, judgment and repeated assignment (#5181)
* remove the abs method

* Judgment optimization

* Reduce duplicate settings

Co-authored-by: chenyong <chenyong@highlight.mobi>
2022-09-23 21:06:28 +08:00
zhiliatomandshizhili a06a7d073a fix NPE in AclUtils#combineBytes (#5178)
Co-authored-by: shizhili <shizhili@cmss.chinamobile.com>
2022-09-23 19:50:27 +08:00
RapperCLandchenyong 590a680c38 [ISSUE #5151]Reduce redundant for loops (#5154)
* [ISSUE #5151]Reduce redundant for loops

* [ISSUE #5151] code re-format

Co-authored-by: chenyong <chenyong@highlight.mobi>
2022-09-23 17:15:17 +08:00
lizhiminsand斜阳 e7850f63e5 [ISSUE #5095] [Remoting-D] Not handle more request when channel write ability changed to un-writeable (#5176)
Co-authored-by: 斜阳 <terrance.lzm@alibaba-inc.com>
2022-09-23 16:54:38 +08:00
rongtong d9e5d02df7 [ISSUE #5168] Release 5.0.0 merge release-5.0.0 to develop
[ISSUE #5168] Release 5.0.0 merge release-5.0.0 to develop
2022-09-23 16:33:29 +08:00
zhoubo 77395443ce 5.0.0 release temporarily open merge, keep release commitId (#5175) 2022-09-23 16:30:28 +08:00
odbozhou 361528b379 change version to 4.9.4 for release 2022-09-23 14:05:09 +08:00
Aaron Ai e6a2ac7093 Increase quantity of operation in github action of stale (#5167) 2022-09-23 12:45:09 +08:00
zhoubo 251fc77957 Merge branch 'develop' into release-5.0.0 2022-09-23 10:28:18 +08:00
Aaron Ai 7e6bee2c48 Update description about remoting-based SDK (#5164) 2022-09-22 18:11:25 +08:00
Panson aa330615f7 [ISSUE #4634] fix code style in namesrv module (#5159) 2022-09-22 10:07:28 +08:00
liyijuan 913527a085 [ISSUE #5149] remove:org/apache/rocketmq/example/simple/TestProducer.java 2022-09-22 08:43:39 +08:00
lizhimins 4fcacb60d0 [ISSUE #5095] Support output thread exception information to the error log (#5129) 2022-09-21 13:10:06 +08:00
kevin_andKevin Xiang d0bd6a6c6b [ISSUE #5130] Use the latest rocketmq version as example in readme file (#5146)
Co-authored-by: Kevin Xiang <xiangqiling@cohim.com>
2022-09-21 09:49:27 +08:00
RapperCLandchenyong 91f98f3d51 remove unnecessary parameters (#5143)
Co-authored-by: chenyong <chenyong@highlight.mobi>
2022-09-21 09:48:54 +08:00
islongfei a4296a648b [ISSUE #5135] Format ERROR_MESSAGE string 2022-09-21 08:56:05 +08:00
Leping Huang 808a747ce4 [ISSUE #5133] Use StandardCharsets.UTF_8 as default charset in oneway producer demo 2022-09-21 08:54:48 +08:00
Guocheng Tang 2bee9d81aa [ISSUE #5131] Close the producer after the message is sent 2022-09-21 08:34:07 +08:00
aievlandzhaozhenhang 4d0de5d182 delete PullConsumer.Test (#5139)
Co-authored-by: zhaozhenhang <zhaozhenhang@kuaishou.com>
2022-09-20 23:11:56 +08:00
renyansongno1 a7b2cc3675 Use StandardCharsets.UTF_8 as default charset of getting bytes when sending example messages (#5140) 2022-09-20 23:08:21 +08:00
SSpirits d5170e5ba3 [ISSUE #5089] Delegate plugin store configuration by broker 2022-09-20 14:34:54 +08:00
caigy 39df11994c [ISSUE #5124] Revert signatures of public methods in 'org.apache.rocketmq.namesrv.NamesrvStartup' 2022-09-20 14:32:36 +08:00
TheR1sing3unandOliver 44aea94fdf [ISSUE#5039] localHostName() get stuck when constructing the BrokerIdentity object (#5110)
* fix(common): fix the issue#5039

1. fix the issue#5039 by init the local host name when BrokerIdentity
class loading to avoid the InetAddress#getLocalHost() be called too many
times.

* Update common/src/main/java/org/apache/rocketmq/common/BrokerIdentity.java

Co-authored-by: Oliver <wqdyxnbd@163.com>

* fix(common): add import of StringUtils in class: BrokerIdentity

1. add import of StringUtils in class: BrokerIdentity

* rerun

Co-authored-by: Oliver <wqdyxnbd@163.com>
2022-09-20 13:40:54 +08:00
Zhanhui Li 96f340d6e1 [ISSUE #5119]Infra enhancement project: Fix remaining test cases in ACL module (#5120)
* Fix the remaining test cases that is not hermetic

* Set size of src/test/java/org/apache/rocketmq/acl/plain/PlainAccessValidatorTest as medium
2022-09-20 09:51:09 +08:00
lizhimins b7bec238b9 [ISSUE #5091] Speed up broker initialization by concurrently loading ConsumeQueue (#5093) 2022-09-20 09:36:18 +08:00
Zhanhui Li 7c6dbd7f31 [ISSUE #5116]Make PlainAccessControlFlowTest portable (#5117)
* Make PlainAccessControlFlowTest portable

* Enable PlainAccessControlFlowTest in Bazel RBE

* Add guava to acl/test module as an explicit dependency
2022-09-19 18:47:54 +08:00
lizhiminsand斜阳 b511e09772 [ISSUE #5095] [Remoting-A] Support logging rpc distribution in remoting protocol (#5114)
* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol

* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol

* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol

* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol

* [ISSUE #5087] [Remoting-A] Support logging rpc distribution in remoting protocol

Co-authored-by: 斜阳 <terrance.lzm@alibaba-inc.com>
2022-09-19 17:07:49 +08:00
rongtong b50f55f85a [ISSUE #5100] Recover the optimization of pull request #2885 (#5101)
* Recover the optimization of pull request #2885

* Optimize the use of computeIfAbsent
2022-09-19 17:04:17 +08:00