kafka icon indicating copy to clipboard operation
kafka copied to clipboard

MINOR use proper template classes for internalSelectKey()

Open tedyu opened this issue 8 years ago • 3 comments

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);

tedyu avatar Oct 24 '17 20:10 tedyu

Hmm... what Java version could cause the issue?

Type mismatch: cannot convert from KeyValue<capture#27-of ? extends K1,V> to KeyValue<K1,V>

guozhangwang avatar Oct 24 '17 20:10 guozhangwang

Just wondering if we should put a workaround to fix Eclipse? I tend to day rather no.

mjsax avatar Oct 24 '17 21:10 mjsax

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.

github-actions[bot] avatar Oct 18 '24 03:10 github-actions[bot]

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.

github-actions[bot] avatar Nov 18 '24 03:11 github-actions[bot]