[Flink] Remove dev framework and connector wrappers - #4432
Merged
Conversation
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>
|
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>
This was referenced Jul 20, 2026
shangeyao
added a commit
to shangeyao/streampark
that referenced
this pull request
Jul 24, 2026
Merge origin/dev (JDK 11, apache#4432 connector removal, apache#4426 revision) into the Naive UI frontend branch; keep webapp-v2 as Maven frontend target. - Scope frontend CI path filter to webapp-v2 - Add labeler/boring-cyborg component for webapp-v2 - Document Maven/CI ops in webapp-v2 README Co-authored-by: Cursor <cursoragent@cursor.com>
wolfboys
pushed a commit
that referenced
this pull request
Jul 28, 2026
* [Migrate] #4446 Phase 1: migrate shims-base leaf Scala APIs to Java streampark-flink-core was removed in #4432; migrate equivalent core infrastructure in streampark-flink-shims-base. Convert config, CLI, client traits, and env utils to Java while keeping Scala initializers/traits compiling against Java APIs. Closes #4446 (partial — 8/15 Scala files migrated) Co-authored-by: Cursor <cursoragent@cursor.com> * [Migrate] #4447 Phase 2: migrate shims-base SQL runtime and initializers to Java Move SqlCommandParser, FlinkSqlExecutor, FlinkSqlValidator, and environment initializers from Scala to Java while keeping Scala trait bridges unchanged. Co-authored-by: Cursor <cursoragent@cursor.com> * [Migrate] #4447 Phase 3: complete streampark-flink-shims Scala-to-Java migration Convert FlinkStreamTableTrait, version-specific contexts/clients, and shims-test to Java; remove all remaining Scala sources under streampark-flink-shims. Co-authored-by: Cursor <cursoragent@cursor.com> * [CI] Fix Sonar gate for #4447 shims migration Add SonarCloud CPD exclusions for versioned shims modules, fix unused exception in FlinkTableInitializer, and simplify SqlCommandConverters quote stripping to satisfy reliability rules. Co-authored-by: Cursor <cursoragent@cursor.com> * [CI] Fix SqlClient Scala/Java interop after shims migration SqlCommandCall.operands is now a nullary Java accessor; use operands()(n) instead of operands(n) to avoid passing the index to the method itself. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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
streampark-flink-core(FlinkStreaming,FlinkTable,FlinkStreamTable,DataStreamExt)streampark-flink-connectortree (Kafka, JDBC, ClickHouse, Redis, ES, HBase, HTTP, etc.)Spark,SparkBatch,SparkStreaming) andstreampark-spark-connector-PconnectorprofileFlink SqlClientto useFlinkTableInitializer+TableContext/StreamTableContextfrom shimsSparkSqlExecutorand refactorSpark SqlClientaccordinglyBreaking changes
org.apache.streampark.flink.connector.*ororg.apache.streampark.spark.connector.*must migrate to official connectorsPreserved (non-breaking for Console)
SqlClientFlinkSqlValidator,SparkSqlValidator)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)Made with Cursor