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:25:00 UTC
[jira] [Commented] (MINIFICPP-1871) ConsumeMQTT fails upon agent restart
[ https://issues.apache.org/jira/browse/MINIFICPP-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17580696#comment-17580696 ]
Ádám Markovics commented on MINIFICPP-1871:
-------------------------------------------
Branch is merged into main now, please test if issue persists for you.
> 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: Ádám Markovics
> 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)