[
https://issues.apache.org/jira/browse/KAFKA-500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458543#comment-13458543
]
Swapnil Ghike edited comment on KAFKA-500 at 9/19/12 9:13 PM:
--------------------------------------------------------------
1. Removed writeTo() from javaapi.{PartitionMetadata, TopicMetadata}.
2. Exposed send(TopicMetadataRequest) in javaapi/Simpleconsumer and
kafka/api/SimpleConsumer.
3. KAFKA-505 : Removed errorCode from TopicMetadataResponse, accordingly
modified server.handleTopicMetadataRequest.
4. I tried to use generic parameters in javaapi/Implicits.scala but that's
probably not going to work because we have different return types for the
implicit defs. So in order to keep the javaapi code clean, I created two
implicit defs to convert Seq[api.*] to java.util.List[*] and one implicit def
to convert Option[*] to *.
was (Author: swapnilghike):
1. Removed writeTo() from javaapi.{PartitionMetadata, TopicMetadata}.
2. Exposed send(TopicMetadataRequest) in javaapi/Simpleconsumer and
kafka/api/SimpleConsumer.
3. Removed errorCode from TopicMetadataResponse, accordingly modified
server.handleTopicMetadataRequest.
4. I tried to use generic parameters in javaapi/Implicits.scala but that's
probably not going to work because we have different return types for the
implicit defs. So in order to keep the javaapi code clean, I created two
implicit defs to convert Seq[api.*] to java.util.List[*] and one implicit def
to convert Option[*] to *.
> 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,
> kafka-500-v3.patch, kafka-500-v4.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