kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guozh...@apache.org
Subject kafka git commit: MINOR: Add upgrade notes for KAFKA-2358
Date Fri, 02 Jun 2017 01:24:56 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk 1e350b860 -> 4c8ec795a


MINOR: Add upgrade notes for KAFKA-2358

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #3200 from guozhangwang/KMinor-KAFKA-2358-upgrade-notes


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/4c8ec795
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/4c8ec795
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/4c8ec795

Branch: refs/heads/trunk
Commit: 4c8ec795a0c7091b70bc90add329076c5525dcbc
Parents: 1e350b8
Author: Guozhang Wang <wangguoz@gmail.com>
Authored: Thu Jun 1 18:24:54 2017 -0700
Committer: Guozhang Wang <wangguoz@gmail.com>
Committed: Thu Jun 1 18:24:54 2017 -0700

----------------------------------------------------------------------
 docs/upgrade.html | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/4c8ec795/docs/upgrade.html
----------------------------------------------------------------------
diff --git a/docs/upgrade.html b/docs/upgrade.html
index ab1ddaf..aae058b 100644
--- a/docs/upgrade.html
+++ b/docs/upgrade.html
@@ -70,14 +70,18 @@
     <li>Added user headers support through a new Headers interface providing user headers
read and write access.</li>
     <li>ProducerRecord and ConsumerRecord expose the new Headers API via <code>Headers
headers()</code> method call.</li>
     <li>ExtendedSerializer and ExtendedDeserializer interfaces are introduced to support
serialization and deserialization for headers. Headers will be ignored if the configured serializer
and deserializer are not the above classes.</li>
-    <li>A new config,<code>group.initial.rebalance.delay.ms</code>, was
introduced.
+    <li>A new config, <code>group.initial.rebalance.delay.ms</code>, was
introduced.
         This config specifies the time, in milliseconds, that the <code>GroupCoordinator</code>
will delay the initial consumer rebalance.
         The rebalance will be further delayed by the value of <code>group.initial.rebalance.delay.ms</code>
as new members join the group, up to a maximum of <code>max.poll.interval.ms</code>.
         The default value for this is 3 seconds.
         During development and testing it might be desirable to set this to 0 inorder to
not delay test execution time.
     </li>
+    <li><code>org.apache.kafka.common.Cluster#partitionsForTopic</code>,
<code>partitionsForNode</code> and <code>availablePartitionsForTopic</code>
methods
+        will return an empty list instead of <code>null</code> (which is considered
a bad practice) in case the metadata for the required topic does not exist.
+    </li>
     <li>Streams API configuration parameters <code>timestamp.extractor</code>,
<code>key.serde</code>, and <code>value.serde</code> were deprecated
and
-        replaced by <code>default.timestamp.extractor</code>, <code>default.key.serde</code>,
and <code>default.value.serde</code>, respectively.</li>
+        replaced by <code>default.timestamp.extractor</code>, <code>default.key.serde</code>,
and <code>default.value.serde</code>, respectively.
+    </li>
 </ul>
 
 <h5><a id="upgrade_1100_new_protocols" href="#upgrade_1100_new_protocols">New
Protocol Versions</a></h5>


Mime
View raw message