Skip to content

[Flink] Remove dev framework and connector wrappers#4432

Merged
wolfboys merged 2 commits into
apache:devfrom
shangeyao:feature/remove-dev-framework
Jul 15, 2026
Merged

[Flink] Remove dev framework and connector wrappers#4432
wolfboys merged 2 commits into
apache:devfrom
shangeyao:feature/remove-dev-framework

Conversation

@shangeyao

Copy link
Copy Markdown
Contributor

Summary

Remove the StreamPark development framework (framework docs) and all connector wrapper modules. Console platform runtime (submit/cancel, SQL mode, validation, K8s, packaging) is preserved.

Closes #4431.

Changes

  • Remove streampark-flink-core (FlinkStreaming, FlinkTable, FlinkStreamTable, DataStreamExt)
  • Remove entire streampark-flink-connector tree (Kafka, JDBC, ClickHouse, Redis, ES, HBase, HTTP, etc.)
  • Remove Spark dev traits (Spark, SparkBatch, SparkStreaming) and streampark-spark-connector
  • Remove Maven -Pconnector profile
  • Refactor Flink SqlClient to use FlinkTableInitializer + TableContext / StreamTableContext from shims
  • Add SparkSqlExecutor and refactor Spark SqlClient accordingly

Breaking changes

  • User jobs extending StreamPark dev traits must migrate to native Flink/Spark APIs
  • User code using org.apache.streampark.flink.connector.* or org.apache.streampark.spark.connector.* must migrate to official connectors

Preserved (non-breaking for Console)

  • Flink/Spark SQL job submission via SqlClient
  • SQL validation (FlinkSqlValidator, SparkSqlValidator)
  • Flink client, packer, kubernetes, shims

Test plan

  • ./mvnw -Pfast clean compile -pl streampark-flink/streampark-flink-sqlclient,streampark-spark/streampark-spark-sqlclient,streampark-spark/streampark-spark-core -am -DskipTests (JDK 8)
  • ./mvnw -Pfast clean compile -pl streampark-console/streampark-console-service -am -DskipTests (JDK 8)
  • Full CI
  • Manual: Console Flink SQL / Spark SQL submit on YARN or K8s

Made with Cursor

Drop FlinkStreaming/FlinkTable user traits, all streampark-flink-connector
modules, Spark dev traits, and streampark-spark-connector modules. Refactor
Flink/Spark SqlClient to use shims-base and SparkSqlExecutor directly.

Closes apache#4431.

Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve modify/delete conflicts by keeping connector/core module removals,
and fix SqlClient.scala import order for Spotless.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

Copy link
Copy Markdown

@shangeyao shangeyao changed the title [Flink] Remove StreamPark dev framework and connector wrappers [Flink] Remove dev framework and connector wrappers Jul 15, 2026

@wolfboys wolfboys left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@wolfboys
wolfboys merged commit 16f5fdc into apache:dev Jul 15, 2026
40 checks passed
shangeyao added a commit to shangeyao/streampark that referenced this pull request Jul 15, 2026
Resolve conflicts by keeping Maven ${revision} versioning from this PR
while adopting dev changes (JDK 11, removed connector/core modules from apache#4432).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

[Flink] Remove StreamPark dev framework and connector wrappers

2 participants