You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2019/04/08 03:36:00 UTC

[jira] [Commented] (KAFKA-8198) KStreams testing docs use non-existent method "pipe"

    [ https://issues.apache.org/jira/browse/KAFKA-8198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812068#comment-16812068 ] 

Guozhang Wang commented on KAFKA-8198:
--------------------------------------

I can confirm that ever since 1.1 when we add the KIP, the API was `pipeInput` already, so this doc fix should go all the way back to 1.1 branch.

> KStreams testing docs use non-existent method "pipe"
> ----------------------------------------------------
>
>                 Key: KAFKA-8198
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8198
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 1.1.1, 2.0.1, 2.2.0, 2.1.1
>            Reporter: Michael Drogalis
>            Priority: Minor
>              Labels: documentation, newbie
>
> In [the testing docs for KStreams|https://kafka.apache.org/20/documentation/streams/developer-guide/testing.html], we use the following code snippet:
> {code:java}
> ConsumerRecordFactory<String, Integer> factory = new ConsumerRecordFactory<>("input-topic", new StringSerializer(), new IntegerSerializer());
> testDriver.pipe(factory.create("key", 42L));
> {code}
> As of Apache Kafka 2.2.0, this method no longer exists. We should correct the docs to use the pipeInput method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)