[Migrate] Migrate streampark-flink-sqlclient from Scala to Java - #4462
Merged
wolfboys merged 2 commits intoJul 29, 2026
Merged
Conversation
This was referenced Jul 27, 2026
shangeyao
force-pushed
the
migrate/4448-flink-sqlclient-scala-to-java
branch
from
July 27, 2026 08:05
e72fb0c to
aa0ad20
Compare
…o Java Convert SqlClient CLI entry to Java while preserving FQCN and submission behavior, remove enumeratum dependency, and add unit tests for runtime mode resolution. Co-authored-by: Cursor <cursoragent@cursor.com>
shangeyao
force-pushed
the
migrate/4448-flink-sqlclient-scala-to-java
branch
from
July 29, 2026 01:46
aa0ad20 to
5a9c5de
Compare
Use Arrays.asList for argument copying and rename inner launchers from main to run to satisfy java:S3012 and java:S3051. Co-authored-by: Cursor <cursoragent@cursor.com>
|
6 tasks
wolfboys
approved these changes
Jul 29, 2026
shangeyao
added a commit
to shangeyao/streampark
that referenced
this pull request
Jul 29, 2026
Rebase onto dev after apache#4462 merge; prepare hello-world test image in CI, replace Throwable catches with specific exception handling, and document intentionally empty silent watcher callbacks. Co-authored-by: Cursor <cursoragent@cursor.com>
wolfboys
pushed a commit
that referenced
this pull request
Jul 31, 2026
* [Migrate] #4449 Migrate streampark-flink-packer from Scala to Java Replace all 34 Scala sources in the packer module with Java equivalents, preserving public API for console and flink-client callers. Tests migrated to JUnit 5 with Surefire workspace configuration for Maven resolve tests. Co-authored-by: Cursor <cursoragent@cursor.com> * [CI] Fix Sonar reliability issues for #4463 Handle InterruptedException in BuildPipeline.launch and check uberJar.delete() result in MavenTool. Co-authored-by: Cursor <cursoragent@cursor.com> * [CI] Fix DockerClientTest and Sonar reliability issues for #4463 Rebase onto dev after #4462 merge; prepare hello-world test image in CI, replace Throwable catches with specific exception handling, and document intentionally empty silent watcher callbacks. Co-authored-by: Cursor <cursoragent@cursor.com> * [CI] Fix Scala/Java Map interop after packer migration for #4463 DockerImageBuildResponse.podTemplatePaths() now returns a Java Map; convert via JavaConverters before iterating in KubernetesNativeClientTrait. Co-authored-by: Cursor <cursoragent@cursor.com> * [Build] Use properties for packer dependency versions in #4463 Replace hard-coded jackson-annotations and httpclient versions with property references aligned to the root POM. 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
streampark-flink-sqlclientfrom Scala to Java ([Flink] Migrate streampark-flink-sqlclient from Scala to Java #4448, Stage 1.4 / Epic [Proposal] Remove Scala from StreamPark — design and migration plan #4408).org.apache.streampark.flink.cli.SqlClientto Java while preserving FQCN and external submission behavior (shademainClassunchanged).enumeratumdependency; add JUnit tests for runtime execution-mode resolution.Dependency chain
This branch builds on #4447 (shims migration, PR #4461). Merge #4461 first, or review as stacked.
Acceptance (#4448)
.scalaunderstreampark-flink-sqlclient(src/main+src/test)mainClassremainsorg.apache.streampark.flink.cli.SqlClientTest plan
mvn -pl streampark-flink/streampark-flink-sqlclient -am package -DskipITsSqlClientTest(SET command + dynamic property mode resolution)Closes #4448
Made with Cursor