GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/2740
MINOR: Use method handles instead of reflection for creating Snappy and LZ4 streams Also remove unused `ByteBufferReceive`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka use-method-handles-for-compressed-stream-supplier Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2740.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2740 ---- commit 906b1de7efa49f9488a8320c5c283ef019244ecd Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-03-26T02:35:33Z Use method handles instead of reflection for LZ4 and Snappy output streams commit 18be77e9384a35922f3ef86a9dd18f2a49a82379 Author: Ismael Juma <ism...@juma.me.uk> Date: 2017-03-26T02:35:45Z Remove unused ByteBufferReceive ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---