Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-36794] [cdc-composer/cli] pipeline cdc connector support multiple data sources #3844

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linjianchang
Copy link

pipeline cdc connector support multiple data sources

@github-actions github-actions bot added docs Improvements or additions to documentation composer cli mysql-pipeline-connector labels Jan 8, 2025
stream = stream.union(streamBranch);
}
}
boolean isParallelMetadataSource = dataSource.isParallelMetadataSource();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think multi data sources should be regarded as parallelized.


```yaml
source:
type: mysql_mutiple
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use a new key like 'sources' to describe multiple sources? The '_multiple' suffix in value seems a bit odd. Because the YAML content does not correspond one-to-one with the PipelineDef.

private static final String HOST_NAME = "hostname";
private static final String PORT = "port";
private static final String COLON = ":";
private static final String MUTIPLE = "_mutiple";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be _multiple.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli composer docs Improvements or additions to documentation mysql-pipeline-connector
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants