diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html index 1d5a342b2bb..f5c16c08cd2 100644 --- a/docs/streams/upgrade-guide.html +++ b/docs/streams/upgrade-guide.html @@ -34,9 +34,17 @@

- If you are using Java 7 and want to upgrade from 1.0.x to 1.1.0 you don't need to make any code changes as the public API is fully backward compatible. - If you are using Java 8 method references in your Kafka Streams code you might need to update your code to resolve method ambiguties. - Hot-swaping the jar-file only might not work for this case. + If you want to upgrade from 1.1.x to 1.2.0 and you have customized window store implementations on the ReadOnlyWindowStore interface + you'd need to update your code to incorporate the newly added public APIs; otherwise you don't need to make any code changes. + See below for a complete list of 1.2.0 API and semantic changes that allow you to advance your application and/or simplify your code base. +

+ +

+ If you want to upgrade from 1.0.x to 1.1.0 and you have customized window store implementations on the ReadOnlyWindowStore interface + you'd need to update your code to incorporate the newly added public APIs. + Otherwise, if you are using Java 7 you don't need to make any code changes as the public API is fully backward compatible; + but if you are using Java 8 method references in your Kafka Streams code you might need to update your code to resolve method ambiguities. + Hot-swaping the jar-file only might not work for this case. See below for a complete list of 1.1.0 API and semantic changes that allow you to advance your application and/or simplify your code base.

@@ -64,12 +72,21 @@ See below a complete list of 0.10.1 API changes that allow you to advance your application and/or simplify your code base, including the usage of new features.

+ +

Streams API changes in 1.2.0

+

+ We have added support for methods in ReadOnlyWindowStore which allows for querying a single window's key-value pair. + For users who have customized window store implementations on the above interface, they'd need to update their code to implement the newly added method as well. + For more details, see KIP-261. +

+

Streams API changes in 1.1.0

- We have added support for methods in ReadOnlyWindowStore which allows for querying WindowStores without the neccesity of providing keys. + We have added support for methods in ReadOnlyWindowStore which allows for querying WindowStores without the necessity of providing keys. + For users who have customized window store implementations on the above interface, they'd need to update their code to implement the newly added method as well. + For more details, see KIP-205.

-

There is a new artifact kafka-streams-test-utils providing a TopologyTestDriver, ConsumerRecordFactory, and OutputVerifier class. You can include the new artifact as a regular dependency to your unit tests and use the test driver to test your business logic of your Kafka Streams application.