This readme defines the configuration parameters to use JNI functionality within MiNiFi C++
JNI provides the ability to access NiFi processors within MiNiFi C++. By exploding NARs, and coupling the framework JNI jar that exist within the JNI extension, we can replicate the behavior of NiFi processors.
The subdirectory nifi-framework-jni contains the corresponding JNI library that is needed. Place that into the API directory if you are not running make package.
The make package
process will build all necessary JARS and NARS if maven is available on the classpath.
To enable JNI capabilities, the following options need to be provided in minifi.properties
in minifi.properties
#directory where base API exists.
nifi.framework.dir=./minifi-jni/api
# directory where NARs are located
nifi.nar.directory=<nar directory>
# directory where nars will be deployed
nifi.nar.deploy.directory=<deploy directory>
Optionally, you can specify JVM options in a comma separated list
# must be comma separated
nifi.jvm.options=-Xmx1G