This commit is contained in:
Andy Wilkinson
2020-08-04 18:43:45 +01:00
parent 07b6f83c7a
commit bc44cd6705
2 changed files with 3 additions and 3 deletions

View File

@@ -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"));
}

View File

@@ -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"));
}