kafka
kafka copied to clipboard
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);
Hmm... what Java version could cause the issue?
Type mismatch: cannot convert from KeyValue<capture#27-of ? extends K1,V> to KeyValue<K1,V>
Just wondering if we should put a workaround to fix Eclipse? I tend to day rather no.
This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch.
If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact).
If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed.
This PR has been closed since it has not had any activity in 120 days. If you feel like this was a mistake, or you would like to continue working on it, please feel free to re-open the PR and ask for a review.