Commit Graph
468 Commits
Author SHA1 Message Date
RongtongJin dde98ac2ca Merge remote-tracking branch 'apache/5.0.0-beta' into 5.0.0-beta-dledger-controller
# Conflicts:
#	store/src/main/java/org/apache/rocketmq/store/CommitLog.java
2022-07-05 11:23:26 +08:00
Zhendong Liu 13ffac8926 Fix the offset not found and add some tests (#4504) 2022-07-01 10:35:11 +08:00
rongtong 940d8d8255 Remove useless doAfterRpcFailure method in RPCHook (#4538) 2022-07-01 10:03:57 +08:00
RongtongJin 505cb2af9b Merge branch '5.0.0-beta' into 5.0.0-beta-dledger-controller
# Conflicts:
#	store/src/main/java/org/apache/rocketmq/store/MessageStore.java
2022-06-30 14:24:30 +08:00
hzh0425 e0121ca1da [Summer of code] Add admin tools for controller mode (#4388)
* add tool getSyncStateDataCommand

* get controller leaderAddr when execute command

* modify getControllerMetadata api

* code review

* code review

* add tool get brokerEpochCache

* init command

* set lastEpochEndOffset

* take maxPhyOffset in EpochCache
2022-06-01 11:05:48 +08:00
zhangjidi2016 499b7dbe84 [ISSUE #4171]Fix tryQueryAssignment() in RebalanceImpl 2022-04-15 14:36:01 +08:00
cserwen 52482d4e0d fix brokerName of msg is null in same case (#4066) 2022-03-30 14:18:42 +08:00
zhangyang d99a51c12a [ISSUE #4050] 5.0.0-alpha (Pop): Missing origin message id from dead letter message (#4052) 2022-03-30 10:25:55 +08:00
RongtongJin e656a8efab Merge remote-tracking branch 'apache/5.0.0-beta' into 5.0.0-beta-tmp
# Conflicts:
#	broker/src/main/java/org/apache/rocketmq/broker/processor/SendMessageProcessor.java
#	broker/src/main/java/org/apache/rocketmq/broker/schedule/ScheduleMessageService.java
#	namesrv/src/main/java/org/apache/rocketmq/namesrv/processor/DefaultRequestProcessor.java
#	namesrv/src/main/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManager.java
#	namesrv/src/test/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManagerTest.java
2022-03-21 16:03:31 +08:00
Heng Du 302de8b795 Merge branch 'develop' into 5.0.0-beta 2022-03-20 11:18:57 +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
rongtong cad0cfcece feature(broker & acl & client):[RIP-32]Support Slave Acting Master mode (#3978) 2022-03-14 14:51:10 +08:00
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