Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-18773: Migrate the log4j1 config to log4j 2 for native image and README (wip) #18872

Draft
wants to merge 1 commit into
base: trunk
Choose a base branch
from

Conversation

FrankYang0529
Copy link
Member

@FrankYang0529 FrankYang0529 commented Feb 12, 2025

Test steps

  1. Build release gzipped tar ball and use a local server to host it.
> ./gradlew clean releaseTarGz
> python -m http.server
  1. In another terminal, create native image.
> cd docker
> python docker_build_test.py kafka/test --image-tag KAFKA-18773 --image-type native --kafka-url http://<your ip>:8000/core/build/distributions/kafka_2.13-4.1.0-SNAPSHOT.tgz --build
  1. Run the container.
> docker run -p 9092:9092 --name kafka --rm kafka/test:KAFKA-18773

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

…d README

Signed-off-by: PoAn Yang <payang@apache.org>
@github-actions github-actions bot added docker Official Docker image small Small PRs labels Feb 12, 2025
@dajac
Copy link
Member

dajac commented Feb 13, 2025

@FrankYang0529 How is it going with this one?

@FrankYang0529
Copy link
Member Author

Hi @dajac, I may need more time on this. Currently, there is some error message like this. I'm still check where the log from. Thanks.

2025-02-13T03:30:07.514257Z main ERROR Unrecognized format specifier [d]
2025-02-13T03:30:07.514271Z main ERROR Unrecognized conversion specifier [d] starting at position 16 in conversion pattern.
2025-02-13T03:30:07.514293Z main ERROR Unrecognized format specifier [thread]
2025-02-13T03:30:07.514302Z main ERROR Unrecognized conversion specifier [thread] starting at position 25 in conversion pattern.
2025-02-13T03:30:07.514318Z main ERROR Unrecognized format specifier [level]
2025-02-13T03:30:07.514331Z main ERROR Unrecognized conversion specifier [level] starting at position 35 in conversion pattern.
2025-02-13T03:30:07.514347Z main ERROR Unrecognized format specifier [logger]
2025-02-13T03:30:07.514361Z main ERROR Unrecognized conversion specifier [logger] starting at position 47 in conversion pattern.
2025-02-13T03:30:07.514376Z main ERROR Unrecognized format specifier [msg]
2025-02-13T03:30:07.514391Z main ERROR Unrecognized conversion specifier [msg] starting at position 54 in conversion pattern.
2025-02-13T03:30:07.514406Z main ERROR Unrecognized format specifier [n]
2025-02-13T03:30:07.514420Z main ERROR Unrecognized conversion specifier [n] starting at position 56 in conversion pattern.

@dajac dajac added the Blocker This pull request is identified as solving a blocker for a release. label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker This pull request is identified as solving a blocker for a release. docker Official Docker image small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants