suntectec opened a new pull request, #4561:
URL: https://github.com/apache/flink-cdc/pull/4561

   ## What is the purpose of this pull request?
   
   This is a docs-only fix for 
[FLINK-40514](https://issues.apache.org/jira/browse/FLINK-40514). The Doris 
pipeline connector option table has drifted from the implementation in both the 
English and the Chinese docs, so users reading it would get the wrong types and 
defaults, and six supported options were not documented at all.
   
   ## Brief change log
   
   - `auto-redirect`: documented as `String`, but declared as `booleanType()` 
in `DorisDataSinkOptions`. Corrected to `Boolean`.
   - `charset-encoding`: documented as `Boolean` with default `false`, but 
declared as `stringType()` with default `"UTF-8"`. Corrected both the type and 
the default.
   - Removed the leftover Java string concatenation (`\n" + "`) that leaked 
into the English `sink.ignore.update-before` description.
   - Documented the six options declared in 
`DorisDataSinkFactory#optionalOptions()` but missing from the table: 
`sink.enable-2pc`, `sink.check-interval`, `sink.buffer-size`, 
`sink.buffer-count`, `sink.label-prefix` and `sink.use-cache`. The new rows are 
appended at the end of the `sink.*` group, and their descriptions are copied 
from the corresponding `ConfigOption` descriptions.
   - Updated both `docs/content/docs/connectors/pipeline-connectors/doris.md` 
and `docs/content.zh/docs/connectors/pipeline-connectors/doris.md`.
   
   No code change is involved. Existing option descriptions were intentionally 
left untouched so that this change stays limited to the inaccuracies reported 
in the JIRA issue.
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   The tables were cross-checked against the code: every `ConfigOption` 
declared in `DorisDataSinkOptions` now appears in the option table of both 
documents, and the only remaining doc entries that have no `ConfigOption` 
counterpart are the pipeline-level `type` / `name` rows and the 
`sink.properties.*` / `table.create.*` prefix rows.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (no)
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
    
   - [X] Yes (please specify the tool below)
    
   Generated-by: Qoder 1.32.0
   


-- 
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]

Reply via email to