Commit Graph
175 Commits
Author SHA1 Message Date
hill 32733e7674 [maven-release-plugin] prepare for next development iteration 2022-06-20 16:17:12 +08:00
hill 06f2208a34 [maven-release-plugin] prepare release rocketmq-all-4.9.4 2022-06-20 16:16:54 +08:00
cnScarb fcfe26e444 [ISSUE #4037] Add DeleteExpiredCommitLogSubCommand (#4038)
* [ISSUE #4037] Merge with origin

* [ISSUE #4048] Add assertions for DeleteExpiredCommitLogSubCommandTest
2022-06-14 17:18:14 +08:00
caigy aacaf91539 Merge pull request #4152 from sunxi92/feature_update_global_white_addr
[#4151]Add option p to the updateGlobalWhiteAddr command.
2022-06-07 12:52:51 +08:00
sunxi92 b1c5fefecf [ISSUE#4263] Delete topic route info based on cluster when delete topic. (#4268)
* Delete topic route info based on cluster when delete topic.

* Delete useless compatibility code.

* 1.add a non-null judgment to queueDataMap
2.move the judgment of whether there are any key-value pairs in queueDataMap out of the for loop

* When clusterName is null, then delete topic route info in namesrv.
2022-06-06 14:33:35 +08:00
d5ca4d05c9 [iSSUE-4396] Support get all producer on one broker (#4395)
* Update .travis.yml

Depracated MODERATE noisy mail for dev@rocketmq.apache.org. Still Failing: apache/rocketmq#5670 (5.0.0-alpha-static-topic - 5ebc327) @dongeforever

* Updated Notice file to 2022 (#3735)

* add api: get all producer in one broker

* add license header for new files

* add test case and optimize some variables

* remove unused imports and change some words to English

* fix code style

* update code style

* update code style

Co-authored-by: von gosling <vongosling@apache.org>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
Co-authored-by: tigerweili <tigerweili@tencent.com>
2022-06-04 22:35:24 +08:00
sunxi 76dc96e9e2 update code to maintain compatibility. 2022-05-24 22:43:03 +08:00
sunxi 53baee7803 Add option p to the updateGlobalWhiteAddr command to indicate the full path of the ACL configuration file to be modified.If the option is null, updateGlobalWhiteAddr command will update the default acl configuration file. 2022-05-24 22:42:58 +08:00
yuz10 5d01023960 [ISSUE #4107] rocketmq-tools should not depend on rocketmq-store (#4108) 2022-04-25 14:03:00 +08:00
yuz10 580b76d3de [ISSUE #4165] add new line in sendMsgStatus (#4166)
* add new line in sendMsgStatus

* keep format consistent
2022-04-20 13:42:00 +08:00
6U-U9 d100d3c9a5 [ISSUE #4167] Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8 (#4024)
* Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8

* Remove the specification of Charset according to SimplePullConsumer
2022-04-17 23:02:07 +08:00
yuz10 336939080e [ISSUE #4035] rename some commands (#4036)
* rename some commands

* update doc
2022-04-01 08:58:27 +08:00
4574d59f4b fix clusterRT and checkMsgSendRT (#4047)
* Update .travis.yml

Depracated MODERATE noisy mail for dev@rocketmq.apache.org. Still Failing: apache/rocketmq#5670 (5.0.0-alpha-static-topic - 5ebc327) @dongeforever

* Updated Notice file to 2022 (#3735)

* fix description mismatch of mqadmin command

Co-authored-by: von gosling <vongosling@apache.org>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
Co-authored-by: tigerweili <tigerweili@tencent.com>
Co-authored-by: shizhili <shizhili@cmss.chinamobile.com>
2022-03-30 14:22:37 +08:00
hjl11 c121565c3e [ISSUE #4040] Unnecessary toString methods deleted (#4041) 2022-03-28 10:15:43 +08:00
zhangjidi2016andzhangjidi f57ea77dbb [ISSUE #4002]Optimize some mqadmin command execution results output (#4003)
Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-03-22 10:49:20 +08:00
HuiTong 42d1565fee [ISSUE #3890] add 'brokerAddress' param for ConsumerConnectionSubCommand (#3891)
* fix scheduleAtFixedRate bug

* add consumerConnection Command -b param

* rollback
2022-03-01 12:35:38 +08:00
tigerlee b606d9c638 [maven-release-plugin] prepare for next development iteration 2022-02-22 00:25:55 +08:00
tigerlee c7989f8574 [maven-release-plugin] prepare release rocketmq-all-4.9.3 2022-02-22 00:25:37 +08:00
sunxi92 c1bb6aa27b [ISSUE #2986] Support for multiple ACL files in a fixed directory (#3761)
* acl temp

* acl

* fix test case

* fix code style issues

* add considerations on compatibility to the original one ACL config file and scalability of supporting multiple config files in different directories.

* fix test case testWatch

* 1.fix some issues
2.add a detailed design document

* Add warn log when the accesskey is repeated in multiple ACL files.

* 1.Change the folder of acl configuration to conf/acl
2.Add the logic to check if path is a directory in the method of getAllAclFiles(String path)

* Add a parameter in AclFileWatchService constructor.

* Add logic to determine if path exists in the getAllAclFiles(String path) method in PlainPermissionManager.java and AclFileWatchService.java

* Fix the serialization problem of allAclFileVersion field in clusterAclConfigVersion command

* 1.Fix the serialization problem of allAclFileVersion field in clusterAclConfigVersion command
2.Improve the logic of updateAccessConfig method
2022-02-19 09:52:31 +08:00
tiger lee a62b70bc25 Merge pull request #1077 from ssssssnake/issue-resetOffsetByTime
[ISSUE #951]Fixed an incorrect offset problem in the ResetOffsetByTimeCommand
2022-01-18 00:53:46 +08:00
zhaohai 6dff04fcb6 [ISSUE #3642] Display GID and Topic with namespace (#3648) 2022-01-14 13:58:49 +08:00
weibubli d564dcd31a [ISSUE #3709] Resolve export metadata errors while multiple brokers. (#3727)
* Update ExportMetadataCommand.java

* Update ExportMetadataCommand.java
2022-01-07 20:23:15 +08:00
tiger lee e15452940a Merge pull request #2970 from zhangjidi2016/add_skipAccumulatedMessage_command
[ISSUE #2969] Add a skip accumulation message command in mqadmin.
2022-01-06 20:15:58 +08:00
zhangjidi2016 0ceb9e6ceb [ISSUE #3696]Optimize the query consumer connection display (#3697) 2022-01-06 09:34:33 +08:00
huitong 6ebb4e40d4 fix topicRouteMap maintain error relationship 2022-01-04 11:40:44 +08:00
xijiu 8540da4449 [ISSUE #3674] Improve the test cases of the tools module (#3672)
* move the filtering logic to client

* fix error test

* fix all junit test except QueryMsgTraceByIdSubCommand

* fix some junit test exception

* Run through all test cases

* Code optimization

* extract the startNameServer, eliminate duplicate code
2021-12-28 09:02:16 +08:00
ChaosYjhandyuanjunhui 7591227a83 [ISSUE #1486] fix CleanUnusedTopicCommand performs wrong (#1487)
Co-authored-by: yuanjunhui <yuanjunhui1991@qq.com>
2021-12-20 18:45:48 +08:00
1e314f4100 [ISSUE #3593] entrySet() replace keySet() (#3595)
* entrySet() replace keySet()

* update variable name

* Update AllocateMachineRoomNearby.java

* remove set

Co-authored-by: zh378814 <wb-zh378814@alibaba-inc.com>
Co-authored-by: yuz10 <845238369@qq.com>
2021-12-09 15:13:13 +08:00
zhaohaiandzh378814 a779d69862 Unnecessary boxing of primitives (#3596)
Co-authored-by: zh378814 <wb-zh378814@alibaba-inc.com>
2021-12-07 12:35:43 +08:00
lushilinandlushilin 3084713807 [ISSUE #3551] Fix admin cloneoffset
Co-authored-by: lushilin <lushilin.me@bytedance.com>
2021-12-07 11:28:34 +08:00
tigerlee 21faa68b4c [maven-release-plugin] prepare for next development iteration 2021-10-22 13:44:14 +08:00
tigerlee c840b20833 [maven-release-plugin] prepare release rocketmq-all-4.9.2 2021-10-22 13:43:57 +08:00
Git_Yang a2c6d33a2b [ISSUE #3415] Fix the problem of failure during checkstyle execution
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2021-10-15 14:30:40 +08:00
panzhi cd45023d61 [ISSUE #3148]Support metadata export (#3149) 2021-10-13 19:47:51 +08:00
tiger lee 7755aaa2bf Merge pull request #3039 from Aaron-He/dev20210623
[ISSUE #2962] Implement DefaultMQAdminExt::examineTopicConfig function
2021-10-07 18:30:58 +08:00
孙不服 daf1b9df79 [ISSUE #503] NOT_CONSUME_YET not righht in RocketMQ Console (#3091) 2021-09-27 09:07:59 +08:00
tiger lee a9837d9c3c Merge pull request #2965 from zhangjidi2016/add_getConsumerConfig_command
[ISSUE #2964] Add a query consumer config command in mqadmin.
2021-09-18 01:04:42 +08:00
yuz10 147d23e3ed [ISSUE #3281 ][acl] fix fail to delete topic perm list and global white address(#3128) (#3280)
* fix fail to remove topic/group permissions and global white address of acl config

* update acl config for all brokers

* refactor rename UtilAll.string2List and list2String

* fix fail to remove whiteRemoteAddress of acl config
2021-09-14 15:33:38 +08:00
tiger lee f9a0f530e6 Merge pull request #1858 from coder-zzzz/github_features/#1848
[ISSUE #1848] Add write perm admin command
2021-09-13 14:11:20 +08:00
gorden5566 44bdeedad2 [ISSUE 3203] Replace the class 'StringBuffer' by 'StringBuilder' (#3204) 2021-08-04 14:02:47 +08:00
zongtanghu bb34171289 [maven-release-plugin] prepare for next development iteration 2021-08-01 20:01:59 +08:00
zongtanghu e9c4253218 [maven-release-plugin] prepare release rocketmq-all-4.9.1 2021-08-01 20:01:39 +08:00
zhangjidi2016andzhangjidi2016 17b9efe16d [ISSUE #3177]updateAclConfig in all brokers. (#3184)
Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
2021-07-30 13:41:52 +08:00
Heng Du 2a6371765e Merge pull request #2882 from zhurunhua/RocketMQ-zhurunhua
[ISSUE #3112]Fix: update the option's description of delete/update access config command
2021-07-02 19:22:07 +08:00
HeChengyang e6768baae7 [ISSUE #2962] Implement DefaultMQAdminExt::examineTopicConfig function 2021-06-23 16:08:29 +08:00
zongtanghu df1d93fc88 [maven-release-plugin] prepare for next development iteration 2021-06-10 21:36:05 +08:00
zongtanghu 5203d52f1b [maven-release-plugin] prepare release rocketmq-all-4.9.0 2021-06-10 21:35:41 +08:00
yuz10 2fe6dc3034 #2990 Add message tracing switch in sendMessage command of mqadmin 2021-06-09 00:57:42 +08:00
zongtanghu a1babab507 [maven-release-plugin] prepare for next development iteration 2021-06-05 12:30:00 +08:00
zongtanghu a027f8d6a0 [maven-release-plugin] prepare release rocketmq-all-4.9.0 2021-06-05 12:29:37 +08:00