KAFKA-4626; Add KafkaConsumer#close change to upgrade notes

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Jason Gustafson <jason@confluent.io>

Closes #2366 from rajinisivaram/KAFKA-4626
This commit is contained in:
Rajini Sivaram 2017-01-13 09:32:46 -08:00 committed by Jason Gustafson
parent 8d9d847904
commit 80d6c64c1b
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@ can upgrade the brokers one at a time: shut down the broker, update the code, an
<ul>
<li>Several methods on the Java consumer may now throw <code>InterruptException</code> if the calling thread is interrupted.
Please refer to the <code>KafkaConsumer</code> Javadoc for a more in-depth explanation of this change.</li>
<li>Java consumer now shuts down gracefully. By default, the consumer waits up to 30 seconds to complete pending requests.
A new close API with timeout has been added to <code>KafkaConsumer</code> to control the maximum wait time.</li>
<li>Multiple regular expressions separated by commas can be passed to MirrorMaker with the new Java consumer via the --whitelist option. This
makes the behaviour consistent with MirrorMaker when used the old Scala consumer.</li>
</ul>