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

Guozhang Wang commented on KAFKA-3835:
--------------------------------------

[~ankushpuri] Sorry for the late reply as I was not pinged and did not get a 
notification. I have added you to the contribution list so you can try assign 
tasks to yourself.

Please take a look at the current newbie JIRAs and see if there are any other 
tasks that you are interested, and also feel free to un-assign yourself if you 
are busy and would like others to pick them up: 
https://issues.apache.org/jira/issues/?jql=project%20%3D%20KAFKA%20AND%20status%20%3D%20Open%20AND%20labels%20%3D%20newbie

> Streams is creating two ProducerRecords for each send via RecordCollector
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-3835
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3835
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.0.0
>            Reporter: Damian Guy
>            Assignee: Jeyhun Karimov
>            Priority: Minor
>              Labels: newbie
>             Fix For: 0.10.3.0
>
>
> The RecordCollector.send(..) method below, currently receives a 
> ProducerRecord from its caller and then creates another one to forward on to 
> its producer.  The creation of 2 ProducerRecords should be removed.
> {code}
> public <K, V> void send(ProducerRecord<K, V> record, Serializer<K> 
> keySerializer, Serializer<V> valueSerializer,
>                             StreamPartitioner<K, V> partitioner)
> {code}
> We could replace the above method with
> {code}
> public <K, V> void send(String topic,
>                             K key,
>                             V value,
>                             Integer partition,
>                             Long timestamp,
>                             Serializer<K> keySerializer,
>                             Serializer<V> valueSerializer,
>                             StreamPartitioner<K, V> partitioner)
> {code}



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

Reply via email to