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

[Feature](sink) add copy mode to sink #312

Merged
merged 2 commits into from
Feb 1, 2024
Merged

Conversation

JNSimba
Copy link
Member

@JNSimba JNSimba commented Jan 30, 2024

Proposed changes

Currently sink.write-mode supports stream_load, and stream_load_batch is used for streamload import.
Now the import method of copy load is added to adapt to the scenario of Doris storage and calculation separation.
The import is divided into two steps:

  1. First upload the data to object storage.
  2. Then load the data on the object storage into Doris.

This import method is usually used for synchronization across vpc scenarios (flink cluster and doris cluster).

Checklist(Required)

  1. Does it affect the original behavior: (Yes/No/I Don't know)
  2. Has unit tests been added: (Yes/No/No Need)
  3. Has document been added or modified: (Yes/No/No Need)
  4. Does it need to update dependencies: (Yes/No)
  5. Are there any changes that cannot be rolled back: (Yes/No)

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

@JNSimba JNSimba changed the title [Feature] add copy mode to sink [Feature](sink) add copy mode to sink Jan 30, 2024
@apache apache deleted a comment from caoliang-web Jan 31, 2024
@JNSimba JNSimba merged commit 0566b92 into apache:master Feb 1, 2024
8 checks passed
@JNSimba JNSimba mentioned this pull request Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants