You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andre Araujo (Jira)" <ji...@apache.org> on 2022/06/25 12:35:00 UTC

[jira] [Created] (MINIFICPP-1871) ConsumeMQTT fails upon agent restart

Andre Araujo created MINIFICPP-1871:
---------------------------------------

             Summary: ConsumeMQTT fails upon agent restart
                 Key: MINIFICPP-1871
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1871
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Andre Araujo


I have a flow that is running a ConsumeMQTT processor, successfully connected to the MQTT broker and consuming data. When the agent is restarted the following error is shown on the minifi-app.log:
{code:java}
[2022-06-25 12:19:04.189] [org::apache::nifi::minifi::processors::AbstractMQTTProcessor] [error] Failed to subscribe to MQTT topic iot/# (-1)
{code}
The ConsumeMQTT processor never recovers from this error.
After this, if I restart the agent, the ConsumerMQTT processor will manage to reconnect to the broker successfully and start consuming.

If I restart the agent one more time, the cycle above repeats.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)