Created 11-21-2015 03:53 PM
As of HDF 1.0, we can write custom processor for HDF using Java, is there plan to support other programming languages.
Created 11-22-2015 03:31 AM
I see at least two use cases:
Hot-reload is common to both. Adding new languages on-the-fly is not (IMHO). For "Invocable" script engines (like Jython) that allow you to compile an implementor of Processor, would be nice to call into those scripts and treat them like first-class Processors. For other scripts / script engines, it would be cool to treat the script body as the onTrigger() API call -- to be executed when scheduled and when a FlowFile is available.
Created 11-21-2015 04:08 PM
Created 11-21-2015 11:18 PM
Yes, work is underway to support multiple scripting languages through a standard JVM scripting APIs. Hot-reloading is in scope as well. Currently the jiras are being organized, as multiple approaches and ideas got filed, stay tuned.
Created 11-22-2015 03:31 AM
I see at least two use cases:
Hot-reload is common to both. Adding new languages on-the-fly is not (IMHO). For "Invocable" script engines (like Jython) that allow you to compile an implementor of Processor, would be nice to call into those scripts and treat them like first-class Processors. For other scripts / script engines, it would be cool to treat the script body as the onTrigger() API call -- to be executed when scheduled and when a FlowFile is available.
Created 11-23-2015 02:26 PM
Also of note, some community members have been able to write processors in Scala as well: