[ https://issues.apache.org/jira/browse/MINIFICPP-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ádám Markovics resolved MINIFICPP-1871. --------------------------------------- Resolution: Fixed > 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)