Skip to content

docs: update mqtt-proxy plugin docs#13310

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

docs: update mqtt-proxy plugin docs#13310
Yilialinn wants to merge 4 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
Add comprehensive configuration examples for different deployment methods:

- Add ADC (API7 Declarative Config) configuration examples
- Add Ingress Controller examples with Gateway API and APISIX CRD
- Organize examples using multi-tab interface for better usability
- Include both simple proxy and load balancing scenarios

These examples help users configure mqtt-proxy in different
deployment environments including standalone APISIX, ADC-managed
deployments, and Kubernetes with Ingress Controller.

Related: api7/docs#1554
@dosubot dosubot Bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 7, 2026
…ples

Update Chinese documentation for mqtt-proxy plugin to match the
English version updates:

- Add ADC (API7 Declarative Config) configuration examples
- Add Ingress Controller (Gateway API and APISIX CRD) examples
- Add multi-tab interface for different configuration methods
- Translate new example descriptions and instructions to Chinese
- Keep code blocks and YAML configurations in English

This ensures Chinese-speaking users have access to the same
comprehensive configuration examples as English-speaking users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Documentation things size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants