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-36177] Deprecate KafkaShuffle and more #121

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

AHeise
Copy link
Contributor

@AHeise AHeise commented Sep 26, 2024

This commit deprecates all classes that are slated for removal in the kafka-4.0 release compatible with Flink 2.0. I also deprecated internal classes to make later removal easier. Some public classes will cease to be public API but are still internally used.

Also introduce KafkaPartitioner to replace FlinkKafkaPartitioner. Relocate FlinkKafkaPartitioner to KafkaSink package and turn it into a functional interface.

Tentative timeline:

  • Release kafka-3.3.0 including this commit for Flink 1.19+1.20: early October
  • Release kafka-3.4.0 targeting Flink 1.20: mid October
  • Release kafka-4.0.0 targeting Flink 2.0(-preview): end of October

@fapaul fapaul self-requested a review September 26, 2024 12:36
@AHeise AHeise force-pushed the FLINK-36177-deprecate-kafkashuffle branch from 1b914b3 to 8894547 Compare September 26, 2024 12:50
This commit deprecates all classes that are slated for removal in the kafka-4.0 release compatible with Flink 2.0.

I also deprecated internal classes to make later removal easier. Some public classes will cease to be public API but are still internally used.
@AHeise AHeise force-pushed the FLINK-36177-deprecate-kafkashuffle branch from 8894547 to ced8771 Compare September 26, 2024 13:07
Copy link
Contributor

@fapaul fapaul left a comment

Choose a reason for hiding this comment

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

Mostly good but please double check the removal of the serialVersionUID

…oner

Relocate FlinkKafkaPartitioner to KafkaSink package and turn it into a functional interface.
@AHeise AHeise force-pushed the FLINK-36177-deprecate-kafkashuffle branch from ced8771 to fee54fa Compare September 27, 2024 15:14
Copy link
Contributor

@fapaul fapaul left a comment

Choose a reason for hiding this comment

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

Thanks for fixing 👍

@AHeise AHeise merged commit 157813e into apache:main Sep 27, 2024
13 checks passed
@AHeise AHeise deleted the FLINK-36177-deprecate-kafkashuffle branch September 27, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants