This is an automated email from the ASF dual-hosted git repository.

chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d841b91  MINOR: inconsistent naming for the output topic in the stream 
documentation (#9265)
d841b91 is described below

commit d841b912d18fdb83aaab9f32366cab9198c12656
Author: Matthias Merdes <[email protected]>
AuthorDate: Sun Oct 18 17:19:49 2020 +0200

    MINOR: inconsistent naming for the output topic in the stream documentation 
(#9265)
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 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 5be2255..ff0860f 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

Reply via email to