Awesome, Sumo! I like your use of bindings in the ExecuteGroovy processor. Mine uses bare-bones Java reflection and requires a specific method signature in the script.
I don't know if the compiled scripts are thread safe or not, so I pool some in an internal queue, to be safe. I will probably add Nashorn-based javascript, too, but wasn't sure I'd ever use it. Thanks. -Matt On Mon, Nov 16, 2015 at 2:44 PM, Sumanth Chinthagunta <[email protected]> wrote: > I am working on dynamic language support for JavaScript. > > https://github.com/xmlking/nifi-scripting > > Sumo > > On Nov 16, 2015, at 7:31 AM, Matthew Burgess <[email protected]> wrote: > > Awesome, I love me some Groovy! I am new to NiFi but am interested in > scripting capabilities such as yours. For example, using the JSR-223 spec > (and the ScriptEngineManager), NiFi could support scripting for many JVM > languages including Groovy, Jython, Jruby, Renjin, JavaScript, even > AppleScript on a Mac :) > > Cheers, > Matt > > From: Angry Duck Studio > Reply-To: <[email protected]> > Date: Monday, November 16, 2015 at 9:10 AM > To: <[email protected]> > Subject: [announce] open source NATS messaging and Groovy scripting > processors for NiFi > > I have been working with NiFi lately and have written a some custom > processors which may be useful to someone. > > https://github.com/mring33621/nats-messaging-for-nifi -- Allows Apache > NiFi to send/receive string based messages to/from NATS messaging topics. > https://github.com/mring33621/scripting-for-nifi -- Use Groovy scripts as > NiFi Processors! > > Issues and Pull Requests happily accepted! > > Thanks for reading. > > -Matt Ring > > > >
