KAFKA-7855: Kafka Streams Maven Archetype quickstart fails to compile out of the box (#6194)

Reviewers: Guozhang Wang <guozhang@confluent.io>, Matthias J. Sax <matthias@confluent.io>
This commit is contained in:
Kristian Aurlien 2019-03-16 03:51:20 +01:00 committed by Matthias J. Sax
parent e1961b8298
commit fd5c0849e1
1 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ public class LineSplit {
final StreamsBuilder builder = new StreamsBuilder();
builder.stream("streams-plaintext-input")
.flatMapValues(value -> Arrays.asList(value.split("\\W+")))
.to("streams-linesplit-output");
builder.<String, String>stream("streams-plaintext-input")
.flatMapValues(value -> Arrays.asList(value.split("\\W+")))
.to("streams-linesplit-output");
final Topology topology = builder.build();
final KafkaStreams streams = new KafkaStreams(topology, props);