[ 
https://issues.apache.org/jira/browse/KAFKA-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576488#comment-14576488
 ] 

Jun Rao commented on KAFKA-2232:
--------------------------------

[~apakulov], since the partitioner is always instantiated through reflection, 
we will lose the generic typing anyway. So, for simplicity, we probably don't 
need to make the Partitioner interface generic. Also, MockProducer doesn't 
actually do the serialization part. We can probably leave 
MockProducer.partition as it is for now.

> make MockProducer generic
> -------------------------
>
>                 Key: KAFKA-2232
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2232
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 0.8.2.1
>            Reporter: Jun Rao
>              Labels: newbie
>             Fix For: 0.8.3
>
>
> Currently, MockProducer implements Producer<byte[], byte[]>. Instead, we 
> should implement MockProducer<K, V>.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to