Commit Graph
446 Commits
Author SHA1 Message Date
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
Kvicii 7496081da6 fix ISSUE 2812 (#3813) 2022-02-05 16:56:14 +08:00
彭小漪 d5be91fa00 [ISSUE #3789] optimize: Tag the name of consuming thread whith consumeGroup. (#3795)
* It is useful for debug.
2022-01-27 14:58:09 +08:00
KviciiandKvicii 493c91a38b deprecated DefaultMQPullConsumer (#3796)
If there is no explanation, you need to explicitly specify the replacement class

Co-authored-by: Kvicii <Karonazaba@gmail.com>
2022-01-26 10:42:31 +08:00
彭小漪 bda0ae0305 [ISSUE #3724]: Polish the unit test of class ConsumeMessageConcurrentlyService. (#3725) 2022-01-21 15:30:01 +08:00
tiger lee e1056efba1 Merge pull request #3683 from duhenglucky/develop_jdk
[ISSUE #3684] change client jdk version to 1.6
2022-01-18 00:49:08 +08:00
赵延 c5da66d841 Check producerTable or consumerTable is empty when updateTopicRouteInfoFromNameServer (#2581) 2022-01-14 13:55:54 +08:00
sunhangda 80bcfbc926 [Issue #3556] Fix:When broker is down, rocketmq client can not retry under Async send model (#3555) 2022-01-14 13:54:00 +08:00
HuiTong 5233f12f3a rollback spelling fix to avoid incompatile (#3749) 2022-01-13 13:47:37 +08:00
duhenglucky 1be3cc363f chore(client) change client jdk version to 1.6 2021-12-31 10:47:14 +08:00
zhaohai 28d7849854 [ISSUE #3539] Add parameter verification 2021-12-28 10:40:16 +08:00
xijiu 0bc011cef3 [ISSUE 3613] bug fix, solve message hash conflict in index file #3616 2021-12-21 14:12:31 +08:00
ssssssnake e425c097ad [ISSUE #1097] Fix null pointer problem when consumption start time is null (#1098) 2021-12-20 20:07:45 +08:00
panzhi 64ad7908b8 [ISSUE #3624]Fix producer/consumer re-start may fail introduced in #3454 (#3639)
Fix producer/consumer re-start may fail introduced in #3454

1. start a producer 
2. shutdown producer
3. start the second producer, exception throws
2021-12-15 20:00:21 +08:00