apache / apache/paimon

[Feature] The CDC Action parameter supports yaml file

Open
#3,194 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.

### Motivation

CDC Action requires a large number of parameters, which is difficult to reuse and maintain. Recommended reference flink cdc yaml。IE:

```yaml
source:
type: mysql
name: MySQL Source
hostname: 127.0.0.1
port: 3306
username: admin
password: pass
tables: adb.\.*
server-id: 5401-5404

metadata_column: xxx
including_tables: xxx
excluding_tables: xxxx

sink:
warehouse: hdfs:///path/to/warehouse
database: test_db
table: test_table
partition_keys: xxx
primary_keys: xxxx
ignore_incompatible: false
merge_shards: xx
table_prefix: xxx
table_suffix: xxx

catalog:
metastore: hive
uri: thrift://hive-metastore:9083

pipeline:
bucket: 4
changelog-producer: input
sink.parallelism: 4
type_mapping: xxxx
computed_column: xxxx
mode: divided
```

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points; begin by tracing the CDC Action parameter handling. Done should be defined as support for the YAML configuration structure shown, including source, sink, catalog, and pipeline sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, yaml
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.