You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2014/09/16 06:55:34 UTC

[jira] [Commented] (KAFKA-1620) Make kafka api protocol implementation public

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

Jun Rao commented on KAFKA-1620:
--------------------------------

Thanks for the patch. Is there a particular reason that you need to make GenericResponseAndHeader and GenericRequestAndHeader public?

> Make kafka api protocol implementation public
> ---------------------------------------------
>
>                 Key: KAFKA-1620
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1620
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Anton Karamanov
>            Assignee: Anton Karamanov
>         Attachments: 0001-KAFKA-1620-Make-kafka-api-protocol-implementation-pu.patch
>
>
> Some of the classes which implement Kafka api protocol, such as {{RequestOrResponse}} and {{FetchRequest}} are defined as private to {{kafka}} package. Those classes would be extremely usefull for writing custom clients (we're using Scala with Akka and implementing one directly on top of Akka TCP), and don't seem to contain any actuall internal logic of Kafka. Therefore it seems like a nice idea to make them public.



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