Commit Graph
665 Commits
Author SHA1 Message Date
lk 73b3fde837 [maven-release-plugin] prepare for next development iteration (#7379) 2023-09-22 10:08:59 +08:00
lk 1a681bdf9b [maven-release-plugin] prepare release rocketmq-all-5.1.4 (#7377) 2023-09-21 19:58:29 +08:00
Ji Juntao 6fd0073d64 [ISSUE #7319] Optimize fault-tolerant mechanism for sending messages and hot update switch (#7320) 2023-09-07 20:21:16 +08:00
guyinyouandguyinyou 31d10385d1 [ISSUE #7289] Fixed asynchronous send backpressure capability
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-09-04 14:09:32 +08:00
Ji Juntao b028277018 [ISSUE #6567] [RIP-63] Queue Selection Strategy Optimization (#6568)
Optimize the proxy's and client's selection strategy for brokers when sending messages, and use multiple selection strategies as a pipeline to filter suitable queues.
2023-08-29 16:13:38 +08:00
lk 77e8e54b37 [ISSUE #7223] Support batch ack for grpc client in proxy (#7225) 2023-08-23 15:56:39 +08:00
lk 72d796f2b2 [ISSUE #7205] support batch ack for pop orderly (#7206) 2023-08-18 11:55:39 +08:00
redlsz 55e0cdb2af fix: IndexOutOfBoundsException when process pop response (#7003) 2023-08-15 19:19:45 +08:00
fujian-zfjandLi Zhanhui 3a6ef0400c [ISSUE #7064] [RIP-66-1] Support KV(RocksDB) Storage for Metadata (#7092)
* typo int readme[ecosystem]

* rocksdb metadata

* add unit test

* fix testOffsetPersistInMemory

* fix unit test

* fix unit test

* remove unused import

* move RocksDBOffsetSerialize to broker moudle

* Fix bazel build scripts

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>

* Flag QueryMsgByKeyIT as flaky as it fails at frequency: 5 out of 32

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>

* change public to private of some inner method

---------

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2023-08-05 00:32:11 +08:00
koado 1fe5d62334 [ISSUE #7074] Allow a BoundaryType to be specified when retrieving offset based on the timestamp (#7082)
* add new interface for searching offset with boundary type

* format code

* fix failed test

* unify two BoundaryType class

* add interface getOffsetInQueueByTime(long timestamp, BoundaryType boundaryTYpe) in ConsumeQueueInterface

* fix AdminBrokerProcessorTest unnecessary Mockito stubbings
2023-08-03 11:40:16 +08:00
gaoyf 32eb1d5557 [ISSUE #7068] Fix failed to create syncer topic when the proxy was just started (#7076) 2023-07-25 15:26:20 +08:00
guyinyouandguyinyou af993d28e2 [ISSUE #3717][RIP-27] Auto batching in producer
Co-authored-by: guyinyou <guyinyou.gyy@alibaba-inc.com>
2023-07-21 09:31:56 +08:00
wenbin yao 804f2d85f2 [ISSUE ##7036] rename method: getWriteQueueIdByBroker to getWriteQueueNumsByBroker(#7037)
* [ISSUE ##7036] rename method: getWriteQueueIdByBroker to getWriteQueueNumsByBroker

* [ISSUE #7036] rename method from getWriteQueueIdByBroker to getWriteQueueNumsByBroker
2023-07-20 11:01:38 +08:00
panzhi 16ef575537 [ISSUE #4612] Fix trace not complete (#6941) 2023-06-25 14:44:56 +08:00
rongtong e369d7deac [maven-release-plugin] prepare for next development iteration (#6939) 2023-06-24 14:31:42 +08:00
rongtong f7425f52f9 [maven-release-plugin] prepare release rocketmq-all-5.1.3 (#6938) 2023-06-24 12:23:11 +08:00
yuz10andy00421926 fd4a397a14 [ISSUE #6917] fix cannot query all messages of the same msgId
Co-authored-by: y00421926 <yuzhou4@huawei.com>
2023-06-23 11:31:40 +08:00
Drizzle 3dda55e812 [RIP-64] Heartbeat Optimization (#6724) 2023-06-14 15:00:24 +08:00
cnScarb b44a1ebc36 [ISSUE apache#6576] Fix pop lmq message in client (#6577) 2023-06-13 16:29:05 +08:00
rongtong ad4cc957fb [maven-release-plugin] prepare for next development iteration (#6895) 2023-06-12 19:12:25 +08:00
rongtong 749967baa8 [maven-release-plugin] prepare release rocketmq-all-5.1.2 (#6892) 2023-06-12 17:44:39 +08:00
Drizzle bee5077bcb [ISSUE #6336] [RIP-62] Cold Read Control (#6507) 2023-06-05 17:09:31 +08:00
DL1231 3dcba4b5cd [ISSUE #6792] Fix the bug that send method blocked on log.warn for a long time (#6793) 2023-05-23 11:36:44 +08:00
DL1231 016b0310e0 [ISSUE #6789] Modify placeholder in DefaultMQProducerImpl (#6790) 2023-05-23 10:49:25 +08:00
haiyanghan 70480a1fa9 Remove redundant variables (#6740) 2023-05-17 17:25:59 +08:00
Humkum 5f747f5c24 [ISSUE #6747] Add INNER_MULTI_DISPATCH check, can not contains path separator 2023-05-16 08:26:17 +08:00
rongtong 8aea26ef8f [maven-release-plugin] prepare for next development iteration 2023-05-15 19:48:34 +08:00
rongtong e244ebb99a [maven-release-plugin] prepare release rocketmq-all-5.1.1 (#6763) 2023-05-15 18:51:01 +08:00
rongtong f1b411cecc Remove filter server module (#6749)
* Remove filter server module

* Pass the check style

* Remove filterServerNum config

* Remove more related code
2023-05-15 14:04:01 +08:00
mxsm f33ac2a3ec [ISSUE #6714] Replace the deprecated method DefaultMQPushConsumer#getDefaultMQPushConsumerImpl (#6715) 2023-05-09 18:59:18 -07:00
xuziyang bcf40a9119 [ISSUE #6516] Remove redundant code from ThreadLocalIndex (#6517) 2023-05-08 17:03:16 +08:00
Zhouxiang Zhan 0a329ba627 [ISSUE #6699] Make NotificationProcessor use PopLongPollingService (#6700)
* Refector PopLongPollingService

* Use enum PollingResult to replace int value
* Move PopLongPollingService to upper level
* Move wakeUp and polling method into PopLongPollingService

* NotificationProcessor use PopLongPollingService

* Add BORN_TIME check

* add NotificationIT
2023-05-08 11:49:02 +08:00
Zhouxiang Zhan 2da6e9b2d6 [ISSUE #6696] Refector proxy common and client module (#6697)
* Move classes in module proxy.common to common

* Move MQClientAPIExt to client module

* fix
2023-05-06 14:19:31 +08:00
wangfan bcbb25fddc [ISSUE #6660] Fix semaphoreAsyncSendSize init error (#6661) 2023-04-29 19:06:39 +08:00
Zhouxiang Zhan 23a8ed490f [ISSUE #6644] Add admin client future interface (#6646)
* [ISSUE #6644] Add admin client future interface

* add unit test

* Change exception to throwable

* Add interface for MqClientAdmin
2023-04-28 17:34:16 +08:00
rongtong baad0a427f [ISSUE #6579] Prevent the properties of trace message from exceeding the maximum value of short (#6580)
* Prevent the properties of trace message from exceeding the maximum value of short

* Use reduce instead of foreach
2023-04-13 09:17:58 +08:00
CoderBruisandhaiyang.luo cb53fa572e remove (#6564)
Co-authored-by: haiyang.luo <apple@haiyang.luo>
2023-04-10 18:05:50 +08:00
hiyoandLi Zhanhui 0faa0a2c7d [ISSUE #6414] polish MQClientAPIImpl.getDefaultTopicRouteInfoFromName… (#6452)
* [ISSUE #6414] polish MQClientAPIImpl.getDefaultTopicRouteInfoFromNameServer parameters

* Fix to make Bazel CI pass

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>

* Fix typo

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>

---------

Signed-off-by: Li Zhanhui <lizhanhui@gmail.com>
Co-authored-by: Li Zhanhui <lizhanhui@gmail.com>
2023-03-23 20:30:21 +08:00
Cyandcyu fe0a0a0789 [ISSUE #6440] Optimize the code of consumer thread name,and support tag the name of scheduledExecutor thread. (#6441)
Co-authored-by: cyu <dingchengyu@hydee.cn>
2023-03-23 14:16:24 +08:00
mxsm 68362151a2 [ISSUE #6396] Fix DefaultMQPushConsumer javadoc typo (#6397) 2023-03-20 10:59:15 +08:00
yuz10 3613821c6a [ISSUE #6365] fix no log in benchmark (#6366)
* fix no log in benchmark

* remove logging debug
2023-03-18 19:52:05 +08:00
hardyfish 94db42ade7 [ISSUE #6292] fix typos (#6293)
* fix typos

* fix typos

* fix typos
2023-03-15 15:41:01 +08:00
TheR1sing3un c94c65b691 fix(admin): fix incompatible command: CleanBrokerMeta
1. fix incompatible command: CleanBrokerMeta
2023-03-14 09:40:15 +08:00
TheR1sing3un f843851788 fix(controller): fix some bug to pass AutoSwitchRoleIntegrationTest
1. fix some bug to pass AutoSwitchRoleIntegrationTest
2023-03-14 09:40:15 +08:00
TheR1sing3un cfdfa0ea51 feat(broker): implement the general register to controller protocol
1. implement the general register to controller protocol
2023-03-14 09:40:15 +08:00
TheR1sing3un 9577aacbc0 feat(controller): add protocols about new register flow
1. add protocols about new register flow
2023-03-14 09:40:15 +08:00
TheR1sing3un a1de567e11 [ISSUE#5045] Refactor the register and elect-master process in controller mode (#5046)
* refactor(controller): refactor the register logic

1. refactor the register logic

* refactor(controller): remove unused field in ElectMasterEvent

1. remove unused field in ElectMasterEvent

* feat(controller): add a tryElectMaster request and process logic about it

1. add a tryElectMaster request and process logic about it

* feat(controller): refactor ReplicasInfoManagerTest

1. refactor ReplicasInfoManagerTest

* refactor(controller): refactor DLedgerControllerTest

1. refactor DLedgerControllerTest

* refactor(controller): refactor ControllerManagerTest

1. refactor ControllerManagerTest

* refactor(controller): refactor ReplicasInfoManagerTest

1. refactor ReplicasInfoManagerTest

* refactor(controller): refactor register process and pass the junit test

1. refactor ReplicasInfoManagerTest

* style(broker): rename a constant

1. rename a constant

* feat(controller): update the DLedger dependency from v0.27 to v0.30

1. update the DLedger dependency from v0.27 to v0.30

* style(controller): add a white-line just for trigger GitHub action again

1. add a white-line just for trigger GitHub action again

* feat(controller): combine electMaster api and brokerTryElectMaster api

1. combine electMaster api and brokerTryElectMaster api

* feat(controller): add a logic about verifying the broker id returned from registering

1. add a logic about verifying the broker id returned from registering

* fix(controller): remove unused code and add a warning log in ControllerManager

1. remove unused code and add a warning log in ControllerManager

* fix: resolve conflicts

1. resolve conflicts

* fix(controller): remove unused class

1. remove unused class

* fix(controller): Resolve conflicts after merging

1. Resolve conflicts after merging

* refactor(controller): Refactor ReplicasInfoManager#elect

1. Refactor ReplicasInfoManager#elect

* style(controller): remove unused imports

1. remove unused imports

* style(controller): remove unused imports

1. remove unused imports

* fix(controller): resolve conflicts after merging develop branch

1. resolve conflicts after merging develop branch

* rerun

* fix(controller): resolve conflicts in ReplicasInfoManagerTest#testRegisterNewBroker after merging develop branch

1. resolve conflicts in ReplicasInfoManagerTest#testRegisterNewBroker after merging develop branch

* style(controller): pass style check

1. pass style check
2023-03-14 09:40:15 +08:00
mxsm 37ff93a27b [ISSUE #6331] Optimlize DefaultMQPushConsumerImpl#subscribe method (#6332) 2023-03-14 08:12:53 +08:00
mxsm 47355d115d [ISSUE #6272]Add judgment for SendLatencyFault in MQFaultStrategy#selectOneMessageQueue (#6273)
* [ISSUE #6272]Add judgment for SendLatencyFault in MQFaultStrategy#selectOneMessageQueue

* fix code style
2023-03-13 14:19:08 +08:00
mxsm 3c770c95ce [ISSUE #6302] Fix DefaultMQPushConsumerImpl code style (#6303) 2023-03-11 16:25:14 +08:00