Commit Graph
289 Commits
Author SHA1 Message Date
zhouxiang 34eb2ce7d1 [ISSUE #3906] Mark stream-related request by RequestType 2022-06-20 11:50:07 +08:00
Zhanhui Li fe5c39cdbd Generate legal JSON response conditionally (#4473)
* Generate illegal JSON, allowing previously released manual-parse clients to continue to work
2022-06-17 11:51:46 +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
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
caigy dd9c74fc0d Merge pull request #4366 from fulln/develop
[ISSUE #4365]  acl PlainPermissionManager key file paths set to same
2022-06-06 14:02:14 +08:00
lvshuang 9ceff5ccc5 remove useless check (#4411) 2022-06-06 09:51:14 +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
dugenkui 6f66b5d2a9 optimize for printObjectProperties (#4392) 2022-06-01 10:58:55 +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
fulln c90f5f66b6 use java.nio.file.Path to change file path 2022-05-24 20:13:22 +08:00
fulln 040f2ffddc checkStyle check 2022-05-24 11:15:58 +08:00
fulln 0c1e3df722 Treat multiple file paths into one 2022-05-24 10:04:38 +08:00
Oliver 82a48be00a [ISSUE #4335] Replace deprecated api in cl 2022-05-19 14:31:03 +08:00
Oliver 20b3a9275c [ISSUE #4326] Optimized some code style.
[ISSUE #4326] Optimized some code style.
2022-05-19 14:27:41 +08:00
Zhendong Liu c046404eed [ISSUE-#4251]Add batch flag (#4252)
* Add it test holder for manual test

* Add it test holder for manual test

* Polish the test, remove useless code

* Polish the test, remove useless code

* Mark the flag for batch to avoid conflict
2022-05-07 14:11:33 +08:00
wangfan 5584a78977 [ISSUE #4203] Support zstd/lz4 compression to improve send/receive performance 2022-04-28 10:19:52 +08:00
huangliandyuz10 3cbb3b8ea5 [ISSUE 3585] [Part B] Improve encode/decode performance (#3588)
* [ISSUE 3585] [Part B] Improve header encode/decode performance

* [ISSUE 3585] [Part B] Improve RocketMQSerializable performance with zero-copy; fix securtiy problems.

* [ISSUE 3585] [Part B] Fix unit test

Co-authored-by: yuz10 <845238369@qq.com>
2022-04-27 09:26:10 +08:00
yuz10 5d01023960 [ISSUE #4107] rocketmq-tools should not depend on rocketmq-store (#4108) 2022-04-25 14:03:00 +08:00
李晓双 Li Xiao Shuang 4f2b708179 Explicit type argument can be replaced with <> (#4186) 2022-04-21 09:33:47 +08:00
6U-U9 d100d3c9a5 [ISSUE #4167] Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8 (#4024)
* Replace Charset.forName("UTF-8") with StandardCharsets.UTF_8

* Remove the specification of Charset according to SimplePullConsumer
2022-04-17 23:02:07 +08:00
dugenkui aa908ce825 [ISSUE #4103] Simplify string-list-join in Message (#4104)
[ISSUE #4103] Simplify string-list-join in `Message`
2022-04-15 11:10:53 +08:00
灼华and灼华 f120645a11 [ISSUE #4167] Optimize the logic of MessageDecoder#decodeMessageId method (#4082)
Co-authored-by: 灼华 <geyu@didiglobal.com>
2022-04-14 23:06:09 +08:00
在红尘中成仙 895bd95e82 fix a flaky test (#3959) 2022-03-14 14:21:16 +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
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
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
彭小漪 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
tianliuliu 14b63ee550 [RIP-28] light message queue(LMQ) (#3694) 2022-01-13 19:15:42 +08:00
tiger lee ed5f4e4eac Merge pull request #3174 from zhangjidi2016/broker_log
[ISSUE #3173]Isolate Broker logs when multiple Broker services are deployed on the same machine.
2022-01-07 10:14:45 +08:00
zhangjidi2016 3738214a35 add comment 2022-01-07 01:34:33 +08:00
rongtong a2d94242f3 Fix bug that the broker will hang after merge the pr that fix the headWaitTimeMills of sendThreadPoolQueue (#3631) 2021-12-15 20:09:34 +08:00
huangli 5081d155f8 [ISSUE #3637] Add enableDetailStat in BrokerConfig so we can disable stat of queue level. (#3638)
[ISSUE #3637] Add enableDetailStat in BrokerConfig so we can disable stat of queue level.
2021-12-15 20:03:23 +08:00
huangli ed258b3779 [ISSUE 3585] [Part D] improve performance of createUniqID(), from 2.41% to 0.42% in flame graph of producer side. (#3590) 2021-12-10 22:29:57 +08:00
huangli 4f18b0d775 [ISSUE 3585] [Part A] eliminate reverse DNS lookup in MessageExt (#3586) 2021-12-10 22:04:21 +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
dingshuangxi888 0c85c7b4d6 [ISSUE #3527] Fix some request header setting errors and naming issues (#3530) 2021-11-23 21:06:45 +08:00
tigerlee 21faa68b4c [maven-release-plugin] prepare for next development iteration 2021-10-22 13:44:14 +08:00
tigerlee c840b20833 [maven-release-plugin] prepare release rocketmq-all-4.9.2 2021-10-22 13:43:57 +08:00
tigerlee 143ac3185b prepare to release rocketmq 4.9.2 version 2021-10-20 00:34:12 +08:00
tgen 94a527c339 [ISSUE #3288] Fix producer always timeouts while sending first message (#3383) 2021-09-28 15:39:35 +08:00
孙不服 daf1b9df79 [ISSUE #503] NOT_CONSUME_YET not righht in RocketMQ Console (#3091) 2021-09-27 09:07:59 +08:00
tiger lee 4dbdbf0a25 Merge pull request #3357 from Jason918/RIP-7
RIP-7 Multiple Directories Storage Support
2021-09-25 22:47:22 +08:00
rongtong 538b6b7ffd [ISSUE #1869] Delay message can't be consumed when delay offset in delayOffset.json is wrong (#3358)
* fix(store):delay message can't be consumed when delay offset is wrong

* fix(store):delay message can't be consumed when delay offset is wrong

* fix(common):pass the code style

* fix(store): fix bug of get cq max offset

* fix(store): polish the code

* fix(store): fix bug to pass the UT test

* chore(store): polish log format

* chore(store): polish code style
2021-09-24 17:55:02 +08:00