diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html
index 2065445382a..0d10442230e 100644
--- a/docs/streams/upgrade-guide.html
+++ b/docs/streams/upgrade-guide.html
@@ -80,6 +80,14 @@
The new public interfaces inMemoryWindowStore()
and inMemorySessionStore()
are added to Stores
and provide the built-in in-memory window or session store.
+ As of 2.3.0 we've updated how to turn on optimizations. Now to enable optimizations, you need to do two things.
+ First add this line to your properties properties.setProperty(StreamsConfig.TOPOLOGY_OPTIMIZATION, StreamsConfig.OPTIMIZE);
, as you have done before.
+ Second, when constructing your KafkaStreams
instance, you'll need to pass your configuration properties when building your
+ topology by using the overloaded StreamsBuilder.build(Properties)
method.
+ For example KafkaStreams myStream = new KafkaStreams(streamsBuilder.build(properties), properties)
.
+
In 2.3.0 we have added default implementation to close()
and configure()
for Serializer
,
Deserializer
and Serde
so that they can be implemented by lambda expression.