kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ismael Juma <ism...@juma.me.uk>
Subject Re: [VOTE] KIP-100 - Relax Type constraints in Kafka Streams API
Date Tue, 13 Dec 2016 08:12:56 GMT
Hi Xavier,

Thanks for the KIP. If Java had declaration site variance (proposed for a
future Java version[1]), we'd mark function parameters as contravariant
(i.e. "super") and the result as covariant (i.e. "extends"). In the
meantime, we have to use the wildcards at use site as per your proposal.
However, it seems that only the first case is covered by your proposal.
This is an improvement, but is there any reason not to do the latter as
well? It would be good to get it completely right this time.


[1] http://openjdk.java.net/jeps/300

On Fri, Dec 9, 2016 at 6:27 PM, Xavier Léauté <xavier@confluent.io> wrote:

> Hi everyone,
> I would like to start the vote for KIP-100 unless there are any more
> comments.
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-100+-+
> Relax+Type+constraints+in+Kafka+Streams+API
> corresponding PR here https://github.com/apache/kafka/pull/2205
> Thanks,
> Xavier

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message