I have reasons to use Nifi for a larger architecture, but a big part is titan graph.
Since there are no Titan connectors, what are the ways to get data IN to titan via the processors/connectors available in Apache Nifi?
Nifi can run SCQL commands on my Cassandra backend, but that doesn't help. I need to insert into Titan the way I do with Java.
Now it is true that I can call a java program, but it has to load on a new thread each and every time it is called, which will be a mess. Ideally, such a java program could be running 24/7 in a loop waiting for Nifi input of a flowfile to fill in the ?s and create the nodes... I'm still trying to figure out how to do that...
Or is it best to make a daemon/web server and call that with Nifi?
In one flow example, I load Stanford NLP, which takes over 30 seconds to load... But a string parsing/tokenizing takes a split second. I wrote that in C#, loading the jar files from Stanford... Still can't figure out how to let Nifi at it, though-especially since my programs will be passing data back to Nifi after they are done...So the flowfile gets transformed & routed at each processor...
Has anyone tried to do any of this? Is there an obvious solution in front of me?
No doubt the NSA was doing this... :)
TIA!