GitHub user jeyhunkarimov opened a pull request: https://github.com/apache/kafka/pull/4309
KAFKA-4218: Enable access to key in ValueTransformer and ValueMapper This PR is the partial implementation for KIP-149. As the discussion for this KIP is still ongoing, I made a PR on the "safe" portions of the KIP (so that it can be included in the next release) which are 1) `ValueMapperWithKey`, 2) `ValueTransformerWithKeySupplier`, and 3) `ValueTransformerWithKey`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jeyhunkarimov/kafka KIP-149_hope_last Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4309.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 #4309 ---- commit 91c1108c72f2f3b3097dcff3bd2aad237789215e Author: Jeyhun Karimov <je.kari...@gmail.com> Date: 2017-12-09T00:56:36Z Submit the first version of KIP-149 ---- ---