Commit Graph
320 Commits
Author SHA1 Message Date
kaiyi.lk 69e5ef2451 [ISSUE #3949] v2 support 2022-07-13 11:29:19 +08:00
zhouxiang b8b753ba97 [ISSUE #3949] Add Ack in LocalGrpcTest 2022-07-13 11:29:13 +08:00
kaiyi.lk 2cea9131b1 [ISSUE #3949] forward message to dlq 2022-07-13 11:29:12 +08:00
kaiyi.lk 3f07761f60 [ISSUE #3949] ack msg when tag not match; refactor client factory 2022-07-13 11:29:12 +08:00
kaiyi.lk e44f29a643 [ISSUE #3949] forwardMsgToDLQ for cluster mode; add ProducerGroupOfflineListener 2022-07-13 11:29:11 +08:00
zhouxiang 77d7da51c4 [ISSUE #3949] Implement ack and nack 2022-07-13 11:29:11 +08:00
zhouxiang 60868dafc9 [ISSUE #3949] Add receiveMessage 2022-07-13 11:29:09 +08:00
Jixiang.jjx e319024fa2 [ISSUE #3949] Add logger config and rename GrpcService to GrpcForwardService. 2022-07-13 11:29:08 +08:00
zhouxiang 80b2f95d17 [ISSUE #3949] Support sendMessage in Local mode 2022-07-13 11:29:07 +08:00
zhouxiang 3134916c53 [ISSUE #3949] Initialize basic structure 2022-07-13 11:29:06 +08:00
zhouxiang 388cc21118 [ISSUE #4384] Remove TimeUnit in nextDelayDuration 2022-06-21 16:00:18 +08:00
zhouxiang 33fd330899 Change PullMessageRequestHeader maxMsgNums to CFNullable 2022-06-14 15:22:05 +08:00
zhouxiang 42e5d734ee [ISSUE #4384] Add RetryPolicy interface 2022-06-06 16:29:55 +08:00
zhouxiang 3bddd51464 [ISSUE #4384] Expand RocketMQ Topic/Group attributes 2022-05-27 17:46:33 +08:00
zhangjidi2016andzhangjidi2016 d8c9bd38cb [ISSUE #4270]Log parameter error and optimize code (#4271)
Co-authored-by: zhangjidi2016 <zhangjidi@cmss.chinamobile.com>
2022-05-15 10:45:08 +08:00
rongtong a4cccea9db [ISSUE#4233] Move the capability of slaveActingMaster from container module to broker module 2022-05-06 10:21:14 +08:00
rongtong d937c1d615 [ISSUE #4245] Remove the topic route cache in nameserver
[ISSUE #4245] Remove the topic route cache in nameserver
2022-05-05 15:36:48 +08:00
cserwen 7a5fff4f10 [ISSUE #4192] Fix log split not work for dLedger in container (#4193) 2022-04-23 15:00:52 +08:00
cserwen 531cdb0bed sync message request mode from master (#4101) 2022-04-22 13:52:34 +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
rongtong 467b382777 feature(namesrv&common):[RIP-29]Optimize RocketMQ NameServer (#3974) 2022-03-14 14:49:53 +08:00
在红尘中成仙 895bd95e82 fix a flaky test (#3959) 2022-03-14 14:21:16 +08:00
RongtongJin 176e0d5c22 Modify MQVersion to V5_0_0_BETA_SNAPSHOT 2022-03-12 21:41:48 +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 ee8decdc77 Prepare to release rocketmq 5.0.0-alpha 2022-03-10 22:46:11 +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
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
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 35c95eb7a6 prepare to release rocketmq 4.9.3 version 2022-02-21 22:11:04 +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
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
Hongjian Fei 78a3ed7b0e [ISSUE #3708] add CorrectLogicOffsetService to periodically correct min logic offset (#3722)
* [ISSUE #3708] add CorrectLogicOffsetService to periodically correct min logic offset; refactor QueueOffsetAssigner.

* Mock getDiskSpaceWarningLevelRatio and getDiskSpaceCleanForciblyRatio to get around configuration protection in unit-test.

* Fix check style.
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
dongeforever 372e42ff45 Fix check style 2022-02-08 10:38:41 +08:00
dongeforever b3f9fbd3a7 Convert the consumer offset too 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
彭小漪 f219170851 [ISSUE #3786] fix: The length of properties value should be checked before converting them to short. (#3788) 2022-02-03 17:54:46 +08:00
Xinda 8ce2cdb004 perf: avoid multiple expansion when the number of elements in the MessageConst class is determined (#3721)
`HashSet`, threshold = initialCapacity * 0.75
2022-01-26 10:44:01 +08:00
Colin678 b46496d11b Remove useless code (#3695)
* [Simple packaging method]packaging method

* [Remove useless code]Maybe dever forgot to delete it

* [Remove useless notes]Wrong commit
2022-01-21 09:50:13 +08:00
zhaohai 6dff04fcb6 [ISSUE #3642] Display GID and Topic with namespace (#3648) 2022-01-14 13:58:49 +08:00