You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ádám Markovics (Jira)" <ji...@apache.org> on 2022/08/17 09:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/MINIFICPP-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ádám Markovics reassigned MINIFICPP-1871:
-----------------------------------------

    Assignee: Andre Araujo  (was: Ádám Markovics)

> 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
>            Assignee: Andre Araujo
>            Priority: Major
>
> 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.10#820010)