Pulsar Shell: native image with GraalVM #20095
Replies: 6 comments 2 replies
-
The issue had no activity for 30 days, mark with Stale label. |
Beta Was this translation helpful? Give feedback.
-
Moved to the general discussion topic. This is hard to do because GraalVM requires developer to help marking all reflections and resources, as well as some subtle runtime issues. Ref -
I ever made a native image Java application at http://github.com/korandoru/hawkeye but it's far more simple than Pulsar Shell case. |
Beta Was this translation helpful? Give feedback.
-
could Quarkus provide some help moving in this direction? see
|
Beta Was this translation helpful? Give feedback.
-
maybe this is not only interesting for Pulsar Shell, but also for other components of pulsar? example from the other side: |
Beta Was this translation helpful? Give feedback.
-
and if this "native" approach is thinkable, it may have a strong relationship to addressing the targets from |
Beta Was this translation helpful? Give feedback.
-
@tisonkun when making a discussion from an issue, comments in discussion seem not to remove the stale label automatically set before in the issue |
Beta Was this translation helpful? Give feedback.
-
Search before asking
Motivation
Currently pulsar-shell is just a simple java application.
Nowadays GraalVM native image is a great way to package java CLI application into a optimized native binary.
Additionaly it removes the need to having a JDK installed
This might be a starting point here but it's not complete
but currently there are some issues about reflection because Pulsar/Netty uses the reflections a lot.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?
Beta Was this translation helpful? Give feedback.
All reactions