Skip to content

Commit

Permalink
Fixes apache#8198 KStreams testing docs use non-existent method pipe (a…
Browse files Browse the repository at this point in the history
…pache#6678)

Minor fix of apache#8198 apache/kafka-site#210

Reviewers: John Roesler <[email protected]>, Bill Bejeck <[email protected]>
  • Loading branch information
ouertani authored and bbejeck committed Jul 12, 2019
1 parent 53b4ce5 commit 8cabd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/streams/developer-guide/testing.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h2><a class="toc-backref" href="#testing-topologytestdriver" title="Permalink t
</p>
<pre>
ConsumerRecordFactory&lt;String, Integer&gt; factory = new ConsumerRecordFactory&lt;&gt;("input-topic", new StringSerializer(), new IntegerSerializer());
testDriver.pipe(factory.create("key", 42L));
testDriver.pipeInput(factory.create("key", 42L));
</pre>
<p>
To verify the output, the test driver produces <code>ProducerRecord</code>s with key and value type
Expand Down

0 comments on commit 8cabd44

Please sign in to comment.