You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Add upgrade section for 1.0.0, including Streams API changes section.
2. Add metrics name changes section.
Author: Guozhang Wang <wangguoz@gmail.com>
Reviewers: Eno Thereska <eno.thereska@gmail.com>, Damian Guy <damian.guy@gmail.com>
Closesapache#3687 from guozhangwang/KMinor-metrics-upgrade-guide
However, some configuration parameters were deprecated and thus it is recommended to update your code eventually to allow for future upgrades.
32
+
See <ahref="#streams_api_changes_0110">below</a> a complete list of 0.11.0 API and semantic changes that allow you to advance your application and/or simplify your code base, including the usage of new features.
27
33
</p>
28
34
29
35
<p>
30
36
Ifyouwanttoupgradefrom0.10.1.xto0.10.2,seethe<ahref="/{{version}}/documentation/#upgrade_1020_streams"><b>Upgrade Section for 0.10.2</b></a>.
See <ahref="#streams_api_changes_0102">below</a> a complete list of 0.10.2 API and semantical changes that allow you to advance your application and/or simplify your code base, including the usage of new features.
@@ -38,6 +44,16 @@ <h1>Upgrade Guide & API Changes</h1>
38
44
See <ahref="#streams_api_changes_0101">below</a> 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.
39
45
</p>
40
46
47
+
<h3><aid="streams_api_changes_100"href="#streams_api_changes_100">Streams API changes in 1.0.0</a></h3>
48
+
<!-- TODO: KIP-120, 138, 160, 161, 167, 173 -->
49
+
50
+
<p>
51
+
If you are monitoring on task level or processor-node / state store level Streams metrics, please note that the metrics sensor name and hierarchy was changed:
52
+
The task ids, store names and processor names are no longer in the sensor metrics names, but instead are added as tags of the sensors to achieve consistent metrics hierarchy.
53
+
As a result you may need to make corresponding code changes on your metrics reporting and monitoring tools when upgrading to 1.0.0.
54
+
Detailed metrics sensor can be found in the <ahref="#kafka_streams_monitoring">Streams Monitoring</a> section.
55
+
</p>
56
+
41
57
<h3><aid="streams_api_changes_0110"href="#streams_api_changes_0110">Streams API changes in 0.11.0.0</a></h3>
<li><ahref="https://cwiki.apache.org/confluence/display/KAFKA/KIP-112%3A+Handle+disk+failure+for+JBOD">KIP-112</a>: FetchResponse v6 introduces error code for KafkaStorageException. </li>
77
77
</ul>
78
78
79
+
<h5><aid="upgrade_100_streams" href="#upgrade_100_streams">Upgrading a 1.0.0 Kafka Streams Application</a></h5>
80
+
<ul>
81
+
<li> Upgrading your Streams application from 0.11.0 to 1.0.0 does not require a broker upgrade.
82
+
A Kafka Streams 1.0.0 application can connect to 0.11.0, 0.10.2 and 0.10.1 brokers (it is not possible to connect to 0.10.0 brokers though). </li>
83
+
<li> If you are monitoring on streams metrics, you will need make some changes to the metrics names in your reporting and monitoring code, because the metrics sensor hierarchy was changed. </li>
84
+
<li> There are a few public APIs including <code>ProcessorContext#schedule()</code>, <code>Processor#punctuate()</code> and <code>KStreamBuilder</code>, <code>TopologyBuilder</code> are being deprecated by new APIs.
85
+
We recommend making corresponding code changes, which should be very minor since the new APIs look very similary, when you upgrade.
86
+
<li> See <ahref="/{{version}}/documentation/streams#streams_api_changes_100">Streams API changes in 1.0.0</a> for more details. </li>
87
+
</ul>
88
+
79
89
<h4><aid="upgrade_11_0_0" href="#upgrade_11_0_0">Upgrading from 0.8.x, 0.9.x, 0.10.0.x, 0.10.1.x or 0.10.2.x to 0.11.0.0</a></h4>
80
90
<p>Kafka 0.11.0.0 introduces a new message format version as well as wire protocol changes. By following the recommended rolling upgrade plan below,
81
91
you guarantee no downtime during the upgrade. However, please review the <ahref="#upgrade_1100_notable">notable changes in 0.11.0.0</a> before upgrading.
0 commit comments