Replies: 3 comments 11 replies
-
Beta Was this translation helpful? Give feedback.
-
@hitesh-c conceptually the rule could be run in multiple engines, or the engine may emit events from many rules, and not just a specific rule you care about. Regardless you shouldn't be seeing 2 events emitted from the engine. You should be seeing a rule emit 1 event per-evaluation. The engine should emit either a success of failure event for each rule in each evaluation. And if there is a success event it should also emit the specific event type. The purpose of emitting the specific event type on success is it lets you subscribe to a much smaller set of events if you only care about specific types of success. |
Beta Was this translation helpful? Give feedback.
-
Please advice me if I can use json-rules-engine in real-time? I want to integrate json-rules-engine with Kafka, what challenges I can face? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What is the purpose of emitting event from rule.js when handled in engine.js?
@CacheControl @brianphillips @bjacobso @feenst
Beta Was this translation helpful? Give feedback.
All reactions