You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/01/07 09:34:11 UTC

[apisix] branch master updated: docs: added some explanations for the usage of the mqtt proxy (#5888)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new ef04e06  docs: added some explanations for the usage of the mqtt proxy (#5888)
ef04e06 is described below

commit ef04e067c8044b98b261fd51149d9e8503b84d8a
Author: Daniel Kocot <da...@icloud.com>
AuthorDate: Fri Jan 7 10:34:02 2022 +0100

    docs: added some explanations for the usage of the mqtt proxy (#5888)
---
 docs/en/latest/plugins/mqtt-proxy.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/en/latest/plugins/mqtt-proxy.md b/docs/en/latest/plugins/mqtt-proxy.md
index 4ef020b..353069c 100644
--- a/docs/en/latest/plugins/mqtt-proxy.md
+++ b/docs/en/latest/plugins/mqtt-proxy.md
@@ -71,7 +71,6 @@ Creates a stream route, and enable plugin `mqtt-proxy`.
 ```shell
 curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '
 {
-    "remote_addr": "127.0.0.1",
     "plugins": {
         "mqtt-proxy": {
             "protocol_name": "MQTT",
@@ -89,6 +88,8 @@ curl http://127.0.0.1:9080/apisix/admin/stream_routes/1 -H 'X-API-KEY: edd1c9f03
 }'
 ```
 
+In case Docker is used in combination with MacOS `host.docker.internal` is the right parameter for `host`.
+
 ## Delete Plugin
 
 ```shell