[
https://issues.apache.org/jira/browse/NIFI-4307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16195375#comment-16195375
]
ASF GitHub Bot commented on NIFI-4307:
--------------------------------------
Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2104
@mattyb149 I did a sample flow with each of ours and found the performance
to be awful. I did some investigation and experimentation with the Kotlin
ScriptEngine and found that after repeatedly running the same script over and
over again, the performance seems to progressively degrade. At least that is
what I am seeing.
I tried using the Compilable (I think) interface for it, which seems to
actually run code through the Kotlin compiler and execute only the generated
output. That ran like a champ (as one would hope), but that means we might have
to gut a lot of ExecutScript and such and start over with Compilable to make
this work.
I am not sure if that is viable because I don't know if all of the supplied
engines support that interface.
> Add Kotlin support to ExecuteScript
> -----------------------------------
>
> Key: NIFI-4307
> URL: https://issues.apache.org/jira/browse/NIFI-4307
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Mike Thomsen
> Priority: Minor
>
> Kotlin has a ScriptEngine implementation as of v1.1. Add support for it in
> NiFi.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)