It looks like the bounds may be backwards:
```
00:04:36.049 
/home/jenkins/jenkins-slave/workspace/kafka-pr-jdk8-scala2.11/streams/streams-scala/src/main/scala/org/apache/kafka/streams/scala/kstream/Produced.scala:60:
 type mismatch;
00:04:36.049  found   : 
org.apache.kafka.streams.processor.StreamPartitioner[_$1,_$2] where type _$2 <: 
V, type _$1 <: K
00:04:36.049  required: org.apache.kafka.streams.processor.StreamPartitioner[_ 
>: K, _ >: V]
00:04:36.049 Note: _$1 <: Any, but Java-defined trait StreamPartitioner is 
invariant in type K.
00:04:36.049 You may wish to investigate a wildcard type such as `_ <: Any`. 
(SLS 3.2.10)
00:04:36.049 Note: _$2 <: Any, but Java-defined trait StreamPartitioner is 
invariant in type V.
00:04:36.049 You may wish to investigate a wildcard type such as `_ <: Any`. 
(SLS 3.2.10)
00:04:36.049     ProducedJ.`with`(keySerde, valueSerde, partitioner)
```

[ Full content available at: https://github.com/apache/kafka/pull/5551 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to