kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Stein (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-240) implement new producer and consumer request format
Date Mon, 16 Jan 2012 15:55:39 GMT

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

Joe Stein commented on KAFKA-240:

I have been looking and going through the producer side so far only.  I was/am scratching
my head a bit on how we want to handle the arrays and if we just want to put the topic serialized
(the entire thing) and just put that in a position or exactly how we want to store it from
the ByteBuffer perspective.

So in the 7 position would be ByteBuffer.wrap((data: [<topic_data_struct>]).toBytes)

that should be it I think would be enough we could serialize/deserialize it

If you want to go ahead and start on the consumer side I am going to give the Producer side
a crack further at it tonight/tomorrow hopefully by Wednesday finished or will know what roadblock
I have hit.
> implement new producer and consumer request format
> --------------------------------------------------
>                 Key: KAFKA-240
>                 URL: https://issues.apache.org/jira/browse/KAFKA-240
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Jun Rao
>             Fix For: 0.8
> We want to change the producer/consumer request/response format according to the discussion
in the following wiki:
> https://cwiki.apache.org/confluence/display/KAFKA/New+Wire+Format+Proposal

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message