[Migrate] Migrate streampark-flink-packer from Scala to Java - #4463
Merged
wolfboys merged 5 commits intoJul 31, 2026
Conversation
2 tasks
shangeyao
added a commit
to shangeyao/streampark
that referenced
this pull request
Jul 27, 2026
Handle InterruptedException in BuildPipeline.launch and check uberJar.delete() result in MavenTool. Co-authored-by: Cursor <cursoragent@cursor.com>
shangeyao
force-pushed
the
migrate/4449-flink-packer-scala-to-java
branch
from
July 27, 2026 08:05
6ef79ff to
efacd93
Compare
6 tasks
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>
Handle InterruptedException in BuildPipeline.launch and check uberJar.delete() result in MavenTool. Co-authored-by: Cursor <cursoragent@cursor.com>
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>
shangeyao
force-pushed
the
migrate/4449-flink-packer-scala-to-java
branch
from
July 29, 2026 06:33
efacd93 to
8fef5de
Compare
DockerImageBuildResponse.podTemplatePaths() now returns a Java Map; convert via JavaConverters before iterating in KubernetesNativeClientTrait. Co-authored-by: Cursor <cursoragent@cursor.com>
Mrart
reviewed
Jul 30, 2026
| <dependency> | ||
| <groupId>org.apache.httpcomponents</groupId> | ||
| <artifactId>httpclient</artifactId> | ||
| <version>4.5.14</version> |
Contributor
There was a problem hiding this comment.
version put the virable to properties?
Replace hard-coded jackson-annotations and httpclient versions with property references aligned to the root POM. 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-packerto Java (0.scalafiles remaining)maven/,docker/,pipeline/(including 6 build pipeline impls),PackerResourceGC, and JUnit 5 testsEpic: #4408 Stage 2.1
Depends on: #4462 (#4448 sqlclient), #4461 (#4447 shims), #4458 (#4445 common)
Closes #4449
Test plan
mvn -pl streampark-flink/streampark-flink-packer -am test— 13 tests, 0 failures (2 Docker tests skipped without daemon)Made with Cursor