tysoncung opened a new pull request, #12720: URL: https://github.com/apache/apisix/pull/12720
### What this PR does / why we need it: This PR makes the `protocol_name` parameter optional in the mqtt-proxy plugin, as requested in #11589. Currently, `protocol_name` is required even though it's almost always set to `MQTT`. This creates unnecessary configuration overhead for users. ### Changes: - Made `protocol_name` optional in the plugin schema with default value `MQTT` - Updated validation logic to use the default when not specified - Updated English documentation to reflect optional status - Updated Chinese documentation to reflect optional status ### Pre-submission checklist: - [x] Did you explain what problem does this PR solve? Or what new features have been added? - [x] Have you added corresponding test cases? - [x] Have you modified the corresponding document? - [x] Is this PR backward compatible? ### Backward Compatibility: ✅ This change is fully backward compatible. Existing configurations that specify `protocol_name` will continue to work exactly as before. Fixes #11589 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
