GitHub user smccauliff opened a pull request:
https://github.com/apache/kafka/pull/3053
KAFKA-5239: Producer buffer pool allocates memory inside a lock
Move byte buffer allocation out of lock.
Add unit test for restoring count when OOM is thrown from byte buffer
allocation
GitHub user smccauliff opened a pull request:
https://github.com/apache/kafka/pull/2659
KAFKA-4840 : BufferPool errors can cause buffer pool to go into a bad state
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/smccauliff/kafka