共享订阅是不是不能设置‘No Local’?

Java 客户端共享订阅设置‘No Local’订阅不成功 :

    - topic: $share/srv/testtopic-1  # 共享订阅
      qos: 1
      noLocal: true   # 不成功,topic: testtopic-1 时则成功
      retainAsPublished: false
      retainHandling: 1

异常输出:

2023-10-24 16:42:36.520 ERROR [MQTT Call: app-server_192.168.56.1] c.j.m.client.support.DefaultMqttCallback#connectComplete(L:91) -> subscribe topics fail -> [(topic: $share/srv/testtopic-1, qos: 1, noLocal: true, retainAsPublished: false, retainHandling: 1)] 客户机未连接 org.eclipse.paho.mqttv5.common.MqttException: 客户机未连接
	... suppressed 6 lines
	at com.juanvision.mqtt.client.support.DefaultMqttCallback.connectComplete(DefaultMqttCallback.java:84) [classes/:?]
	... suppressed 4 lines
	at java.lang.Thread.run(Thread.java:833) [?:?]

用客户端尝试也一样:


MQTT 协议规定了不能在共享订阅中设置no local flag