[
https://issues.apache.org/jira/browse/KAFKA-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe Stein updated KAFKA-289:
----------------------------
Fix Version/s: (was: 0.8)
0.8.1
> reuse topicdata when sending producerrequest
> --------------------------------------------
>
> Key: KAFKA-289
> URL: https://issues.apache.org/jira/browse/KAFKA-289
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 0.8
> Reporter: Joe Stein
> Labels: optimization, replication, wireprotocol
> Fix For: 0.8.1
>
>
> The way that SyncProducer sends a ProducerRequest over socket is to first
> serialize the whole request in a bytebuffer and then sends the bytebuffer
> through socket. An alternative is to send the request like FetchReponse,
> using a ProduceRequestSend that reuses TopicDataSend. This avoids code
> duplication and is more efficient since it sends data in
> ByteBufferMessagesSet directly to socket and avoids extra copying from
> messageset to bytebuffer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira