I want to put a watcher alert for my index. My data looks like this
id:1,val:popo id:2,val:lplp id:3,val:gjj id:4,val:asd
basically, the ids need to be in a sequence. Now if i receive something like this
id:1,val:popo id:2,val:lplp id:4,val:gjj id:5,val:asd
then, the record with id:3 did not arrive. If something like this happens, then i want to receive an alert. Is it possible to do something like this with watcher? I just need to check if the id of the current record is 1 more than the most recent record received.