-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-3933; Always fully read deepIterator
Avoids leaking native memory and hence crashing brokers on bootup due to running out of memory. Seeeing as `messageFormat > 0` always reads the full compressed message set and is the default going forwards, we can use that behaviour to always close the compressor when calling `deepIterator` Author: Tom Crayford <tcrayford@googlemail.com> Reviewers: Ismael Juma <ismael@juma.me.uk> Closes #1660 from tcrayford/dont_leak_native_memory_round_2
- Loading branch information
Showing
1 changed file
with
34 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters