apache / apache/paimon

[Feature] Refactor Kafka-CDC tests

Open
#3,123 0 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

This is an umbrella issue.
Kafka cdc tests are complicated. There are many test cases, we can extract common parts to clean the code.
Besides, Kafka cdc contains four formats now, some tests are redundant.

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Kafka CDC test suite and reviewing its test cases across the four formats mentioned in the issue. Identify duplicated setup and redundant cases; done means common test logic is consolidated while necessary coverage remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka
Domain
data-engineering, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.