I have a kafka topic with 2 fields representing the status of a machine sent by a sensor and the timestamp. Every time the machine status changes, an event with the new stat