Commit Graph
2040 Commits
Author SHA1 Message Date
dugenkui03 3e38468d55 remove checked Exception which will never be thrown from method signature 2022-04-07 23:17:58 +08:00
dugenkui fd554ab120 [Document] Update user_guide.md: Fix for link. (#4085)
* Update user_guide.md

Fix for link: md field regard 'full width text' as part of link.

Replace linkage with '#'.

* Highlight java code

* fix typo in TraceDispatcher
2022-04-02 10:00:57 +08:00
cnScarb e3b67484b0 [ISSUE #4048] Make storePathCommitLog base on storePathRootDir (#4057) 2022-04-01 09:25:50 +08:00
yuz10 336939080e [ISSUE #4035] rename some commands (#4036)
* rename some commands

* update doc
2022-04-01 08:58:27 +08:00
zhangyang21 4f7a224a04 [ISSUE #3699] fix unit test
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-03-31 18:42:51 +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
zhangyang21 45010d9bdf [ISSUE #4050] fix origin messsage id missing from dead leetter meessage
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-03-30 10:45:30 +08:00
zhangyang 6817856d08 [ISSUE #4054] fix doc format (#4055)
Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-03-30 10:24:00 +08:00
李晓双 Li Xiao Shuang 9fff8ae01f [ISSUE #4053] NamesrvController code optimization 2022-03-29 19:38:10 +08:00
ScarbWin 18287f64cf [ISSUE #4048] Make storePathCommitLog base on storePathRootDir 2022-03-29 14:03:31 +08:00
李晓双 Li Xiao Shuang 818ef2152f RemotingCommandException is not thrown in a method (#4030) 2022-03-28 15:01:06 +08:00
hjl11 c121565c3e [ISSUE #4040] Unnecessary toString methods deleted (#4041) 2022-03-28 10:15:43 +08:00
ScarbWin 02228d870c Fix #4004 2022-03-25 09:35:56 +08:00
panzhiandpanzhi33 f7b4ce3a3f [ISSUE #4028] wrong log output (#4029)
* wrong log output

* wrong log output

Co-authored-by: panzhi33 <wb-pz502261@alibaba-inc.com>
2022-03-25 09:30:01 +08:00
hnandhening 1a72ffd200 fix docs error (#4023)
Co-authored-by: hening <ninghe.hn@alibaba-inc.com>
2022-03-24 10:13:12 +08:00
彭小漪 0870a83306 [ISSUE #3924] It may be better to change the method StoreStatsService#initPutMessageDistributeTime() to private. (#3925)
* Rename method initPutMessageDistributeTime to resetPutMessageDistributeTime.
2022-03-23 11:24:17 +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
humkumandhankunming e283dccd06 add shutdown script for batchproducer.sh (#4015)
Co-authored-by: hankunming <hankunming@xiaomi.com>
2022-03-22 09:39:36 +08:00
zhangjidi2016andzhangjidi 6ff00ed053 [ISSUE #4000]Fix the warn log input in command tools (#4001)
Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-03-19 17:56:56 +08:00
sunxi92 c1aeca291e [#3942]If both acl and message trace are enabled and the default topic RMQ_SYS_TRACE_TOPIC is used for message trace, you don't need to add the PUB permission of RMQ_SYS_TRACE_TOPIC topic to the acl config. (#3943)
* If both acl and message trace are enabled and the default topic RMQ_SYS_TRACE_TOPIC is used for message trace, you don't need to add the PUB permission of RMQ_SYS_TRACE_TOPIC topic to the acl config.

* Delete Chinese character in comments.
2022-03-15 20:11:51 +08:00
彭小漪 03c5a3d171 [ISSUE #3985] Remove shuffle operation before sorting the list of 'FaultItem'. (#3986) 2022-03-14 20:48:23 +08:00
彭小漪 2b51321179 [ISSUE#3983] Optimize warn log output when sending exceptions are encountered. (#3984) 2022-03-14 20:47:36 +08:00
wangfan adbf3db717 [ISSUE #3955] delete useless check 2022-03-14 20:17:42 +08:00
WJL3333 3378da69ed [ISSUE #3882]Nameserver change modify topicQueueTable in RouteInfoManager (#3881)
* 1. nameserver change. modify `topicQueueTable` in `RouteInfoManager`
add brokerName to QueueData mapping to speed up brokerName related logic

* fix checkstyle

* fix unit test

* refactor route info manager unit test

* 1. when `pickupTopicRouteData` only add filter server address if filter server table not empty.

2. merge with patch #3893

* 1. `RouteInfoManger` only add filter server list when filterServerTable contains brokerAddr

* 1. add master change info log

* 1. add master change info log

* 1. add delete topic test
2. add slave change to master test
2022-03-14 20:15:43 +08:00
rongtong 8cd998829a Fix using wrong offset when deliver in ScheduleService (#3967) 2022-03-14 19:29:15 +08:00
在红尘中成仙 895bd95e82 fix a flaky test (#3959) 2022-03-14 14:21:16 +08:00
彭小漪 95202f1e6f docs: Add the link to Apache RocketMQ MQTT in the readme.md (#3971) 2022-03-13 17:13:42 +08:00
tianliuliu 40d9505786 [ISSUE #3957] Fix LmqConsumerOffsetManager deserialize error (#3958)
LmqConsumerOffsetManager deserialize error (#3958)
2022-03-11 15:29:53 +08:00
李晓双 Li Xiao Shuang c43620f26f [ISSUE #3950] Anonymous new Callable() replaced with lambda (#3951)
* Anonymous new Callable()  replaced with lambda

* add unit test
2022-03-11 10:10:20 +08:00
446b76b07b typo: best_practice.md (#3939)
* 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)

* Update best_practice.md

fix word

Co-authored-by: von gosling <vongosling@apache.org>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
Co-authored-by: tigerweili <tigerweili@tencent.com>
2022-03-08 16:30:26 +08:00
ymingxuandyangmingxu febc083605 [ISSUE #3561] Optimize consuming messages with namespace example
Co-authored-by: yangmingxu <mingxu914>
2022-03-08 16:26:33 +08:00
caigy 7a5d937c76 [Issue #3922] Fix bugs in ACL modification (#3927)
* fix NPE when updating account auth if no accounts defined in acl config file

* fix: creating globalWhiteRemoteAddresses failed when default acl config file did not exist

* move plain_acl.yml out of conf/acl/: conf/plain_acl.yml is the default acl config file and config of different accounts can be placed under conf/acl/

* fix merge problem

* fix: 1. errors when processing empty config files;  2.accounts can't be added back after deleting account part in ACL config files

* fix merge problem

* fix test bug

* add test

* add missing test config files
2022-03-07 17:11:09 +08:00
Zhanhui Li 2987e1dcb4 Add language code for Rust (#3931)
* Add language code for Rust and test cases covering this language code.
2022-03-07 11:31:57 +08:00
Zhanhui Li 6197ebda7f Improve Issue Template (#3932)
* Improve issue template

* Fix grammar
2022-03-06 15:02:37 +08:00
panzhiandpanzhi33 5b8951915e [ISSUE #3896] fix log format error (#3897)
* [ISSUE #3896] fix log format error

* [ISSUE #3896] fix log format error

Co-authored-by: panzhi33 <wb-pz502261@alibaba-inc.com>
2022-03-04 16:11:47 +08:00
hnandhening 52700533b0 fix some docs error (#3926)
* fix some docs error

* remove useless code

Co-authored-by: hening <ninghe.hn@alibaba-inc.com>
2022-03-04 16:11:07 +08:00
sunxi92 5ae4a106bd [#3903] Add topic validation, forbid sending message to system topic (#3904)
* Forbid sending message to system topic.

* Forbid sending message to system topic.The topic RMQ_SYS_TRACE_TOPIC should be excluded.
2022-03-03 11:17:39 +08:00
cserwenanddengzhiwen1 3ccf651ebf fix that wrong dir is creaed when using mult-dirs storage (#3901)
Co-authored-by: dengzhiwen1 <dengzhiwen1@xiaomi.com>
2022-03-03 10:41:15 +08:00
zhoubo b6b5326519 readme add rocketmq connect link (#3916) 2022-03-03 10:30:05 +08:00
cserwenanddengzhiwen1 7276cf9926 readme add rocketmq dashboard link (#3919)
Co-authored-by: dengzhiwen1 <dengzhiwen1@xiaomi.com>
2022-03-02 16:36:18 +08:00
yuz10 19f99a5c63 [ISSUE #3875] fix unable to delete last acl account. (#3876)
* avoid new lines in log

* [#3875] fix unable to delete last acl account.

* [#3875] fix unable to delete last acl account.
2022-03-02 08:47:57 +08:00
cnScarb 9226395de5 Fix #3911 (#3912) 2022-03-02 08:40:01 +08:00
cserwenanddengzhiwen1 81677c78dc [ISSUE #3859] enhance the cal of latency for putting message (#3862)
* enhance the cal of latency for putting message

* use LongAdder to replace AtomicLong

Co-authored-by: dengzhiwen1 <dengzhiwen1@xiaomi.com>
2022-03-01 20:26:37 +08:00
cnScarb 7438dab364 Fix testTruncateCQ on Windows by releasing mapped files. (#3865) 2022-03-01 20:25:12 +08:00
cnScarb 11026c287e Remove unnecessary Exception thrown by MQClientAPIImpl#createSubscriptionGroup (#3880) 2022-03-01 20:23:38 +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
zhangjidi2016andzhangjidi2016 7281b5d9a0 [ISSUE #3898]fix the spell in MQClientAPIImpl (#3899)
Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
2022-03-01 07:48:36 +08:00
yuz10 799d4125bd fix validate fail after update acl (#3888) 2022-02-27 18:18:54 +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 rocketmq-all-4.9.3 2022-02-22 00:25:37 +08:00