title: Process event with last 1 hour, 1week and 1 Month data in Flink streaming
body: <p>I have to process each event with last 1 hour , 1 week and 1 month data. Like how many times same ip occurred in last 1 month corresponding to that event.</p>
  
  <p>I think window is for fixed time i can't calculate with last 1 hour corresponding to current event.</p>
  
  <p>If you have any clue please guide what should i use Table, ProcessFunction or global window. Or what approach should i take ?</p>