Produced is a Kafka Streams configuration object for a sink node. It supplies output Serde instances and can also configure optional settings such as a custom StreamPartitioner. section 6.3.1
Writing transformed records
After converting values to uppercase, write them to a Kafka topic with explicit key and value Serdes: upperCasedStream.to("out-topic", Produced.with(Serdes.String(), Serdes.String())); Kafka Streams uses configured defaults when explicit Serdes are omitted. section 6.3.1
Listing 6.5 Creating a sink node
upperCasedStream.to("out-topic",
Produced.with(Serdes.String(), Serdes.String()));
Inspect the complete sink-node example for the Yelling application. section 6.3.1
