Commit Graph
454 Commits
Author SHA1 Message Date
RongtongJin 3aa31a6a36 Merge remote-tracking branch 'apache/develop' into 5.0.0-alpha
# Conflicts:
#	acl/pom.xml
#	broker/pom.xml
#	client/pom.xml
#	common/pom.xml
#	common/src/main/java/org/apache/rocketmq/common/MQVersion.java
#	distribution/pom.xml
#	example/pom.xml
#	filter/pom.xml
#	logging/pom.xml
#	namesrv/pom.xml
#	openmessaging/pom.xml
#	pom.xml
#	remoting/pom.xml
#	srvutil/pom.xml
#	store/pom.xml
#	store/src/test/java/org/apache/rocketmq/store/dledger/DLedgerCommitlogTest.java
#	test/pom.xml
#	tools/pom.xml
2022-03-12 21:15:45 +08:00
RongtongJin 78dde88cf9 Prepare for next development iteration 2022-03-12 21:13:24 +08:00
RongtongJin a17fa7605c [maven-release-plugin] prepare release rocketmq-all-5.0.0-ALPHA 2022-03-11 10:37:19 +08:00
RongtongJin e33213c752 Upgrade version to 5.0.0-alpha-snapshot 2022-03-04 16:44:03 +08:00
RongtongJin 87d9614d34 Resolve all conflicts and pass all UTs 2022-03-04 16:38:04 +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
RongtongJin 0d15e6c2d5 Merge 5.0.0-alpha-merge with develop branch 2022-02-25 17:43:06 +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
tigerlee 13933297d1 [maven-release-plugin] prepare for next development iteration 2022-02-21 21:33:20 +08:00
tigerlee 666e96b6dd [maven-release-plugin] prepare release rocketmq-all-4.9.3 2022-02-21 21:33:02 +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
cserwen de76e06d6d add hook to execute after consume for pop (#3780) 2022-02-14 15:11:06 +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
cserwen 5d15c3ed17 change the level to warn when the ack message failed (#3756) 2022-02-08 10:38:41 +08:00
Hongjian Fei e8cf133874 [ISSUE #3708] Both CQ and BCQ need to be supported in DefaultMessageStore. (#3712)
* [RIP-26] Both CQ and BCQ will be supported in DefaultMessageStore.

* [RIP-26] Both CQ and BCQ will be supported in DefaultMessageStore.
2022-02-08 10:38:41 +08:00
cserwen 5ce1b88cf0 fix check style (#3703) 2022-02-08 10:38:41 +08:00
Hongjian Fei 18010a4d30 [ISSUE #3679] Support topic attributes (#3698)
* [Feature] Support topic attributes.

* [Feature] Topic attributes unit-test.
2022-02-08 10:38:41 +08:00
Erik1288 821b91f0a2 support batch consume-queue. 2022-02-08 10:38:41 +08:00
dongeforever b6ff649291 feat(all):new feature for static topic 2022-02-08 10:38:41 +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
zanglei fe98bed001 [ISSUE #3645] Remove TBW102 topic not found warn log in rocketmq-client.log 2021-12-15 18:30:38 +08:00
codingandzanglei 4a8263b460 [ISSUE #3635] remove log4j dependency in client pom (#3636)
Co-authored-by: zanglei <zanglei@kuaishou.com>
2021-12-13 15:27:48 +08:00
panzhi 3a5cdfa59a [ISSUE #3624]DefaultMQPushConsumerTest.testPullMessage_ExceptionOccursWhenComputePullFromWhere throws RejectedExecution (#3626) 2021-12-11 14:06:54 +08:00
huangliandcolin 67225fdabe [ISSUE 3585] [Part E] eliminate duplicated getNamespace() call when where is no namespace (#3591)
Co-authored-by: colin <39513055@qq.com>
2021-12-11 09:22:22 +08:00
panzhiandpanzhi33 7f1c14c3c1 [ISSUE #3453]Producer cannot shutdown completely (#3454)
* [ISSUE #3453]Producer cannot shutdown completely

* [ISSUE #3453]Producer cannot shutdown completely

* [ISSUE #3453]Producer cannot shutdown completely

Co-authored-by: panzhi33 <wb-pz502261@alibaba-inc.com>
2021-12-10 10:57:35 +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
写代码的猫 50d45f23a1 [ISSUE 3585] [Part F] eliminate regex match in topic/group name check (#3594) 2021-12-09 10:50:52 +08:00