Commit Graph
1981 Commits
Author SHA1 Message Date
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
Aaron-TangCodeandtanghailin 4992f4ee9c [ISSUE ##3832] in order to improve the performance by change the variable location of queueId (#3833)
* change variable queueId location

* [fix]the wildcard

Co-authored-by: tanghailin <tanghailin@58.com>
2022-02-10 11:43:43 +08:00
huangli 8fa9ca592c [ISSUE 3825] Use default SO_SNDBUF/SO_RCVBUF/WRITE_BUFFER_WATER_MARK value. (#3826)
This commit may greatly increase thoughtput when network lantency is big or message size is big, especially for consumer.

In one broker (M/S sync master async flush), one producer send test.

250 byte body: 0.93x old version
4000 byte body: 3.85x of old version
16000 byte body: 6.07x of old version
100000 byte body: 7.93x of old version

The old version is 4.9.3-SNAPSHOT in this test. In this test the network latency from producer to broker is 1.61ms.
2022-02-10 11:15:04 +08:00
ca92d367fd Update design.md (#3835)
* 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)

* Update design.md

delete redundant text

Co-authored-by: von gosling <vongosling@apache.org>
Co-authored-by: ZhangJian He <shoothzj@gmail.com>
2022-02-09 19:08:43 +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
yuz10 d5c8800125 add tests for AllocateMessageQueueAveragely (#3811) 2022-02-07 23:51:02 +08:00
PJ Fanning dbbc88a6fe guava 31.0.1-jre (#3821)
https://github.com/apache/rocketmq/issues/3818
2022-02-07 09:44:30 +08:00
PJ Fanning 32511145ae [Issue-3814] use snakeyaml 1.30 (#3815)
due to a CVE
2022-02-06 20:41:19 +08:00
PJ Fanning 32dd2d82c1 [Issue-3816] upgrade log4jv2 to 2.17.1 (#3817)
https://github.com/apache/rocketmq/issues/3816
2022-02-05 23:44:21 +08:00
Kvicii 7496081da6 fix ISSUE 2812 (#3813) 2022-02-05 16:56:14 +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
彭小漪 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
彭小漪 30d1c58a0c [ISSUE #3801] Polish the document 'CLITools.md'. (#3802) 2022-01-27 14:29:32 +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
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
zplovekqandzoupeinie 8fdfb42ac8 [ISSUES #3048]add example of OnewayProducer and ScheduledMessage (#3053)
* fix the issue #2994
add the example for OnewayProducer and ScheduledMessageConsumer.
remove a unused line and add notes.

* rollback

* change code style

* modify the code style

Co-authored-by: zoupeinie <zoupeinie@bytedance.com>
2022-01-24 13:54:08 +08:00
彭小漪andpenglong 35334e2669 [ISSUE #3782] docs: Fix the default value of parameter 'sendMsgTimeout'. (#3783)
Co-authored-by: penglong <long.peng@dmall.com>
2022-01-22 21:06:25 +08:00
彭小漪 bda0ae0305 [ISSUE #3724]: Polish the unit test of class ConsumeMessageConcurrentlyService. (#3725) 2022-01-21 15:30:01 +08:00
Heng Du e8cae430d4 Update README.md 2022-01-21 10:24:01 +08:00
Heng Du ad5fd7fe63 Update README.md 2022-01-21 10:23:01 +08:00
Heng Du e50bf54c63 Update README.md 2022-01-21 10:22:29 +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
zhangyang 97198fadf6 [ISSUE #3449] Delayed message supports asynchronous delivery (#3458)
* [schedule] Delayed message repeated delivery optimization

Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>

* [schedule] Support asynchronous delivery

Signed-off-by: zhangyang <Git_Yang@163.com>

* use maxDelayLevel as deliverThreadPoolNums

Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>

* [HAConnection] fix code style

Signed-off-by: zhangyang21 <zhangyang21@xiaomi.com>
2022-01-20 22:22:43 +08:00
makabakaboom 84cde5f5be #3015 when slaveAckOffset greater than local commitLog offset, break connection and return (#3016)
when slaveAckOffset greater than local commitLog offset, break connection and return
2022-01-20 13:37:01 +08:00
彭小漪 41f58e4b86 [ISSUE #3774] docs: Polish the document 'Example_Transaction.md'. (#3775) 2022-01-19 20:14:34 +08:00
sunhangda 1b3b3a8146 Adding exception message with broker addr when occuring broker connect timeout (#3772)
* fix:when broker is down,async send model can not retry

* fix Issue #3556

* fix Issue #3556

* fix Issue #3556

* fix Issue #3556

* async send model success retry when occurs Exception

* test case testSendMessageAsync_WithException

* modify test case testSendMessageAsync_WithException

* adding exception message with broker addr when occuring broker connect
timeout

* repair code style
2022-01-19 11:07:52 +08:00
tiger lee a62b70bc25 Merge pull request #1077 from ssssssnake/issue-resetOffsetByTime
[ISSUE #951]Fixed an incorrect offset problem in the ResetOffsetByTimeCommand
2022-01-18 00:53:46 +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
yuz10 4f39218066 Avoid new lines in log (#3762) 2022-01-16 20:38:48 +08:00
彭小漪 c832523742 [ISSUE #3757] docs: Polish the document 'Design_Query.md'. (#3758) 2022-01-15 17:25:44 +08:00
zhaohai 6dff04fcb6 [ISSUE #3642] Display GID and Topic with namespace (#3648) 2022-01-14 13:58:49 +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
dinglei bfaef39f08 fix build error in RIP-28 at getmQClientFactory (#3754)
* fix build error in RIP-28 at getmQclientFactory

* fix build error in RIP-28 at getmQclientFactory
2022-01-14 11:38:50 +08:00
dinglei 2035e6fc5d fix build error in RIP-28 at getmQclientFactory (#3753) 2022-01-14 11:06:36 +08:00
tianliuliu 14b63ee550 [RIP-28] light message queue(LMQ) (#3694) 2022-01-13 19:15:42 +08:00
彭小漪 8d28d3fa20 [ISSUE #3751] docs: Fix typos and other little error in the document 'Configuration_Client.md' (#3752) 2022-01-13 13:48:04 +08:00
HuiTong 5233f12f3a rollback spelling fix to avoid incompatile (#3749) 2022-01-13 13:47:37 +08:00
ltamber 0b612ff813 [ISSUE #3223]Optimize startup script to support greater jdk version (#3224)
* support jdk9 and later version

* support jdk9 and later version
2022-01-12 11:16:10 +08:00
Kealdish acac49f148 [ISSUE #3738] Remove useless callee of String.valueOf (#3739) 2022-01-10 09:59:39 +08:00
彭小漪 1ef1af6a99 [ISSUE #3728] docs: Make the 'Uses of keys' entry in the document 'Best practices' more complete. (#3729) 2022-01-08 21:42:03 +08:00
rongtong 938e201d1a [ISSUE #3733] Upgrade dledger version to 0.2.3 (#3734) 2022-01-08 20:11:33 +08:00
weibubli d564dcd31a [ISSUE #3709] Resolve export metadata errors while multiple brokers. (#3727)
* Update ExportMetadataCommand.java

* Update ExportMetadataCommand.java
2022-01-07 20:23:15 +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
tiger lee a7b59037ed Merge pull request #3689 from XiaoyiPeng/wrong_method_comment_about_transaction_msg
[ISSUE #3687] Fix wrong method comment about transaction message.
2022-01-06 20:35:36 +08:00
tiger lee 18c79790e7 Merge pull request #1085 from andrexuDeveloper/develop
[RIP-9] add DefaultPullConsumer api  doc
2022-01-06 20:20:25 +08:00
tiger lee e15452940a Merge pull request #2970 from zhangjidi2016/add_skipAccumulatedMessage_command
[ISSUE #2969] Add a skip accumulation message command in mqadmin.
2022-01-06 20:15:58 +08:00
Kobold 43009b76ac [ISSUE #3685] Fix param spelling error (#3678)
* 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

* fix class[RemotingHelper]  method[exceptionSimpleDesc] var[element] spelling error
2022-01-06 09:51:20 +08:00