From d841b912d18fdb83aaab9f32366cab9198c12656 Mon Sep 17 00:00:00 2001 From: Matthias Merdes Date: Sun, 18 Oct 2020 17:19:49 +0200 Subject: [PATCH] MINOR: inconsistent naming for the output topic in the stream documentation (#9265) Reviewers: Chia-Ping Tsai --- docs/streams/developer-guide/testing.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/streams/developer-guide/testing.html b/docs/streams/developer-guide/testing.html index 5be2255dc8b..ff0860f5d0d 100644 --- a/docs/streams/developer-guide/testing.html +++ b/docs/streams/developer-guide/testing.html @@ -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