Re: nifi 1.0 extending a standard processor

2016-09-11 Thread Koji Kawamura
Hello, Have you been able to find a way to extend the standard processors? I was wondering what would be the proper way to do that. So I tested few things: 1. Create new custom nar which depends on nifi-standard-processors First, I tried to add new nar bundle, let's say "nifi-stdpllus-bundle"

Re: Custom expression language functions

2016-09-11 Thread Andrew Grande
I think there is a decent compromise available. Or maybe it's there already? Invoking a public static function via reflection. There are deployment and packaging limitations, sure, but at least it makes it easier for users to invoke utility functions (or custom ones). Andrew On Sun, Sep 11,

Re: Anyone having issues running nifi-kafka-0-9-processors junits?

2016-09-11 Thread Oleg Zhurakousky
Andre Couple of questions 1. Since KafkaPublisher class exists in all 3 Kafka processors (0.9 and 0.10 Kafka clients) under the same package name, which one does it happen in? I am assuming its intermittent. 2. How often does it happen? My suspicion is that this test is using embedded Kafka

Re: Custom expression language functions

2016-09-11 Thread Joe Witt
Gunjan Can you show some specific el statements youd like to be able to do? Thanks Joe On Sep 11, 2016 4:24 PM, "Gunjan Dave" wrote: > Hi Joe, > Having the ability to extend or customize EL functions is important. Infact > few important functions like ability to

Re: Custom expression language functions

2016-09-11 Thread Gunjan Dave
Hi Joe, Having the ability to extend or customize EL functions is important. Infact few important functions like ability to fetch from distributed cache or readily using Certain java claases like java.lang.*, Java.io.*, java.match.* etc are missing. adding processor is certainly feasible but its

Anyone having issues running nifi-kafka-0-9-processors junits?

2016-09-11 Thread Andre F de Miranda
Hi there, is anyone else having frequent errors on some of the Kafka processors? Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 22.248 sec <<< FAILURE! - in org.apache.nifi.processors.kafka.pubsub.KafkaPublisherTest

Re: Custom expression language functions

2016-09-11 Thread Joe Witt
Hello At this time expression language functions are not a designed extension point. You can of course alter non public parts of the codebase but that may prove a tricky path for upgrades. I do recommend simply writing a processor to do the sort of manipulation you're looking for. If you find

Custom expression language functions

2016-09-11 Thread Gunjan Dave
Hi Team, is there a way I can create custom functions which can then be referred in expression language and also be reusable. Thanks GUNJAN