spacewander edited a comment on issue #5802:
URL: https://github.com/apache/apisix/issues/5802#issuecomment-996355964


   Interesting. Here is the result running on my machine:
   ```
    incubator-apisix (master) 0
    ¥ mosquitto_sub -t test -v &
   [1] 23990
    incubator-apisix (master) 0
    ¥ mosquitto_pub -t test -m "Hello" -p 9100
   test Hello
   ```
   
   My stream route conf is:
   ```
   
{"plugins":{"mqtt-proxy":{"protocol_level":4,"protocol_name":"MQTT","upstream":{"host":"127.0.0.1","port":1883}}}}
   ```
   
   My config.yaml is:
   ```
   apisix:
     #dns_resolver:                  # If not set, read from `/etc/resolv.conf`
       #- 127.0.0.1:1053
     enable_admin: true
     stream_proxy:                 # TCP/UDP proxy
       only: false
       tcp:                        # TCP proxy port list
         - addr: 9100
   ```
   
   My mosquitto_pub version is:
   ```
   mosquitto_pub --version
   mosquitto_pub version 2.0.14 running on libmosquitto 2.0.14.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to