Skip to content

docs: update mqtt-proxy plugin docs#13310

Open
Yilialinn wants to merge 2 commits intoapache:masterfrom
Yilialinn:docs/update-mqtt-proxy
Open

docs: update mqtt-proxy plugin docs#13310
Yilialinn wants to merge 2 commits intoapache:masterfrom
Yilialinn:docs/update-mqtt-proxy

Conversation

@Yilialinn
Copy link
Copy Markdown
Contributor

Summary

  • Full port from API7 docs with 2 structured examples: proxy to a MQTT broker and load balancing MQTT traffic across multiple brokers.
  • Add Default column to attributes table showing "MQTT" default for protocol_name.
  • Rewrite examples to use PUT /apisix/admin/stream_routes with id in the request body and ${admin_key} variable.
  • Consolidate the config.yaml L4 enabling instructions into the examples preamble.
  • Retain existing mTLS section as APISIX-specific content not present in API7 docs.
  • Remove Delete Plugin section.
  • Add canonical link to API7 docs.

- Full port from API7 docs with 2 structured examples:
  * Proxy to a MQTT Broker
  * Load Balance MQTT Traffic
- Add attributes table Default column with 'MQTT' for protocol_name
- Fix description to describe L4 plugin with stream Route requirement
- Rewrite examples to use PUT /stream_routes with id in body and admin_key
- Consolidate config.yaml snippet into examples preamble
- Keep existing mTLS section (APISIX-specific content)
- Remove Delete Plugin section
- Add canonical link
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. doc Documentation things labels Apr 28, 2026
@Yilialinn Yilialinn requested a review from Copilot April 28, 2026 03:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the mqtt-proxy plugin documentation to align with API7 content and provide clearer, more structured stream proxy examples (proxying + load balancing), while keeping APISIX-specific mTLS guidance.

Changes:

  • Reworked plugin description and examples, including L4 enabling steps and Mosquitto-based verification flows.
  • Expanded the attributes table to include a Default column for protocol_name.
  • Updated Admin API example requests and removed the “Delete Plugin” section; added a canonical link.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 9 comments.

File Description
docs/zh/latest/plugins/mqtt-proxy.md Ports/restructures the Chinese plugin doc: adds canonical link, updates attributes, consolidates L4 setup, and refreshes examples + mTLS section.
docs/en/latest/plugins/mqtt-proxy.md Ports/restructures the English plugin doc similarly: canonical link, new examples + L4 config preamble, attribute defaults, and updated mTLS section.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/en/latest/plugins/mqtt-proxy.md
Comment thread docs/en/latest/plugins/mqtt-proxy.md Outdated
Comment thread docs/en/latest/plugins/mqtt-proxy.md
Comment thread docs/en/latest/plugins/mqtt-proxy.md Outdated
Comment thread docs/en/latest/plugins/mqtt-proxy.md Outdated
Comment thread docs/en/latest/plugins/mqtt-proxy.md
Comment thread docs/en/latest/plugins/mqtt-proxy.md Outdated
Comment thread docs/en/latest/plugins/mqtt-proxy.md Outdated
Comment thread docs/en/latest/plugins/mqtt-proxy.md Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants