Because of the popularity of Nifi among big data domain, we have created Nifi Linksmart Processors to exploit the infrastructure provided by Nifi, while also providing the possibilities to incorporate it into the Linksmart System. Currently, a LinksmartGateway processor and a LinksmartServiceRegister processor have been developed (source).
The LinksmartGateway processor functions in a similar manner as the native Linksmart Gateway: user can provide a script or a program which will be run as a sub-process of the gateway. Data will be propagated from the program to the processor via stdout. One major advantage of this approach is that it is very easy to write script to get data from heterogeneous external systems.
In order for the Nifi to work with the Linksmart Platform, at least one LinksmartServiceRegister processor is necessary. The LinksmartServiceRegister processor takes care of registering the Nifi instance as a service in the Linksmart Service Catalog.