rocketmq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From duhengfore...@apache.org
Subject [rocketmq] branch snode updated (66e15cf -> a1f4358)
Date Thu, 07 Mar 2019 11:57:39 GMT
This is an automated email from the ASF dual-hosted git repository.

duhengforever pushed a change to branch snode
in repository https://gitbox.apache.org/repos/asf/rocketmq.git.


    from 66e15cf  Send subscription to snode when using real push
     new 5a3102d  completing qos=0 message pub and sub
     new bd21a92  add MqttConfig.java
     new c36f09a  1.add mqttServerConfig/mqttClientConfig 2.delete payload from RemotingCommand
     new a1f4358  Merge pull request #842 from xiangwangcheng/snode

The 919 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../org/apache/rocketmq/common/MqttConfig.java     | 133 +++++++++++++++++
 .../org/apache/rocketmq/common/SnodeConfig.java    |  30 ----
 .../protocol/heartbeat/MqttSubscriptionData.java   |   2 -
 example/pom.xml                                    |   4 +
 .../rocketmq/example/mqtt/MqttSampleConsumer.java  |  86 +++++++++++
 .../rocketmq/example/mqtt/MqttSampleProducer.java  |  68 +++++++++
 pom.xml                                            |  10 ++
 remoting/pom.xml                                   |  11 +-
 .../org/apache/rocketmq/remoting/ServerConfig.java |   9 --
 .../mqtt/MqttMessage2RemotingCommandHandler.java   |   2 +-
 .../transport/mqtt/MqttRemotingClient.java         |  49 +++---
 .../transport/mqtt/MqttRemotingServer.java         |  34 ++---
 .../mqtt/RemotingCommand2MqttMessageHandler.java   |   4 +-
 .../transport/mqtt/RocketMQMqttConnectPayload.java | 112 --------------
 .../transport/mqtt/RocketMQMqttSubAckPayload.java  |  59 --------
 .../mqtt/RocketMQMqttSubscribePayload.java         |  67 ---------
 .../mqtt/RocketMQMqttUnSubscribePayload.java       |  63 --------
 .../mqtt/dispatcher/EncodeDecodeDispatcher.java    |  13 +-
 .../dispatcher/Message2MessageEncodeDecode.java    |   3 +-
 .../mqtt/dispatcher/MqttConnectEncodeDecode.java   |  11 +-
 .../dispatcher/MqttConnectackEncodeDecode.java     |   4 +-
 .../mqtt/dispatcher/MqttPubackEncodeDecode.java    |   3 +-
 .../mqtt/dispatcher/MqttPublishEncodeDecode.java   |  33 +++--
 .../mqtt/dispatcher/MqttSubackEncodeDecode.java    |  10 +-
 .../mqtt/dispatcher/MqttSubscribeEncodeDecode.java |  12 +-
 .../mqtt/dispatcher/MqttUnSubackEncodeDecode.java  |   3 +-
 .../dispatcher/MqttUnSubscribeEncodeDecode.java    |  16 +-
 .../remoting/util/MqttEncodeDecodeUtil.java        |  27 ++--
 .../org/apache/rocketmq/snode/SnodeController.java | 121 ++++++++++-----
 .../org/apache/rocketmq/snode/SnodeStartup.java    |  67 ++++++++-
 .../org/apache/rocketmq/snode/client/Client.java   |  14 +-
 .../snode/client/ClientHousekeepingService.java    |   2 +-
 .../snode/client/impl/ClientManagerImpl.java       |   5 +-
 .../snode/client/impl/IOTClientManagerImpl.java    |  31 +++-
 .../processor/DefaultMqttMessageProcessor.java     |  38 +++--
 .../mqtthandler/MqttConnectMessageHandler.java     |   3 +
 .../mqtthandler/MqttDisconnectMessageHandler.java  |   4 +-
 .../mqtthandler/MqttPublishMessageHandler.java     |  49 +++++-
 .../mqtthandler/MqttSubscribeMessageHandler.java   |  36 ++++-
 .../mqtthandler/MqttUnsubscribeMessagHandler.java  |  99 +++++++++++--
 .../snode/service/impl/MqttPushServiceImpl.java    | 164 +++++++++++++++++++++
 .../org/apache/rocketmq/snode/util/MqttUtil.java   |  30 ++++
 .../apache/rocketmq/snode/SnodeControllerTest.java |  12 +-
 .../processor/DefaultMqttMessageProcessorTest.java |  22 +--
 .../processor/MqttConnectMessageHandlerTest.java   |   9 +-
 .../MqttDisconnectMessageHandlerTest.java          |   6 +-
 .../snode/processor/SendMessageProcessorTest.java  |   7 +-
 .../snode/service/NnodeServiceImplTest.java        |   5 +-
 .../snode/service/RemoteEnodeServiceImplTest.java  |   5 +-
 .../snode/service/SlowConsumerServiceImplTest.java |   5 +-
 .../snode/service/WillMessageServiceImplTest.java  |   6 +-
 51 files changed, 1008 insertions(+), 610 deletions(-)
 create mode 100644 common/src/main/java/org/apache/rocketmq/common/MqttConfig.java
 create mode 100644 example/src/main/java/org/apache/rocketmq/example/mqtt/MqttSampleConsumer.java
 create mode 100644 example/src/main/java/org/apache/rocketmq/example/mqtt/MqttSampleProducer.java
 delete mode 100644 remoting/src/main/java/org/apache/rocketmq/remoting/transport/mqtt/RocketMQMqttConnectPayload.java
 delete mode 100644 remoting/src/main/java/org/apache/rocketmq/remoting/transport/mqtt/RocketMQMqttSubAckPayload.java
 delete mode 100644 remoting/src/main/java/org/apache/rocketmq/remoting/transport/mqtt/RocketMQMqttSubscribePayload.java
 delete mode 100644 remoting/src/main/java/org/apache/rocketmq/remoting/transport/mqtt/RocketMQMqttUnSubscribePayload.java
 copy broker/src/main/java/org/apache/rocketmq/broker/transaction/queue/TransactionalMessageUtil.java
=> remoting/src/main/java/org/apache/rocketmq/remoting/util/MqttEncodeDecodeUtil.java (60%)
 create mode 100644 snode/src/main/java/org/apache/rocketmq/snode/service/impl/MqttPushServiceImpl.java


Mime
View raw message