Browse Source

MINOR: inconsistent naming for the output topic in the stream documentation (#9265)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
pull/9453/head
Matthias Merdes 4 years ago committed by GitHub
parent
commit
d841b912d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/streams/developer-guide/testing.html

4
docs/streams/developer-guide/testing.html

@ -78,11 +78,11 @@ @@ -78,11 +78,11 @@
Topology topology = new Topology();
topology.addSource("sourceProcessor", "input-topic");
topology.addProcessor("processor", ..., "sourceProcessor");
topology.addSink("sinkProcessor", "output-topic", "processor");
topology.addSink("sinkProcessor", "result-topic", "processor");
// or
// using DSL
StreamsBuilder builder = new StreamsBuilder();
builder.stream("input-topic").filter(...).to("output-topic");
builder.stream("input-topic").filter(...).to("result-topic");
Topology topology = builder.build();
// setup test driver

Loading…
Cancel
Save