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

Implement PscSource, PscSink, and Table API's to close the gap on Flink 1.15.1 API's #45

Merged
merged 97 commits into from
Nov 8, 2024

Conversation

jeffxiang
Copy link
Contributor

@jeffxiang jeffxiang commented Sep 11, 2024

This PR includes big changes to psc-flink:

  • Source/Sink implementation
  • Table API upgrade to match 1.15.1 upstream

Unit, integration, and functional tests were performed against 1.15.1 platform binaries.

@jeffxiang jeffxiang marked this pull request as ready for review November 6, 2024 18:48
@jeffxiang jeffxiang requested a review from a team as a code owner November 6, 2024 18:48
@jeffxiang jeffxiang changed the title Full 1 15 upgrade Implement PscSource, PscSink, and Table API's to close the gap on Flink 1.15.1 API's Nov 6, 2024
Copy link
Contributor

@vahidhashemian vahidhashemian left a comment

Choose a reason for hiding this comment

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

Left a couple of minor comments.
Given that this has been internally tested, are there certain modules that need a more careful review?

psc-flink/pom.xml Outdated Show resolved Hide resolved
@jeffxiang
Copy link
Contributor Author

Left a couple of minor comments. Given that this has been internally tested, are there certain modules that need a more careful review?

Thanks Vahid! I think the PSC core module has supporting changes that need a more careful review. The other modules (psc-flink) contain changes that are mostly ported logic from upstream Kafka connector.

@@ -1604,6 +1604,44 @@ public MessageId committed(TopicUriPartition topicUriPartition) throws ConsumerE
}
}

// TODO: unit test this
public Collection<MessageId> committed(Collection<TopicUriPartition> topicUriPartitions) throws ConsumerException, ConfigurationException {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add javadoc.
Since the implementation is a bit more involved that piggybacking on the above implementation, we should also add some integration tests.

@jeffxiang jeffxiang merged commit ba0c8f8 into 3.2 Nov 8, 2024
1 check passed
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