Purushottam Sinha created FLINK-40273:
-----------------------------------------
Summary: JDBC docs: update for the 4.x module split and Sink V2 API
Key: FLINK-40273
URL: https://issues.apache.org/jira/browse/FLINK-40273
Project: Flink
Issue Type: Bug
Components: Connectors / JDBC, Documentation
Reporter: Purushottam Sinha
Problem
The JDBC connector docs still describe the 3.x connector. They point users at
an artifact that 4.x no longer builds and document a sink API that was deleted,
so the DataStream examples do not compile against the current release.
Evidence
- docs/content/docs/connectors/datastream/jdbc.md:226-523 documents
JdbcSink.sink(), JdbcSink.exactlyOnceSink() and JdbcXaSinkFunction, all deleted
with that module.
- scan.partition.lower-bound/upper-bound are documented as Integer;
JdbcConnectorOptions.java:96-105 declares longType().
Proposed fix
- Point jdbc.yml at 4.0-SNAPSHOT with one variant per published module, and
document the per-database artifact split.
- Rewrite the DataStream sink section for JdbcSink.builder() / buildAtLeastOnce
/ buildExactlyOnce, and lead the source section with setSplitter (FLINK-38733).
- Correct option types, compatible-mode (OceanBase-only), catalog base-url
semantics (FLINK-38851), and add PostgreSQL JSON/JSONB and UUID mappings.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)