nicoloboschi commented on issue #22318:
URL: https://github.com/apache/pulsar/issues/22318#issuecomment-2014701503

   I've tried in the past to build a native binary. The main issue is that all 
the [reflection calls must be intercepted and declared in the configuration 
file](https://www.graalvm.org/latest/reference-manual/native-image/dynamic-features/Reflection/).
 There's a [tracing mechanism in 
graalvm](https://www.graalvm.org/latest/reference-manual/native-image/metadata/AutomaticMetadataCollection/#tracing-agent)
 to auto-generate those configurations, however not all the code paths are 
triggered and therefore some runtime errors could be generated at runtime 
(blocking users in making some operations).
   
   That's why I think it's not worth it and instead the Pulsar community should 
start using Pulsar shell as single CLI tool (and that's why it was born)
   
   My attempts were made more than 1 year ago and things could have changed 
meanwhile; however I've read the same complaints in other ASF projects


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to