Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.18.0, 1.19.0
-
None
-
None
Description
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
Attachments
Issue Links
- relates to
-
NIFI-10251 Add v5 protocol support for existing MQTT processors
- Resolved