[Feature][Connector-V2] Add tunnel_name option to MaxCompute Connector#10690
[Feature][Connector-V2] Add tunnel_name option to MaxCompute Connector#10690xxzuo wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds support for configuring a MaxCompute Tunnel Quota (exclusive resource group) via a new tunnel_name option in the MaxCompute connector, and documents the option in both English and Chinese connector docs.
Changes:
- Add
tunnel_nameoption to MaxCompute connector configuration options. - Apply
tunnel_nametoTableTunnelconfiguration by setting the Tunnel quota name. - Document
tunnel_name(and listtunnel_endpoint) in source/sink docs (EN/ZH), including the VPC endpoint limitation.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| seatunnel-connectors-v2/connector-maxcompute/src/main/java/org/apache/seatunnel/connectors/seatunnel/maxcompute/util/MaxcomputeUtil.java | Sets Tunnel quota name on TableTunnel when tunnel_name is provided. |
| seatunnel-connectors-v2/connector-maxcompute/src/main/java/org/apache/seatunnel/connectors/seatunnel/maxcompute/config/MaxcomputeBaseOptions.java | Introduces new config option tunnel_name. |
| docs/zh/connectors/source/Maxcompute.md | Documents tunnel_endpoint and tunnel_name for the source connector (ZH). |
| docs/zh/connectors/sink/Maxcompute.md | Documents tunnel_name and lists tunnel options in the sink options table (ZH). |
| docs/en/connectors/source/Maxcompute.md | Documents tunnel_endpoint and tunnel_name for the source connector (EN). |
| docs/en/connectors/sink/Maxcompute.md | Documents tunnel_name and lists tunnel options in the sink options table (EN). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I pulled this PR locally and walked the option -> client configuration path. The new |
Purpose of this pull request
adds a new configuration option
tunnel_nameto the MaxCompute connector to support specifying a custom Tunnel Quota (exclusive resource group) for data transfer operations.Tunnel Quota allows users to use dedicated computing resources for MaxCompute Tunnel data transfer, providing better performance and resource isolation.
close #10684
Does this PR introduce any user-facing change?
This PR adds a new configuration option
tunnel_nameto the MaxCompute connector.New option:
Documentation:
tunnel_nameoption description in both English and Chinese docs for Source and Sink connectorsHow was this patch tested?
Verified in local development environment.Tunnel Quota feature only takes effect when the user has purchased exclusive data transmission resources and uses VPC endpoints, without these conditions, the configuration has no functional impact on runtime
Check list
New License Guide
incompatible-changes.mdto describe the incompatibility caused by this PR.