[ 
https://issues.apache.org/jira/browse/KAFKA-500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swapnil Ghike updated KAFKA-500:
--------------------------------

    Attachment: kafka-500-v2.patch

1. Rebased. javaapi/SyncProducer is gone.

2. Removed the two step creation of underlying objects for objects that won't 
be created by producer/consumer clients. This will be the case of 
javaapi/{TopicMetadata, PartitionMetadata, ByteBufferMessageSet, FetchResponse, 
and the future TopicMetadataResponse that will be added with the completion of 
KAFKA-473}. The underlying object is now directly passed as a constructor 
private val. 

3. Added java apis for TopicMetadata and PartitionMetadata given their 
respective scala objects. I am not sure if we need to expose all the fields to 
clients via getters, please advise.

4. Removed unit tests from the v1 patch as the new javaapi code merely wraps 
over the scala code.

5. Cleaned up ByteBufferMessageSetTest, javaapi/Implicits.scala.

6. Removed the logMetadata field from PartitionMetadata as it was not used 
anywhere and was merely going around in buffers. Removed the classes 
LogMetadata and LogSegmentMetadata as well.

7.  Removed detailedMetadata, timestamp and count from TopicMetadataRequest as 
those fields were not being used anywhere. 

8. Refactored kafka.api.TopicMetaDataResponse to TopicMetadataResponse.
                
> javaapi support for getTopoicMetaData
> -------------------------------------
>
>                 Key: KAFKA-500
>                 URL: https://issues.apache.org/jira/browse/KAFKA-500
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Jun Rao
>            Assignee: Swapnil Ghike
>            Priority: Blocker
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka-500-v1.patch, kafka-500-v2.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> TopicMetaRequest and TopicMetaResponse use scala Seq and Option. We need a 
> version so that java applications can use more easily.

--
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

Reply via email to