Kafka Streams - Hopping windows - deduplicate keys
问题 I'm doing a hopping window aggregation on a 4 hr window advancing every 5 mins. As the hopping windows are overlapping, I'm getting duplicate keys with different aggregated value. TimeWindows.of(240 * 60 * 1000L).advanceBy(5 * 60* 1000L) How do I eliminate duplicate keys with repeating data or pick only the keys that holds the latest value. 回答1: If I understand you correctly, then this is expected behavior. You are not seeing "duplicate" keys, but you see continuous updates for the same key.