I'm trying sample codes from http://kafka.apache.org/0100/javadoc/index.html?org/apache/kafka/streams/KafkaStreams.html
but for this two lines
KStreamBuilder builder = new KStreamBuilder();
builder.from("my-input-topic").mapValue(value -> value.length().toString()).to("my-output-topic");
There seems no method called 'from' in KStreamBuilder now according to https://kafka.apache.org/0100/javadoc/org/apache/kafka/streams/kstream/KStreamBuilder.html
So what's the current way to do the same thing as the above 2 lines?
Maven is used to manage the dependencies
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-streams</artifactId>
<version>0.10.0.0</version>
</dependency>