File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
kafka-client-examples/e2e-test/src/main/java/dev/responsive/examples/regression/tests Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 3131import org .apache .kafka .streams .kstream .Joined ;
3232import org .apache .kafka .streams .kstream .KStream ;
3333import org .apache .kafka .streams .kstream .KTable ;
34+ import org .apache .kafka .streams .kstream .Materialized ;
3435import org .apache .kafka .streams .kstream .Produced ;
3536import org .apache .kafka .streams .kstream .TimeWindows ;
3637
@@ -87,7 +88,7 @@ protected Topology buildTopology() {
8788 })
8889 .groupByKey ()
8990 .windowedBy (TimeWindows .ofSizeAndGrace (Duration .ofDays (1 ), Duration .ofHours (12 )))
90- .reduce (EnrichedOrder ::combineWith )
91+ .reduce (EnrichedOrder ::combineWith , Materialized . with ( Serdes . String (), RegressionSchema . enrichedOrderSerde ()) )
9192 .toStream ()
9293 .selectKey ((w , v ) -> w .key ())
9394 .to (
You can’t perform that action at this time.
0 commit comments