[ https://issues.apache.org/jira/browse/KAFKA-10222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
huxihx updated KAFKA-10222: --------------------------- Description: In 0.10 Kafka Streams doc([http://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/streams/KafkaStreams.html]), two wrong methods show up, as show below: _builder.from("my-input-topic").mapValue(value -> value.length().toString()).to("my-output-topic");_ There is no method named `from` or `mapValues`. They should be `stream` and `mapValues` respectively. was: In 0.10 Kafka Streams [doc|http://[http://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/streams/KafkaStreams.html]], two wrong methods show up, as show below: _builder.from("my-input-topic").mapValue(value -> value.length().toString()).to("my-output-topic");_ There is no method named `from` or `mapValues`. They should be `stream` and `mapValues` respectively. > Incorrect methods show up in 0.10 Kafka Streams docs > ---------------------------------------------------- > > Key: KAFKA-10222 > URL: https://issues.apache.org/jira/browse/KAFKA-10222 > Project: Kafka > Issue Type: Bug > Components: documentation > Affects Versions: 0.10.0.0 > Reporter: huxihx > Assignee: huxihx > Priority: Major > > In 0.10 Kafka Streams > doc([http://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/streams/KafkaStreams.html]), > two wrong methods show up, as show below: > _builder.from("my-input-topic").mapValue(value -> > value.length().toString()).to("my-output-topic");_ > > There is no method named `from` or `mapValues`. They should be `stream` and > `mapValues` respectively. > > -- This message was sent by Atlassian Jira (v8.3.4#803005)