You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/12/17 01:35:13 UTC

[GitHub] [apisix] spacewander edited a comment on issue #5802: bug: no connection to MQTT broker possible by using mqtt_proxy

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-unsubscribe@apisix.apache.org

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