GitHub user tedyu opened a pull request:
https://github.com/apache/kafka/pull/4127
MINOR use proper template classes for internalSelectKey()
As pointed out in this thread:
http://search-hadoop.com/m/Kafka/uyzND1fy2K7I85G1?subj=Kafka+source+code+Build+Error
, Eclipse shows syntax error for the following:
```
return new KeyValue<>(mapper.apply(key, value),
value);
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tedyu/kafka trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4127.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 #4127
----
commit 582f353b08f8bd6c1d12e7e85cc72bc7875abaa7
Author: tedyu <[email protected]>
Date: 2017-10-24T20:07:00Z
MINOR use proper template classes for internalSelectKey()
----
---