andreaTP commented on PR #26165:
URL: https://github.com/apache/camel/pull/26165#issuecomment-5668345063

   @oscerd sure!
   The `opa` cli can directly compile `.rego` rules to `wasm` and you can 
evaluate them inside any Java application(in this case Camel). ref: 
https://www.openpolicyagent.org/docs/wasm
   
   This removes the requirement of having an OPA server available(less 
infrastructure, no need for an external container etc.) while preserving all 
the original semantics of the Rego rule.
   
   Additionally, those rules run in a safe Wasm sandbox where you can easily 
control the used memory and/or timeout execution when necessary.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to