I'm using the MiNiFi C++ as a lightweight service.

#1. Is there a version of NiFi that the Windows MiNiFi C++ version 0.99.0
is closest to?  I am saving the json from NiFi 1.25.0 (manually modifying
it to be compatible with the flow.json.raw) and I noticed that some
processor settings are not part of the C++ version based on the warnings
reported in the minifi-app.log.

#2. Is there an alternative to the EvaluateJsonPath processor in C++
MiNiFi?  I have tried using the ExtractText with an expression but it is
giving me the below error even though it does test correctly in the NiFi
1.25.0 flow.  The next processor in the flow is AttributesToJSON after this
ExtractText.

I have 2 attributes that the ExtractText "Extract Request Values" is
extracting from json content (180 bytes):
request = \"request\":\"(.*?)\"
serial = \"serial\":\"(.*?)\"

[2024-08-05 23:28:11.688] [org::apache::nifi::minifi::core::Processor]
[warning] Caught "Process Session Operation: Connect empty for non auto
terminated relationship success" (struct
org::apache::nifi::minifi::Exception) during Processor::onTrigger of
processor: cbb84d6f-970a-34fa-afe5-d99444480151 (Extract Request Values)
(cbb84d6f-970a-34fa-afe5-d99444480151)
[2024-08-05 23:28:11.688] [org::apache::nifi::minifi::core::ProcessSession]
[info] Penalizing ab4bf63e-53b4-11ef-93fe-bcf171a5bb0c for 30000ms at
Extract Request Values
[2024-08-05 23:28:11.688] [org::apache::nifi::minifi::core::ProcessSession]
[warning] ProcessSession rollback for Extract Request Values executed

Jeremy

Reply via email to