Commit Graph

1122 Commits

Author SHA1 Message Date
Heng Du 9edeb4ecd8 Merge pull request #1386 from apache/litePullConsumer
[ISSUE #1388]Add lite pull consumer support for RocketMQ
2019-08-22 21:07:18 +08:00
King 67751d818d Add unit test for lite pull consumer (#1410)
* Add unit test for lite pull consumer.

* Add synchronized to poll function.
2019-08-22 15:26:12 +08:00
vongosling 2ab9e850fa Polish the consumer group doc 2019-08-22 14:19:14 +08:00
vongosling 2126929a12 Deprecated related core pull consumer classes 2019-08-22 14:08:31 +08:00
King 4a4a464b25 Polish lite pull consumer and fix bug (#1402)
1. Fix the problem of seek function blocking.
2. Fix shutdown function bug.
3. Make the code cleaner
4. Add unit test.
5. Fix seek bug
2019-08-21 09:23:59 +08:00
King cfca4401d5 Polish LitePullConsumer (#1395)
* fix unsubscribe code

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* polish commit consumed offset

* pass checkstyle

* pass checkstyle

* polish LiteMQPullConsumer

* add flow control and polish commit logic

* fix bug

* polish code

* fix commit consumed offset back

* refactor litePullConsumer

* development save

* development save

* Refactor DefaultLitePullConsumer and DefaultLitePullConsumerImpl.

* Polish lite pull consumer

* polish lite pull consumer

* polish lite pull consumer

* fix seek

* fix seek function

* polish lite pull consumer

* add apache header

* add test

* polish test

* Make broadcast model work for litePullConsumer

* Revert example/broadcast/PushConsumer.java

* Add delay time when no new message

* Enable long polling mode

* Fix subscribe bug when rebalance

* Delete useless consumeMessageHook

* Implement TopicMessageQueueChangeListener interface

* Lite pull consumer support namespace

* Make sql92 filter work

* 1. Add javadoc for lite pull consumer.
2. Polish lite pul consumer parameters

* Modify lite pull consumer example

* Add apache header for LitePullConsumerAssign example.

* Add unit test for lite pull consumer

* Fix typo
2019-08-19 14:57:16 +08:00
Heng Du ddb07ab13c Deprecated the DefaulteMQPull consumer (#1387) 2019-08-14 17:27:31 +08:00
King c6096a1443 Polish lite pull consumer (#1381)
* fix unsubscribe code

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* polish commit consumed offset

* pass checkstyle

* pass checkstyle

* polish LiteMQPullConsumer

* add flow control and polish commit logic

* fix bug

* polish code

* fix commit consumed offset back

* refactor litePullConsumer

* development save

* development save

* Refactor DefaultLitePullConsumer and DefaultLitePullConsumerImpl.

* Polish lite pull consumer

* polish lite pull consumer

* polish lite pull consumer

* fix seek

* fix seek function

* polish lite pull consumer

* add apache header

* add test

* polish test

* Make broadcast model work for litePullConsumer

* Revert example/broadcast/PushConsumer.java

* Add delay time when no new message

* Enable long polling mode

* Fix subscribe bug when rebalance

* Delete useless consumeMessageHook

* Implement TopicMessageQueueChangeListener interface

* Lite pull consumer support namespace

* Make sql92 filter work
2019-08-14 10:39:36 +08:00
King 46288abb33 Polish lite pull consumer and fix bug (#1373)
* fix unsubscribe code

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* polish commit consumed offset

* pass checkstyle

* pass checkstyle

* polish LiteMQPullConsumer

* add flow control and polish commit logic

* fix bug

* polish code

* fix commit consumed offset back

* refactor litePullConsumer

* development save

* development save

* Refactor DefaultLitePullConsumer and DefaultLitePullConsumerImpl.

* Polish lite pull consumer

* polish lite pull consumer

* polish lite pull consumer

* fix seek

* fix seek function

* polish lite pull consumer

* add apache header

* add test

* polish test

* Make broadcast model work for litePullConsumer

* Revert example/broadcast/PushConsumer.java

* Add delay time when no new message

* Enable long polling mode

* Fix subscribe bug when rebalance

* Delete useless consumeMessageHook
2019-08-09 11:26:53 +08:00
King 9c3b26cfd3 Polish lite pull consumer (#1359)
* fix unsubscribe code

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* polish commit consumed offset

* pass checkstyle

* pass checkstyle

* polish LiteMQPullConsumer

* add flow control and polish commit logic

* fix bug

* polish code

* fix commit consumed offset back

* refactor litePullConsumer

* development save

* development save

* Refactor DefaultLitePullConsumer and DefaultLitePullConsumerImpl.

* Polish lite pull consumer

* polish lite pull consumer

* polish lite pull consumer

* fix seek

* fix seek function

* polish lite pull consumer

* add apache header

* add test

* polish test
2019-08-02 10:34:06 +08:00
zongtanghu 90ae116798 [maven-release-plugin] prepare for next development iteration 2019-08-01 23:25:38 +08:00
zongtanghu d63678dc50 [maven-release-plugin] prepare release rocketmq-all-4.5.2 rocketmq-all-4.5.2 2019-08-01 23:25:12 +08:00
vongosling 3fcc038a31 Fix the wrong package name 2019-07-31 17:38:16 +08:00
vongosling c95a1090f5 Minor polish 2019-07-31 16:27:59 +08:00
huzongtang 0f3b492ff1 change the MQVersion variable to rocketmq 4.5.2 version; 2019-07-31 16:04:32 +08:00
dinglei 4eab2d4c5c Cherry-pick urgent PR from master to develop (#1353) 2019-07-31 15:12:49 +08:00
vongosling b7b9f1e94e Merge branch 'develop' of github.com:apache/rocketmq into develop 2019-07-31 11:41:54 +08:00
vongosling 713bb9883b Refactor the protection logic when pulling 2019-07-31 11:41:40 +08:00
Rui Liu 7ac5ad37bb fix /dev/shm not found on some OSs (#1345) 2019-07-30 17:28:22 +08:00
King 83098eb604 Polish lite pull consumer (#1349)
* fix unsubscribe code

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* polish commit consumed offset

* pass checkstyle

* pass checkstyle

* polish LiteMQPullConsumer

* add flow control and polish commit logic

* fix bug

* polish code

* fix commit consumed offset back

* refactor litePullConsumer

* development save

* development save

* Refactor DefaultLitePullConsumer and DefaultLitePullConsumerImpl.

* Polish lite pull consumer

* polish lite pull consumer

* polish lite pull consumer

* fix seek
2019-07-30 10:59:13 +08:00
zhibo e1b9a32d81 Update concept.md (#1319) 2019-07-30 10:12:08 +08:00
skyline1688 57e2959bbe fixed the text description in chinese doc (#1339) 2019-07-30 10:08:43 +08:00
zhanguohuang b39031a7d1 [ISSUE #1082] Fix disconnection of HA (#1083) 2019-07-27 09:49:19 +08:00
yejunyu ae9228dccb Minor Typo fix (#860) 2019-07-24 20:23:29 +08:00
zhanguohuang 888e737208 Polish the comment (#1107) 2019-07-24 20:02:59 +08:00
von gosling 5ccd01c507 Remove the duplicate content 2019-07-24 19:54:22 +08:00
faicm 8d16798823 Update DLedgerCommitLog.java (#1145)
Delete useless code
2019-07-24 19:37:43 +08:00
vongosling 2ea1ca6807 Replace PermSize with MetaspaceSize, details see http://openjdk.java.net/jeps/122 2019-07-24 10:31:59 +08:00
vongosling 9b0d037dfc Merge branch 'develop' of github.com:apache/rocketmq into develop 2019-07-24 10:25:22 +08:00
vongosling 664e06730b Remove the useless files 2019-07-24 10:25:05 +08:00
King 62ca947a45 Polish LitePullConsumer (#1332)
* fix unsubscribe code

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* fix commit consumed offset

* polish commit consumed offset

* pass checkstyle

* pass checkstyle
2019-07-19 11:19:07 +08:00
duhenglucky 11b686e477 Add lite pull consumer example 2019-07-17 14:33:29 +08:00
xiangGuo be7c6dd219 [ISSUE #1308] Fix some spelling errors of method names. (#1307) 2019-07-15 15:44:10 +08:00
vongosling 6e7df5573d Typo fix and some other polish 2019-07-12 14:23:08 +08:00
vongosling d4c2608f16 Refactoring the method name of checking directybuffer pool available numbers 2019-07-12 10:27:03 +08:00
Heng Du c40cdf09c0 Add RPCHook construct method for MQPullConsumerScheduleService (#1314) 2019-07-11 19:59:31 +08:00
Eric 92262928fe Enhance: share netty handler (#635)
* It's highly recommended to share one stateless handler with all the server-side channels.

* comment for prepareSharableHandlers

* Simplify comment

* remove comment

* supply test case
2019-07-11 19:26:30 +08:00
ymwneu 5b29b73cc8 Set auto commit (#914) 2019-07-11 18:47:40 +08:00
githublaohu 92ec70b42d [ISSUE #1290] Acl IP Address Matching Range enhancement 2019-07-09 12:29:18 +08:00
duhenglucky af04557abf Add pull task logic 2019-06-21 09:47:42 +08:00
duhenglucky 2aae40f925 Add pull schedual service 2019-06-20 23:32:33 +08:00
程向往 d66243c03c [ISSUE #598] Enhance transaction by putting messages that exceed max check times to system topic (#633)
* add logic of putting message that exceeds max-check-times to system topic TRANS_CHECK_MAXTIME_TOPIC

* add test case:testResolveDiscardMsg

* add @After logic to test case

* comment brokerController.shutdown and use mock

* add logic of resuming half message check

* add test case:resumeCheckHalfMessage

* delete commented codes
2019-06-19 09:04:29 +08:00
dinglei ea88c4b73f Delay plant log appender in client loggger (#1266) 2019-06-18 17:51:43 +08:00
kexianjun bf2a7e5108 fix typo (#1260) 2019-06-17 19:02:17 +08:00
Hu Zongtang ac7b16da98 [ISSUE #1241]optimize the codes for issue that Suggestion about the third part dependency of the RocketMQ client. (#1264) 2019-06-17 19:00:59 +08:00
Heng Du a5d34dd494 Merge pull request #1257 from apache/enchanced_acl
[ISSUE #1156]Add new mqadmin API for ACL configuration
2019-06-16 11:03:46 +08:00
huzongtang d1db4a1a1b [ISSUE #1156]fix too many files with unapproved license issues; 2019-06-14 17:26:39 +08:00
huzongtang 3adbca9750 [ISSUE #1156]fix failure test cases for acl mqadmin command; 2019-06-14 17:10:08 +08:00
huzongtang 18601ec811 Merge remote-tracking branch 'origin/develop' into enchanced_acl 2019-06-14 14:21:24 +08:00
Hu Zongtang a2165d8051 [ISSUE #1156]new mqadmin API for ACL configuration (#1217)
* [issue#1164]return the codes to original reput method part.

* [issue#1164]fix issue that Consumer Instance can't consume message from slave when cluster is in the high level tps and master has been killed.

* [issue#1164]if the broker is a master node,then modify reputFromOffset correctly.

* [issue#1164]add some coding comments.

* [ISSUE#1156]new mqadmin API for ACL configuration.Add dataVersion and write data to acl yaml config file in the acl module.

* [ISSUE#1156]add unit test cases for new acl mqadmin API command which adding dataversion part.

* [ISSUE#1156]implement update,delete and query Acl config version in new acl mqadmin API command.

* [ISSUE#1156]polish and optimize the implementation for new acl mqadmin API command.

* [ISSUE#1156]fix the issues that topicPerms and groupPerms can't be updated and there is NPE when querying acl config version.

* [ISSUE#1156]fix small issue that specify wrong plainAccessConfig attribute,the correct one is AccessKey.

* [ISSUE#1156]add updateGlobalWhiteAddr subcommand codes for mqadmin acl command.

* [ISSUE#1156]adjust some codes for cluster acl config version list in the mqadmin acl commands.

* [ISSUE#1156]add acl mqadmin command part in the acl user_guide docs.

* [ISSUE#1156]polish and optimize some part of acl mqadmin command codes.

* [ISSUE#1156]fix code comments issue that the first letter needs to be capitalized and adjust the contents of acl user_guide.
2019-06-14 12:22:10 +08:00