chia7712 commented on PR #18872:
URL: https://github.com/apache/kafka/pull/18872#issuecomment-2664812516

   ok, I run the native image successfully on my local. There are many issues 
we need to fix.
   
   @FrankYang0529 Could you please try following steps on your PR.
   
   1. use following `reflect-config.json` and `resource-config.json`. They are 
generated by `Tracing Agent` (see 
https://www.graalvm.org/22.2/reference-manual/native-image/metadata/AutomaticMetadataCollection/#tracing-agent)
   
   
[resource-config.json](https://github.com/user-attachments/files/18840596/resource-config.json)
   
[reflect-config.json](https://github.com/user-attachments/files/18840597/reflect-config.json)
   
   
   2. remove `jacksonModuleScala` from dependency. it has issue on 
https://github.com/FasterXML/jackson-module-scala/issues/621 but we don't use 
it actually.
   
   3. fix the bug according to my comment 
(https://github.com/apache/kafka/pull/18394/files#r1959192770) 
   
   Additionally, the storage command has issue and it is handled by #18844 - 
hence, this PR can't fix native image totally until #18844 gets fixed - 
however, this PR can adopt the solution temporarily. 
   
   > Do you think that we could merge it this week?
   
   @dajac yes, I think it can get fixed this week


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to