jinrongluo commented on issue #825:
URL: 
https://github.com/apache/incubator-eventmesh/issues/825#issuecomment-1099315094

   I have a quick look at Drools and EasyRule, their rules are not for 
filtering.  I think we need the simple rules like RocketMQ filters
   
   https://rocketmq.apache.org/docs/filter-by-sql92-example/
   
   for example:  $.subject == 'myservice'
   
   We can implement our own simple Rule engine to process this rules using 
Parse Tree (https://en.wikipedia.org/wiki/Parse_tree) and JsonPath SDK
   
   Concrete Implementation:
   
   1. Parse the Filter Expression into Parse Tree
   2. Evaluate each node of the Parse Tree using JsonPath, and Java API
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to