Naman Arora created NIFI-14480:
----------------------------------

             Summary: Add DroolsProcessor for rule-based JSON processing with 
dynamic/static DRL support
                 Key: NIFI-14480
                 URL: https://issues.apache.org/jira/browse/NIFI-14480
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Extensions
            Reporter: Naman Arora


This processor provides integration of the Drools Rule Engine with Apache NiFi. 
It allows for flexible rule-based processing of JSON payloads in two modes:

1. **Static DRL Mode**:
   - User provides an absolute path to a DRL file.
   - That rule is used for all incoming flowfiles.

2. **Dynamic DRL Mode**:
   - User specifies a base path and a key name.
   - Processor extracts the relative DRL path from the key inside the flowfile 
JSON payload.
   - Dynamically fetches the rule and executes it.

Additional Features:
- **File Watcher** service that watches static and dynamic paths for DRL file 
changes and reloads the KIE Container automatically.
- **Retry Mechanism** for rule execution with configurable retry attempts.

This processor supports advanced decisioning and rule separation, and helps 
enable dynamic business rule application inside NiFi dataflows.

I would like to contribute this processor under the Apache License. I have 
signed and submitted the ICLA.

Let me know the next steps or if any feedback is required. Thanks!




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to