You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Yuanhao Zhu (Jira)" <ji...@apache.org> on 2026/08/14 13:42:00 UTC

[jira] [Created] (NIFI-16203) Support multiple topic subscription in ConsumeMQTT processor

Yuanhao Zhu created NIFI-16203:
----------------------------------

             Summary: Support multiple topic subscription in ConsumeMQTT processor
                 Key: NIFI-16203
                 URL: https://issues.apache.org/jira/browse/NIFI-16203
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Yuanhao Zhu


The {{ConsumeMQTT}} Processor exposes a single {{Topic Filter}} property and issues one
subscription per connection. Consuming from several topics therefore requires several Processor instances, each opening its own broker connection with its own Client ID, which is not so nice. A wildcard filter is the usual workaround, but it is unusable when topic names are flat or externally dictated, or when broker ACLs authorise only explicit topics. 

The MQTT protocol has no such restriction: a SUBSCRIBE packet carries a list of Topic Filters
with one SUBACK Reason Code per filter (MQTT 5 specification sections 3.8.3 and 3.9.3). 






--
This message was sent by Atlassian Jira
(v8.20.10#820010)