Re: Debug CEP Patterns

2023-04-20 Thread Ana Gómez González
Thanks Biao, your insights were very helpful for me! I finally could debug properly, a couple of things were not correct there, in fact. Also, I think I'm not modeling properly the behaviour of the pattern so I definitely going to investigate better this. Regards *Ana Gómez González*

Re: Debug CEP Patterns

2023-04-18 Thread Biao Geng
Hi Ana, Thanks for the codes. I just want to share my own experience when debugging CEP patterns: 1. It should work when adding breakpoints in IntelliJ. But you should add the breakpoint on the filter function like the call of isBetweenHoursRange or the line65 in your gist. The reason is that the p

Re: Debug CEP Patterns

2023-04-18 Thread Ana Gómez González
Here's a link for the previous code in a gist so you don't struggle with the format. Sorry. https://gist.github.com/angoglez/d9eb6e12f259aba306387b5c23488fb4 >

Debug CEP Patterns

2023-04-18 Thread Ana Gómez González
Hello! What's the best way of debugging a CEP pattern/stream? Basically, I have a Flink (Scala) program that consumes events from RabbitMQ. The source is working ok because I can see the inputStream printed. Then, I defined one pattern, created a patternStream, and finally an output stream with a