Hello Guys
need your support with this case
we are getting car position from streaming data 30 thousand points every 30 seconds, we use time windower to get the position of each car every 5 min, then we use a filter to check if this car entered the delivery zone,
what we are looking for is to store the event when the car gets in and when it gets out and we have to store only one record for each event
this event will be stored in the database as follow
Crad_id start_time End_time Status
TK256 14:20 14:35 within
when we store the event in the database the first time there will be no end time since the car is still within the delivery zone as soon as it gets out we will update the end time
Any Suggestions
we want to achieve something similar to this connector
Thanks