Re: Mixed up session aggregations for same key

2022-09-07 Thread David Anderson
The way that Flink handles session windows is that every new event is initially assigned to its own session window, and then overlapping sessions are merged. I imagine this is why you are seeing so many calls to createAccumulator. This implementation choice is deeply embedded in the code; I don't

Mixed up session aggregations for same key

2022-09-06 Thread Kristinn Danielsson via user
Hi, I'm trying to migrate a KafkaStreams application to Flink (using DataStream API). The application consumes a high traffic (millions of events per second) Kafka topic and collects events into sessions keyed by id. To reduce the load on subsequent processing steps I want to output one event on