Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(mqtt-proxy): support domain #4391

Merged
merged 2 commits into from
Jun 9, 2021
Merged

feat(mqtt-proxy): support domain #4391

merged 2 commits into from
Jun 9, 2021

Conversation

spacewander
Copy link
Member

Fix #3964

Signed-off-by: spacewander spacewanderlzx@gmail.com

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

Fix apache#3964

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
@spacewander spacewander marked this pull request as ready for review June 8, 2021 08:51
@@ -45,7 +45,8 @@ title: mqtt-proxy
| -------------- | ------- | ------ | ------ | ------ | ------------------------------------------------------ |
| protocol_name | string | 必须 | | | 协议名称,正常情况下应为“ MQTT” |
| 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
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 <spacewanderlzx@gmail.com>
@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