DanielCarter-stack opened a new pull request, #11799:
URL: https://github.com/apache/seatunnel/pull/11799
# [Docs][Connector-V2] Improve Hbase Airtable Cassandra Databend and Phoenix
connector docs
## Summary
This PR improves the documentation for five connector families that have not
been touched by
recent open PRs. The goal is to make each page more accurate, more complete,
and more useful for
newcomers without introducing any code changes.
## Connectors touched (10 docs, en + zh)
* `Hbase` — source + sink (en + zh)
* `Airtable` — source + sink (en + zh)
* `Cassandra` — source + sink (en + zh)
* `Databend` — source + sink (en + zh)
* `Phoenix` — source + sink (en + zh)
## Detailed changes
### `docs/(en|zh)/connectors/source/Hbase.md`
* Clarified the description so readers know the connector is a batch source
that reads the
scan-time snapshot (not a CDC source).
* Fixed the first example fence from ` ```bash ` to ` ```hocon ` and tidied
the trailing whitespace.
* Added a "Read with a Binary Row Key" example showing `is_binary_rowkey =
true` plus a `bytes`
row key column.
### `docs/(en|zh)/connectors/sink/Hbase.md`
* Added a "Recreate the Target Table Before Writing" example demonstrating
`schema_save_mode = "RECREATE_SCHEMA"`, which was previously only
described in prose.
### `docs/(en|zh)/connectors/source/Airtable.md`
* Added a "Restrict to a View" example that combines `view` with `fields`
for column projection.
* Added a "Stream New Records with Filter and Sort" example in streaming
mode that pins
`filter_by_formula` and `sort` by `createdTime` to drive a stable polling
job.
### `docs/(en|zh)/connectors/sink/Airtable.md`
* Added a "Stream from Kafka to Airtable" example showing how to combine a
Kafka source with
the Airtable sink under `STREAMING` mode while staying inside the Airtable
rate limit.
### `docs/(en|zh)/connectors/source/Cassandra.md`
* Fixed the inline `tables_configs` entry example to use the ` ```hocon `
fence so the JSON
HOCON entry renders correctly.
* Added a "Read with a Stricter Consistency Level" example using
`consistency_level = "QUORUM"`.
### `docs/(en|zh)/connectors/sink/Cassandra.md`
* Added a "Stream MySQL CDC Events into Cassandra" example that pipes MySQL
CDC into the
Cassandra sink and uses `is_deleted` as a tombstone column for `DELETE`
events.
### `docs/(en|zh)/connectors/source/Databend.md`
* Expanded the one-line description into a fuller explanation of the read
modes, the projection
support, and the limitation that multi-table reads require one source
block per table.
* Added a "Filter on a Computed Column" example using an arbitrary Databend
expression in
`query`.
### `docs/(en|zh)/connectors/sink/Databend.md`
* Added a "Stream MySQL CDC to Databend in Streaming Mode" example that
pairs `MySQL-CDC`
with the Databend sink under `STREAMING` mode and a smaller `batch_size`
for tighter
checkpoint visibility.
### `docs/(en|zh)/connectors/source/Phoenix.md`
* Added a "Project Specific Columns with a Predicate" example combining
column projection with
a `WHERE` clause.
* Added a "Stream CDC Events into Phoenix" example combining MySQL CDC with
a Phoenix upsert.
### `docs/(en|zh)/connectors/sink/Phoenix.md`
* Added a "Route Multiple Tables into Phoenix" / "将汇总表 upsert 到 Phoenix"
example that
writes a small synthetic dataset to `test.summary` so the upsert behavior
is concrete.
## Notes
* All code fences in new HOCON snippets use the ` ```hocon ` marker to match
the rest of the
SeaTunnel documentation set.
* Chinese pages mirror the English changes and use the same examples;
existing terminology
(e.g. `精确一次`, `列投影`, `模式投影`) is preserved.
* No support version numbers were updated, per the project convention for
doc-only PRs.
--
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]