Skip to content

KAFKA-20448: Fix Docker JVM image build when using local kafka archive#22054

Open
sstremler wants to merge 1 commit intoapache:trunkfrom
sstremler:KAFKA-20448-fix-docker-jvm-kafka-archive-image-build
Open

KAFKA-20448: Fix Docker JVM image build when using local kafka archive#22054
sstremler wants to merge 1 commit intoapache:trunkfrom
sstremler:KAFKA-20448-fix-docker-jvm-kafka-archive-image-build

Conversation

@sstremler
Copy link
Copy Markdown
Contributor

@sstremler sstremler commented Apr 14, 2026

Fix Docker JVM image build when using local kafka archive.

  • Replace $kafka_url with ${kafka_url:-} in Dockerfile to prevent set -eux from exiting when kafka_url is unset
  • Replace kafka-server-stop.sh with kill -TERM + wait to reliably stop the broker process and trigger JSA file generation on exit

Reviewers: TaiJuWu tjwu1217@gmail.com, PoAn Yang payang@apache.org, Ken Huang s7133700@gmail.com, Chia-Ping Tsai chia7712@gmail.com

…ce kafka-server-stop.sh with direct SIGTERM to ensure broker shutdown and JSA file generation
@github-actions github-actions bot added triage PRs from the community docker Official Docker image small Small PRs labels Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docker Official Docker image small Small PRs triage PRs from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant