Skip to content

feat(mqtt-proxy): support domain#4391

Merged
tokers merged 2 commits into
apache:masterfrom
spacewander:mqtth
Jun 9, 2021
Merged

feat(mqtt-proxy): support domain#4391
tokers merged 2 commits into
apache:masterfrom
spacewander:mqtth

Conversation

@spacewander

Copy link
Copy Markdown
Member

Fix #3964

Signed-off-by: spacewander [email protected]

What this PR does / why we need it:

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

@spacewander
spacewander marked this pull request as ready for review June 8, 2021 08:51
Comment thread docs/zh/latest/plugins/mqtt-proxy.md Outdated
| protocol_level | integer | 必须 | | | 协议级别,MQTT `3.1.*` 应为 `4` ,MQTT `5.0` 应是`5`。 |
| upstream.ip | string | 必须 | | | 将当前请求转发到的上游的 IP 地址 |
| upstream.host | string | 必须 | | | 将当前请求转发到的上游的 IP 地址或域名 |
| upstream.ip | string | 必须 | | | 推荐使用“host”代替。将当前请求转发到的上游的 IP 地址 |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we only need one of them, naming both of them 'required' might lead to misunderstanding

Signed-off-by: spacewander <[email protected]>
Comment thread apisix/stream/plugins/mqtt-proxy.lua
Comment thread apisix/stream/plugins/mqtt-proxy.lua
@tokers
tokers merged commit 8bf8cc1 into apache:master Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request help: stream_proxy(mqtt_proxy) do not support dns resolv。

4 participants