eolivelli opened a new pull request #12624:
URL: https://github.com/apache/pulsar/pull/12624


   
   
   ### Motivation
   
   In f0cbcb5f53d7 we added `-Dio.netty.tryReflectionSetAccessible=true` while 
starting Pulsar.
   
   We are missing to set that property while starting Functions in PROCESS mode 
and in KUBERNETES mode.
   `io.netty.tryReflectionSetAccessible` allows Netty to do its own management 
of Direct memory on JDK9+.
   
   
   ### Modifications
   Add  `-Dio.netty.tryReflectionSetAccessible=true` to the command line while 
launching the Java function process on the Functions Worker machine or in 
Kubernetes
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   


-- 
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