Search code examples
spring-bootapache-nifi

Apache NiFi Spring Boot integration


Understand that Apache NiFi could integrate with Spring as shown in SpringOne Platform 2016 Replay: Spring with ApacheNiFi. NiFi uses SpringContextProcessor to load Spring XML application context.

Question: Could NiFi integrate with Spring Boot? Specifically, could NiFi processor flows to a processor which calls a Spring Boot app, and then flows back to a NiFi processor? If so, is there any sample to demonstrate it?

Note: This integration is NOT about NiFi calling a Spring Boot REST API as shown in Spring Boot 2.0 on ACID : Integrating REST Microservices with Apache NiFi.


Solution

  • Note: This integration is NOT about NiFi calling a Spring Boot REST API as shown in Spring Boot 2.0 on ACID : Integrating REST Microservices with Apache NiFi.

    REST is the only integration pattern here between Spring Boot apps and NiFi. The processor your referenced is good for using Spring components, but Spring Boot itself is a full application framework and would take a significant amount of effort to integrate.