You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Peter Turcsanyi (Jira)" <ji...@apache.org> on 2022/11/29 12:36:00 UTC
[jira] [Updated] (NIFI-10894) Resume Session in ConsumeMQTT does not work after NiFi restart
[ https://issues.apache.org/jira/browse/NIFI-10894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Turcsanyi updated NIFI-10894:
-----------------------------------
Affects Version/s: 1.19.0
1.18.0
> Resume Session in ConsumeMQTT does not work after NiFi restart
> --------------------------------------------------------------
>
> Key: NIFI-10894
> URL: https://issues.apache.org/jira/browse/NIFI-10894
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.18.0, 1.19.0
> Reporter: Peter Turcsanyi
> Priority: Major
>
> ConsumeMQTT in Resume Session mode should process the messages sent to broker while the processor was offline after starting the processor again.
> Using v5.0 specification version, it works if the processor is stopped and then started but the "offline" messages get lost if the NiFi instance is restarted.
> It seems the issue is that the async client needs to be used for connecting the consumer (not only for the subscribe() call).
> [https://github.com/apache/nifi/blob/830a64b8e95c1ff2baaa3b47234a5ba6c9a5d0de/nifi-nar-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/main/java/org/apache/nifi/processors/mqtt/adapters/HiveMqV5ClientAdapter.java#L99]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)