nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Thomsen <>
Subject Two controller service/lookupservice problems
Date Sat, 25 Nov 2017 21:10:49 GMT
I found this ticket:

Because LookupService uses Map<String, String> for the coordinates
parameter, you can't do something like pass an integer value into the
lookup service. So as the user noted, the MonogDB lookup fails. I think
this is likely to be a problem for all database-driven LookupService
implementations. I was thinking about doing an ElasticSearch-driven one and
I saw another for a Solr-based one. Both would face the same issue as

The second issue is that controller services have an initialize method in
the interface, and initialize is a special function in Ruby that serves as
the constructor. So anyone wanting to do a ScriptedLookupService with JRuby
is going to need to be able to handle something like this:

lookupService = nil

with an implementation similar to this:

def initialize(context)
    unless context.nil?
        #Do stuff


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message