pull/22569/head
Andy Wilkinson 4 years ago
parent 07b6f83c7a
commit bc44cd6705

@ -101,7 +101,7 @@ class KafkaMetricsAutoConfigurationTests {
static class EnableKafkaStreamsConfiguration {
@Bean
public KTable<?, ?> table(StreamsBuilder builder) {
KTable<?, ?> table(StreamsBuilder builder) {
KStream<Object, Object> stream = builder.stream(Pattern.compile("test"));
return stream.groupByKey().count(Materialized.as("store"));
}

@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -130,7 +130,7 @@ class KafkaAutoConfigurationIntegrationTests {
static class KafkaStreamsConfig {
@Bean
public KTable<?, ?> table(StreamsBuilder builder) {
KTable<?, ?> table(StreamsBuilder builder) {
KStream<Object, Object> stream = builder.stream(Pattern.compile("test"));
return stream.groupByKey().count(Materialized.as("store"));
}

Loading…
Cancel
Save