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

[ARCTIC-969] Refactor Logstore Source to FLINK FLIP-27 API #970

Merged
merged 11 commits into from
Jan 11, 2023

Conversation

zstraw
Copy link
Contributor

@zstraw zstraw commented Dec 30, 2022

Why are the changes needed?

Refactor log source and sink to support Flink Flip-27 source API, which would be helpful to read file and log integrately, and Pulsar log.

Fix #482
Resolve #933
Resolve #969

Brief change log

  • The flink 1.12 and 1.14, 1.15 versions are affected.

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduces a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@github-actions github-actions bot added the module:mixed-flink Flink moduel for Mixed Format label Dec 30, 2022
@YesOrNo828 YesOrNo828 changed the title [ARCTIC-969] Refactor Log-store Source to FLINK FLIP-27 API [ARCTIC-969] Refactor Logstore Source to FLINK FLIP-27 API Dec 30, 2022
Copy link
Contributor

@YesOrNo828 YesOrNo828 left a comment

Choose a reason for hiding this comment

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

@zstraw Thanks a lot for driving this. I left some comments.

And I would suggest that the legacy logstore datastream API should be deprecated after a period of time, maybe after two versions are released, we can then remove these codes because we want to give some buffer time for those who already use these APIs, and adapt the new Source API. WDYT?

@zstraw zstraw marked this pull request as ready for review January 8, 2023 01:35
@YesOrNo828
Copy link
Contributor

@zstraw Please also update the Flink datastream documentation: site/docs/ch/flink/flink-ds.md

@github-actions github-actions bot added the type:docs Improvements or additions to documentation label Jan 11, 2023
Copy link
Contributor

@YesOrNo828 YesOrNo828 left a comment

Choose a reason for hiding this comment

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

LGTM

@YesOrNo828 YesOrNo828 merged commit 064487f into apache:master Jan 11, 2023
@zstraw zstraw deleted the log-flip27 branch January 23, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:mixed-flink Flink moduel for Mixed Format type:build type:docs Improvements or additions to documentation
Projects
None yet
2 participants