[ 
https://issues.apache.org/jira/browse/NIFI-4938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389075#comment-16389075
 ] 

ASF GitHub Bot commented on NIFI-4938:
--------------------------------------

Github user Himanshu-it commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2514#discussion_r172748974
  
    --- Diff: 
nifi-nar-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/test/java/org/apache/nifi/processors/mqtt/common/MqttTestClient.java
 ---
    @@ -17,16 +17,7 @@
     
     package org.apache.nifi.processors.mqtt.common;
     
    -import org.eclipse.paho.client.mqttv3.IMqttClient;
    -import org.eclipse.paho.client.mqttv3.IMqttDeliveryToken;
    -import org.eclipse.paho.client.mqttv3.IMqttToken;
    -import org.eclipse.paho.client.mqttv3.MqttCallback;
    -import org.eclipse.paho.client.mqttv3.MqttConnectOptions;
    -import org.eclipse.paho.client.mqttv3.MqttException;
    -import org.eclipse.paho.client.mqttv3.MqttMessage;
    -import org.eclipse.paho.client.mqttv3.MqttPersistenceException;
    -import org.eclipse.paho.client.mqttv3.MqttSecurityException;
    -import org.eclipse.paho.client.mqttv3.MqttTopic;
    +import org.eclipse.paho.client.mqttv3.*;
    --- End diff --
    
    sure thanks.


> Offline buffering is not supported by paho client version 1.0.2 used in mqtt 
> processors.
> ----------------------------------------------------------------------------------------
>
>                 Key: NIFI-4938
>                 URL: https://issues.apache.org/jira/browse/NIFI-4938
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Himanshu Mishra
>            Priority: Major
>
> Off line buffering is not supported by paho client version 1.0.2 used in mqtt 
> processors which causes problem of "message loss" with QoS 1 and QoS 2 for 
> mqtt messages when the client connectivity is lost.
> The version 1.2.0 of paho client supports this off line buffering. Thus 
> addressing this issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to