Retention time in kafka local state store / changelog
问题 I'm using Kafka and Kafka Streams as part of Spring Cloud Stream. The data that is flowing in my Kafka Streams app is being aggregated and materialized by certain time windows: Materialized<String, ErrorScore, WindowStore<Bytes, byte[]>> oneHour = Materialized.as("one-hour-store"); oneHour.withLoggingEnabled(topicConfig); events .map(getStringSensorMeasurementKeyValueKeyValueMapper()) .groupByKey() .windowedBy(TimeWindows.of(oneHourStore.getTimeUnit())) .reduce((aggValue, newValue) ->