Commit Graph
263 Commits
Author SHA1 Message Date
dependabot[bot]andLi Zhanhui 6662f2a86d build(deps): bump spring-core from 5.3.23 to 5.3.26 (#6464)
* build(deps): bump spring-core from 5.3.23 to 5.3.26

Bumps [spring-core](https://github.com/spring-projects/spring-framework) from 5.3.23 to 5.3.26.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.23...v5.3.26)

---
updated-dependencies:
- dependency-name: org.springframework:spring-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Sync bazel

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2023-03-27 13:07:41 +08:00
fujian-zfj f2614f62c8 [ISSUE #6419] DLedger new version to fix problem in issue 282 (#6418)
* typo int readme[ecosystem]

* dledger new version
2023-03-21 10:20:38 +08:00
Liu Ruoyu 616885ce17 Added jul to slf4j bridge
Now, broker metrics and proxy metric could output to "rocketmqlogs" folder. Their names are "broker_metric.log" and "proxy_metric.log", respectively.
2023-03-15 10:19:41 +08:00
Liu Ruoyu 5fd07d8aa7 Add logging exporter for metrics 2023-03-15 10:19:41 +08:00
Lobo Xuandloboxu 7485d3cbef [ISSUE #6313] com.google.guava version upgraded
Co-authored-by: loboxu <loboxu@tencent.com>
2023-03-15 09:40:11 +08:00
+6 3a69aae701 [ISSUE #6023] Add a unit test to verify new register process in broker with controller mode (#6024)
* refactor: simplify getPID (#5962)

* [ISSUE #5923] Add example tiered storage backend service provider (#5926)

* implement example file segment

* add metrics

* add readme

* fix license

* fix tests

* fix links in README.md

* add comment to PosixFileSegment and mark as experimental

* fix test

* optimize image quality

* Remove the useless exception class: MQRedirectException #5963

* [ISSUE #5965] Fix lmqTopicQueueTable initialization (#5968)

* [ISSUE #5965] Fix lmqTopicQueueTable initialization

* [ISSUE #5965] Fix lmqTopicQueueTable initialization

* [ISSUE #5890] Fix dledger logging (#5959)

* Fix dledger logging

* Add bridge into store module

* [ISSUE #5860] Set the value of order when create or update topic (#5861)

* [ISSUE #5939]Adjust the MQClientInstance#sendHeartbeatToAllBroker catch code block log print level from info to warn (#5940)

* [ISSUE #5924] Optimize UtilAll#sleep method (#5925)

* [ISSUE #5924]Optimize UtilAll#sleep method

* polish code

* [ISSUE #5986] optimize the BrokerOuterAPITest class code

Co-authored-by: zhouyunpeng <2474138779@qq.com>

* [ISSUE #5971] Make the internal logs related to the dledger in the controller print to a file separately (#5972)

* Make the internal logs related to the dledger in the controller print to a file separately

* Make the internal logs related to the dledger in the controller print to a file separately

* [ISSUE #5969] Remvoe duplicate deleteUnusedStats in admin processor (#5973)

* [ISSUE #5847] Add checkBlock for hasMsgFromQueue

* [ISSUE #5983] Make consumer support flow control code better (#5984)

* When encountering the flow control code, pull it after 20ms instead of 3s

* When encountering the flow control code, pull it after 20ms instead of 3s

* [ISSUE #5896] feat:add pop consumer example (#5991)

* feat:add pop consumer

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* Update example/src/main/java/org/apache/rocketmq/example/simple/PushConsumer.java

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

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

* feat:fix

---------

Co-authored-by: mahaitao617 <mahaitao617@mahaitao617deMacBook-Pro.local>
Co-authored-by: Oliver <wqdyxnbd@163.com>

* [ISSUE #5942] Fix the produce count include the quantity of the system topic(#5943)

* [ISSUE #5999] Fix the TopicQueueMappingUtils comments typo (#6000)

* [ISSUE #5996] Optimize the RemotingSerializable class code (#5998)

* simplified RemotingSerializable null check

* optimize the RemotingSerializable class code

* [ISSUE #5994] [RIP-46] add pop and timer metrics (#5995)

* add pop and timer metrics
* fix according to review comment

* test(broker): add ReplicasManagerRegisterTest to test the register process

1. add ReplicasManagerRegisterTest to test the register process

* chore(pom): modify pom.xml to replace mockito with powermock

1. modify pom.xml to replace mockito with powermock

* build(bazel): export powermock in bazel

1. export powermock in bazel

---------

Co-authored-by: Xinda <xdshent@gmail.com>
Co-authored-by: SSpirits <admin@lv5.moe>
Co-authored-by: loboxu <loboxu@tencent.com>
Co-authored-by: pingww <pingw002@gmail.com>
Co-authored-by: Aaron Ai <yangkun.ayk@gmail.com>
Co-authored-by: Slideee <yechun@corp.netease.com>
Co-authored-by: mxsm <ljbmxsm@gmail.com>
Co-authored-by: hardyfish <85128645+hardyfish@users.noreply.github.com>
Co-authored-by: zhouyunpeng <2474138779@qq.com>
Co-authored-by: rongtong <jinrongtong5@163.com>
Co-authored-by: zhiliatom <87265072+zhiliatom@users.noreply.github.com>
Co-authored-by: zhouxiang <zhouxiang.zzx@alibaba-inc.com>
Co-authored-by: mahaitao <15828010639@163.com>
Co-authored-by: mahaitao617 <mahaitao617@mahaitao617deMacBook-Pro.local>
Co-authored-by: Oliver <wqdyxnbd@163.com>
2023-03-14 09:40:15 +08:00
rongtong 9a7d095eac Upgrade dledger version to 0.3.1.1 (#6319) 2023-03-12 09:13:54 +08:00
zhouxiang 0f878b5157 [maven-release-plugin] prepare for next development iteration 2023-02-16 12:35:58 +08:00
zhouxiang b8e9334d2a [maven-release-plugin] prepare release rocketmq-all-5.1.0 2023-02-16 12:35:58 +08:00
zhouxiang 83d6778747 [ISSUE #6030] Update version to 5.1.0-SNAPSHOT 2023-02-16 12:35:58 +08:00
Aaron Ai ff8c4c856d [ISSUE #5890] Fix dledger logging (#5959)
* Fix dledger logging

* Add bridge into store module
2023-02-03 14:12:23 +08:00
SSpirits 845f96f4f6 [ISSUE #5923] Add example tiered storage backend service provider (#5926)
* implement example file segment

* add metrics

* add readme

* fix license

* fix tests

* fix links in README.md

* add comment to PosixFileSegment and mark as experimental

* fix test

* optimize image quality
2023-02-03 11:48:27 +08:00
lizhiminsand斜阳 bb03bf608e Upgrade maven assembly plugin version to 3.4.2 (#5951)
fix old version plugin bug, link: https://blogs.apache.org/maven/entry/apache-maven-assembly-plugin-version

Co-authored-by: 斜阳 <terrance.lzm@alibaba-inc.com>
2023-01-30 14:29:40 +08:00
Aaron Ai bcaebf19e6 Bump rocketmq-logging to 1.0.1 (#5946) 2023-01-29 17:21:00 +08:00
SSpirits cbad53d60d [ISSUE #5863] implement tiered store metadata (#5864)
* implement tiered store metadata

* fix bazel
2023-01-12 19:02:40 +08:00
Zhouxiang ZhanandLi Zhanhui 83c4a8f3f0 Support long polling in rocketmq proxy in the protocol (#5788)
* Add long polling

* Change rocketmq-proto version to 2.0.2

* fix checkstyle

* Fix rocketmq-proto version

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>

* Change pollTime to timeRemaining

* fix test

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2022-12-30 22:31:01 +08:00
kaiyi.lk 832fc57a08 [ISSUE #5486] polish tls config; add tcnative dependency 2022-12-09 19:53:18 +08:00
Aaron Ai 4469fb51dd Update group id of rocketmq logging (#5564) 2022-11-22 11:31:21 +08:00
xiaokang 0da68ce2d9 update com.alibaba:fastjson 1.2.69_noneautotype to 1.2.83 (#5547) 2022-11-21 21:06:45 +08:00
Aaron Ai a68078fef8 [ISSUE #5484] Replace logging module with the shaded logback (#5540)
* Replace logging module with the shaded logback

* Add license header

* Fix bazel compile issue
2022-11-21 16:30:15 +08:00
yukon 506b563f55 Revert "[ISSUE #5484] Replace Logging Module with Shaded Logback (#5524)" (#5537)
This reverts commit 809ff6b3e0.
2022-11-17 20:04:17 +08:00
Aaron AiandLi Zhanhui 809ff6b3e0 [ISSUE #5484] Replace Logging Module with Shaded Logback (#5524)
* Remove ClientLogger

* WIP

* WIP

* Rename logger to log

* Make it compile

* WIP

* Fix bazel to use shaded slf4j

* Fix DeleteExpiredCommitLogSubCommandTest

* Fix pom.xml duplication

* Fix maven deps

* Add test logback configuration file

* Fix unit test output

* Fix logback configuration file

* All logging are made on top of slf4j

* Fix test log configuration file name

* Fix test log configuration file name for test module

* All logging are shaded slf4j targeted

* DLedger has an explicit dependency on slf4j

* Fix DLedger

* Fix DLeader issue

* Move logback configuration files to each module

Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2022-11-17 00:38:28 +08:00
SSpirits 0ae1bd2af6 [ISSUE #5449] [RIP-46] implement remoting stats metrics (#5487)
* implement remoting metrics

* fix bazel

* add metrics view & fix unit test

* move remoting command process timer to NettyDecoder
2022-11-09 19:44:41 +08:00
Aaron Ai cca25fc525 Declare dependencies' version in maven properties (#5489) 2022-11-09 12:18:15 +08:00
SSpirits 4ba8aa238d [ISSUE #5354] [RIP-46] Implement proxy metrics framework (#5407)
* implement proxy metrics framework

* fix bazel dependency

* fix proxy startup test

* fix warning in bazel test

* minor improve
2022-10-27 17:23:31 +08:00
SSpiritsandZhanhui Li 6e27b54349 [ISSUE ##5354] Implement broker metrics framework (#5355)
* implement broker metrics framework

* update bazel config

* Fix Bazel deps

* Fix unnecessary mocking issue

* Fix bazel compile warning

Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
2022-10-19 23:14:45 +08:00
mxsm 06a5496933 [ISSUE #5324]Replace deprecated class PosixParser with DefaultParser for CLI (#5325)
* [ISSUE #5324]Replace deprecated class PosixParser with DefaultParser for CLI

* fix bazel compile UpdateAccessConfigSubCommandTest testExecute failures

* Fixed bazel compile UpdateAccessConfigSubCommandTest testExecute failures
2022-10-19 22:43:06 +08:00
Jixiang Jin c99a593f43 Upgrade proto version to 2.0.1, and adapt to parse dlq information. (#5343)
* Upgrade proto version to 2.0.1, and adapt to parse dlq information.

* Upgrade proto version to 2.0.1 in bazel config.
2022-10-18 17:20:35 +08:00
NowinkeyandZhanhui Li 53e0847528 [ISSUE #5204] Enable checkstyle for test code (all module) (#5297)
* delete the checkstyle plugin for child modules

* [ISSUE #5204] Enable checkstyle for test code (all module)

* Exclude generated files

Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
2022-10-14 10:58:48 +08:00
vvsdandZhanhui Li 2b412a6fd9 fix(sec): upgrade org.yaml:snakeyaml to 1.32 (#5264)
* update org.yaml:snakeyaml 1.31 to 1.32

* Revert pom.xml format

* Revert space stripping

* Show failed tests errors in GitHub action logs

Co-authored-by: Zhanhui Li <lizhanhui@apache.org>
2022-10-11 15:05:32 +08:00
zhoubo 251fc77957 Merge branch 'develop' into release-5.0.0 2022-09-23 10:28:18 +08:00
dependabot[bot] 6813fdf30b Bump snakeyaml from 1.30 to 1.31 (#5084)
Bumps [snakeyaml](https://bitbucket.org/snakeyaml/snakeyaml) from 1.30 to 1.31.
- [Commits](https://bitbucket.org/snakeyaml/snakeyaml/branches/compare/snakeyaml-1.31..snakeyaml-1.30)

---
updated-dependencies:
- dependency-name: org.yaml:snakeyaml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 16:54:45 +08:00
racoon 8f4d925a1d Update pom.xml (#5115)
maven-checkstyle-plugin use inputEncoding instaad of encoding
2022-09-19 12:37:16 +08:00
Zhanhui Li b24ce7286f [ISSUE #5106]Make ProxyStartupTest portable (#5107)
* Make ProxyStartupTest portable

* Remove debug output to console

* Management dependencies of maven in a central manner
2022-09-19 11:00:43 +08:00
hill ac82378aea [maven-release-plugin] prepare for next development iteration 2022-09-19 10:27:17 +08:00
hill f3e113cb1f [maven-release-plugin] prepare release rocketmq-all-5.0.0 2022-09-19 10:26:58 +08:00
Aaron Ai 1b011c1f50 [ISSUE #5108] Bump checkstyle to 3.2.0 (#5109)
* Bump checkstyle to 3.2.0

* Fix checkstyle
2022-09-19 10:10:29 +08:00
SSpirits afea709ac9 [ISSUE #5097] fix illegal reflective access (#5098) 2022-09-19 10:10:20 +08:00
Aaron Ai c185c60b0f [ISSUE #5108] Bump checkstyle to 3.2.0 (#5109)
* Bump checkstyle to 3.2.0

* Fix checkstyle
2022-09-18 11:17:36 +08:00
SSpirits 778513c563 [ISSUE #5097] fix illegal reflective access (#5098) 2022-09-16 18:11:22 +08:00
rongtong 8ba84c31d6 Bump DLedger to 0.3.1 (#5082) 2022-09-15 14:08:39 +08:00
rongtong d97dc78bab [ISSUE #5056] Bump DLedger to 0.3.0 (#5058)
* Bump DLedger to 0.3.0

* Add new @Override function
2022-09-13 18:36:06 +08:00
Aaron Ai 4661e58ebe [ISSUE #4934] Checking for violations as part of build (#4935)
* Checking for violations as part of build

* Extend await time for FileWatchServiceTest#watchTwoFiles_ModifyOne
2022-08-31 10:55:04 +08:00
Aaron Ai f23fdbe016 Replace findbugs by spotbugs (#4931) 2022-08-30 17:45:56 +08:00
Aaron Ai 9e53567b8e [ISSUE #3998] Enable Github Action for CI Build (#4782)
* Enable Github Action for CI Build
2022-08-22 10:36:07 +08:00
fuyou001 e5a71bb95f using caffeine replace guava cache (#4669)
* [ISSUE #4668] using caffeine replace guava cache

* [ISSUE #4668] fix cache miss

* [ISSUE #4725] fix enforce-ban-circular-dependencies  error
2022-08-11 20:16:34 +08:00
Aaron Ai 10398f4cab Restructure the maven dependencies 2022-07-26 17:09:30 +08:00
Aaron Ai 1183022560 Enable dependencyConvergence in maven enforcer plugin (#4639) 2022-07-26 11:29:21 +08:00
dongeforever 5780332846 Merge remote-tracking branch 'apache/develop' into schema_test_merge
# Conflicts:
#	pom.xml
#	test/pom.xml
2022-07-25 10:41:49 +08:00
傅冲 fcdbc30233 Merge remote-tracking branch 'open-core/develop' into RIP-43
# Conflicts:
#	broker/src/main/java/org/apache/rocketmq/broker/BrokerController.java
#	store/src/main/java/org/apache/rocketmq/store/config/MessageStoreConfig.java
2022-07-21 15:30:48 +08:00