You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2016/12/15 01:25:58 UTC

[jira] [Commented] (KAFKA-3856) Move inner classes accessible only functions in TopologyBuilder out of public APIs

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

Matthias J. Sax commented on KAFKA-3856:
----------------------------------------

[~jeyhunkarimov] Are you still working on this?

> Move inner classes accessible only functions in TopologyBuilder out of public APIs
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-3856
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3856
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Jeyhun Karimov
>              Labels: api
>
> In {{TopologyBuilder}} there are a couple of public functions that are actually only used in the internal classes such as StreamThread and StreamPartitionAssignor, and some accessible only in high-level DSL inner classes, examples include {{addInternalTopic}}, {{sourceGroups}} and {{copartitionGroups}}, etc. But they are still listed in Javadocs since this class is part of public APIs.
> We should think about moving them out of the public functions. Unfortunately there is no "friend" access mode as in C++, so we need to think of another way.



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