Hi Guys...
Lets say I have a trade Object as below and I want to set up two ignite
services S1 and S2 which will have Continuous queries(Cq1 and Cq2
respectively) listening to same state of trade(e.g SUCCESS), i.e. if trade
moves to SUCCESS state, these CQs setup in S1 and S2 fires and process them
accordingly.

My question is, will this cause any issues like CQ1 might miss some Trade
event because it is picked up by CQ2.
Please let me know if question is not clear.

public class Trade { 
        private int id; 
        private TradeStatus status; 
        private String tradeType; 
        public Trade(int id, TradeStatus status, String tradeType) { 
                this.id = id; 
                this.status = status; 
                this.tradeType = tradeType; 
        } 
        
//setter getter, equals, hashcode methods 
} 
  
public enum TradeStatus { 
        NEW, CHANGED, EXPIRED, FAILED, UNCHANGED , SUCCESS 
}



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Two-Continuous-Queries-listening-to-same-event-tp13571.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to