MikeThomsen commented on pull request #5830:
URL: https://github.com/apache/nifi/pull/5830#issuecomment-1065080999


   @mattyb149 as of right now, InvokeScriptedProcessor won't work with Kotlin 
for two reasons:
   
   * Kotlin appears to have a bug in the JSR223 that won't allow us to get the 
`processor` object from the script directly. This is fixable with a workaround 
that calls a Kotlin function to get the object according to what I found on SO.
   * Kotlin is somewhat slower than Java at compiling, and 
InvokeScriptedProcessor only uses Invocable.


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