diff --git a/docs/streams/developer-guide/dsl-api.html b/docs/streams/developer-guide/dsl-api.html index c3c4b9302b850..3c885d6579ca5 100644 --- a/docs/streams/developer-guide/dsl-api.html +++ b/docs/streams/developer-guide/dsl-api.html @@ -3658,16 +3658,11 @@
Another variant of to exists that enables you to dynamically choose which topic to send to for each record via a TopicNameExtractor
instance.
KStream<String, Long> stream = ...;
-KTable<String, Long> table = ...;
-
// Write the stream to the output topic, using the configured default key
// and value serdes.
stream.to("my-stream-output-topic");
-// Same for table
-table.to("my-table-output-topic");
-
// Write the stream to the output topic, using explicit key and value serdes,
// (thus overriding the defaults in the config properties).
stream.to("my-stream-output-topic", Produced.with(Serdes.String(), Serdes.Long());