Commit Graph
459 Commits
Author SHA1 Message Date
tigerweili 6596df8d72 update double validations 2022-07-08 23:55:27 +08:00
tigerweili dbc3972498 fix Namesrv auto discovery not work 2022-06-23 11:49:47 +08:00
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
zhouxiang 34eb2ce7d1 [ISSUE #3906] Mark stream-related request by RequestType 2022-06-20 11:50:07 +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
Wushiyiiandwuguoqing f08c79ff9f [ISSUE #4349] fix negative index when index reach Integer.MAX_VALUE (#4447)
Co-authored-by: wuguoqing <wuguoqing@zhuanzhuan.com>
2022-06-13 09:39:40 +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
李晓双 Li Xiao ShuangandHeng Du 1f71c39c54 [ISSUE #2435] Solve the problem that DefaultMQProducer#request() sends messages and waits for timeout synchronously (#4313)
* Fix message callback timeout bug

* Clean up code format

* Fix message callback timeout bug

Co-authored-by: Heng Du <duhengforever@apache.org>
2022-06-06 10:48:16 +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
Ni Ze 0bc3b991e1 [ISSUE #4226] Message length exceeds the maximum length when sendback (#4338)
* fix(bug)msg length exceeds the maximum length when sendback

* fix(store) MessageStoreConfig: maxMessageBodySize -> maxMessageSize, for compatibility

* style(formatting) commigLog
2022-06-01 13:51:07 +08:00
Aaron Ai 65a8525a60 Formatting code of maven dependencies management (#4371) 2022-05-25 12:53:19 +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
lvshuang de5e6d9e06 remove redundancy group name check of null (#4363) 2022-05-24 10:07:25 +08:00
Ni Ze 316d32a006 [ISSUE #3804]Commit consumption offset with specific MessageQueue. (#3838)
* feat(client) commit consumption offset with specific MessageQueue.

* feat(client) remove exception.

* feat(client) add test

* fix(test) code style is not right

* doc(broker.conf) remove item for test
2022-05-24 09:47:27 +08:00
Oliver dd69223624 [ISSUE #4325] Remove redundant exception to improve readability 2022-05-19 14:29:11 +08:00
Oliver 20b3a9275c [ISSUE #4326] Optimized some code style.
[ISSUE #4326] Optimized some code style.
2022-05-19 14:27:41 +08:00
Oliver 455ac6d5ab [ISSUE #4327] Init collection size (#4214)
[ISSUE #4327] Init collection size
2022-05-19 14:24:44 +08:00
Tristezaand席朝东 d7e940a29a replace hashset addAll method to constructure (#3879)
Co-authored-by: 席朝东 <xichaodong@xichaodongdeMacBook-Pro.local>
2022-05-08 14:41:33 +08:00
Qingshan Lin 7043211302 Merge pull request #4213 from ferrirW/ROCKETMQ-4203
[ISSUE #4203] Support zstd/lz4 compression to improve send/receive performance
2022-05-06 20:25:00 +08:00
wangfan 5584a78977 [ISSUE #4203] Support zstd/lz4 compression to improve send/receive performance 2022-04-28 10:19:52 +08:00
tiger lee 2d66e95d36 Merge pull request #4132 from dugenkui03/patch-012
[ISSUE #4130] Remove the exception which will never be thrown by method from method signature
2022-04-28 09:49:18 +08:00
dugenkui b6e65a8054 [ISSUE #4099]Optimized the performance of sending traceMessage in AsyncTraceDispatcher (#4180)
* Optimized the performance of sending traceMessage

* Optimized the performance of sending traceMessage

* Optimized the performance of sending traceMessage

* Optimized the performance of sending traceMessage
2022-04-27 16:09:39 +08:00
彭小漪 51baf87aed [ISSUE #4147] javadoc: Fix the problem described in the warning message prompted by the IDE. (#4148) 2022-04-25 10:46:33 +08:00
dugenkui b503c4e5a1 [ISSUE #4181] Prevent int overflow in TraceContext
Prevent int overflow
2022-04-22 09:06:15 +08:00
dugenkui03 164a1e9642 remove checked Exception which will never be thrown from method signature 2022-04-07 23:26:10 +08:00
dugenkui03 3e38468d55 remove checked Exception which will never be thrown from method signature 2022-04-07 23:17:58 +08:00
zhangjidi2016andzhangjidi 13765b040a [ISSUE #3940]Optimize AllocateMessageQueueStrategy (#3941)
* [ISSUE #3940]Optimize AllocateMessageQueueStrategy

* remove the check in AllocateMessageQueueByConfig

Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-04-06 22:28:49 +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
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
hjl11 c121565c3e [ISSUE #4040] Unnecessary toString methods deleted (#4041) 2022-03-28 10:15:43 +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
彭小漪 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
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
cnScarb 9226395de5 Fix #3911 (#3912) 2022-03-02 08:40:01 +08:00
cnScarb 11026c287e Remove unnecessary Exception thrown by MQClientAPIImpl#createSubscriptionGroup (#3880) 2022-03-01 20:23: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
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
Rishi Kumar Ray 2369a9152d depreciated unused class (#3846)
* depreciated MQhelper

* Update MQHelper.java
2022-02-20 15:32:20 +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
HuiTong cc478bd425 fix scheduleAtFixedRate bug (#3861) 2022-02-18 23:26:12 +08:00
Ni Ze fc014049a2 fix(log) add log for interruptedException (#3854) 2022-02-17 13:27:09 +08:00
yuz10 48e8c1955b add tests for computePullFromWhereWithException (#3844) 2022-02-13 10:02:40 +08:00
zhangjidi2016andzhangjidi 8b78f6114f [ISSUE #3674]Add unit test for AllocateMessageQueueAveragelyByCircle (#3839)
Co-authored-by: zhangjidi <zhangjidi@cmss.chinamobile.com>
2022-02-11 11:30:07 +08:00
KviciiandKvicii 810b75766b [ISSUE #3797] Improve DefaultMQProducerImpl code (#3809)
* improve DefaultMQProducerImpl code

* revert change

Co-authored-by: Kvicii <Karonazaba@gmail.com>
2022-02-08 17:54:07 +08:00
yuz10 d5c8800125 add tests for AllocateMessageQueueAveragely (#3811) 2022-02-07 23:51:02 +08:00