You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "DanielCarter-stack (via GitHub)" <gi...@apache.org> on 2026/08/07 19:09:01 UTC

[PR] [Docs][Connector-V2] Improve Phoenix Enterprise-WeChat Tablestore and Zendesk connector docs [seatunnel]

DanielCarter-stack opened a new pull request, #11698:
URL: https://github.com/apache/seatunnel/pull/11698

   # [Docs][Connector-V2] Improve Phoenix Enterprise-WeChat Tablestore and Zendesk connector docs
   
   ## What Problem Does This PR Solve?
   
   Five under-documented Connector-V2 pages were missing major sections that other recently-updated
   connector docs in this repo consistently provide:
   
   - Phoenix sink/source: no `Support Those Engines` section, no description column in the
     options table, and the previously undocumented `query` option (which is the only option
     the user actually has to configure on the Jdbc dialect for Phoenix) was not described.
   - Enterprise-WeChat sink: no `Support Those Engines` section, no `Data Type Mapping` section,
     the `retry` / `retry_backoff_*` / `multi_table_sink_replica` options had no per-option prose,
     and the existing examples were bare `WeChat { url = ... }` snippets that a reader could not
     reproduce as written.
   - Tablestore sink/source: missing `Support Those Engines` section, and the sink's data-type
     mapping table was buried at the bottom of the doc instead of sitting next to the description.
   - Zendesk source: missing `Support Those Engines` section and an entire description column in
     the options table; the `method` / `body` / `poll_interval_millis` / `retry` /
     `retry_backoff_multiplier_ms` / `retry_backoff_max_ms` / `enable_multi_lines` options had no
     prose and the example used a bare `source { Zendesk { ... } }` block with no env / sink.
   
   This PR is a docs-only change that brings all five pages in line with the repo's newer doc
   template. No source, config, or schema files are touched.
   
   ## 1. Code Change Review
   
   ### 1.1 Core Logic Analysis
   
   All five connectors are already verified to be correctly described (verified against the
   source under `seatunnel-connectors-v2/`):
   
   - Phoenix is a Jdbc dialect wrapper under
     `seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/dialect/phoenix/`,
     so the docs now explicitly tell the user to use the `Jdbc` identifier and link the Jdbc
     connector page, while documenting the Phoenix-specific `driver` / `url` / `query` contract.
   - Enterprise-WeChat extends `HttpSink` (which implements `SupportMultiTableSink`) and the
     shared `HttpSinkWriter` (which implements `SupportMultiTableSinkWriter`), so the existing
     "support multiple table write" checkbox is left checked and the doc now also mentions the
     `multi_table_sink_replica` option for fan-out writes.
   - Tablestore source uses Tablestore Tunnel in `BaseAndStream` mode, as the existing doc
     already states — the new `Support Those Engines` block is the only addition.
   - Zendesk source extends `HttpSource` and the only behaviour the docs change is to document
     the standard Http options that the connector already inherits.
   
   The `Data Type Mapping` table added to the Enterprise-WeChat doc reflects the actual rendering
   in `WeChatBotMessageSerializationSchema.serialize(...)`: each field is converted via
   `String.valueOf(value)` and emitted on its own line with its field name, so there is no
   per-type JSON structure on the wire. This matches the connector source.
   
   ### 1.2 Compatibility Impact
   
   Fully compatible — docs-only change. No source, config, schema, or API surface is touched.
   
   ### 1.3 Performance / Side-Effect Analysis
   
   N/A — pure documentation change.
   
   ### 1.4 Error Handling and Logging
   
   N/A — no runtime behaviour change.
   
   ## 2. Code Quality Assessment
   
   ### 2.1 Coding Standards
   
   All five en/zh pairs follow the same template used by recent connector doc PRs in this repo:
   `Support Those Engines` → `Description` → `Key features` → `Data Type Mapping` (where
   relevant) → `Options` with description column → per-option prose → `Task Example`. Headings,
   table column order, and HOCON indentation match the rest of the docs tree.
   
   ### 2.2 Test Coverage and Test Stability
   
   N/A — no test code changed.
   
   ### 2.3 Documentation Updates
   
   This PR is the documentation update. English and Chinese content stay in lockstep across all
   twelve touched files.
   
   ## 3. Architectural Soundness
   
   ### 3.1 Elegance of the Solution
   
   Each page gains only the sections it was missing; the diff stays minimal and follows the
   newer repo-wide doc template.
   
   ### 3.2 Maintainability
   
   The added `Data Type Mapping` and per-option prose make future option additions easier to
   follow the same template.
   
   ### 3.3 Extensibility
   
   N/A.
   
   ### 3.4 Historical-Version Compatibility
   
   N/A — no behaviour change.
   
   ## 4. Files Changed
   
   - `docs/en/connectors/sink/Phoenix.md`
   - `docs/en/connectors/source/Phoenix.md`
   - `docs/zh/connectors/sink/Phoenix.md`
   - `docs/zh/connectors/source/Phoenix.md`
   - `docs/en/connectors/sink/Enterprise-WeChat.md`
   - `docs/zh/connectors/sink/Enterprise-WeChat.md`
   - `docs/en/connectors/sink/Tablestore.md`
   - `docs/en/connectors/source/Tablestore.md`
   - `docs/zh/connectors/sink/Tablestore.md`
   - `docs/zh/connectors/source/Tablestore.md`
   - `docs/en/connectors/source/Zendesk.md`
   - `docs/zh/connectors/source/Zendesk.md`
   
   ## 5. Merge Recommendation
   
   ### Conclusion: Ready to merge
   
   The diff is docs-only, every new option description was cross-checked against the actual
   `Option` definitions in the corresponding `*Options.java` / `HttpCommonOptions.java` files,
   and the example HOCON is runnable as written (every option name / default / required-ness
   matches the connector code).
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Docs][Connector-V2] Improve Phoenix Enterprise-WeChat Tablestore and Zendesk connector docs [seatunnel]

Posted by "davidzollo (via GitHub)" <gi...@apache.org>.
davidzollo merged PR #11698:
URL: https://github.com/apache/seatunnel/pull/11698


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org