I am developing an application that performs a sum operation on a specific field using a keyed sliding event window with a duration of 10 minutes and a slide of 5 minutes.
The source of the data is a Kafka stream, and I am implementing watermarking at the source while converting the data into POJOs.
However, I noticed that the output is emitting multiple records for the same key, with most of them being identical, and these records are being emitted at approximately the same time.
Does anyone know why it is duplicated ?