You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Parth Brahmbhatt (JIRA)" <ji...@apache.org> on 2015/03/25 00:29:57 UTC

[jira] [Commented] (KAFKA-2035) Add a topic config cache.

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

Parth Brahmbhatt commented on KAFKA-2035:
-----------------------------------------

Posted a review https://reviews.apache.org/r/32460/

> Add a topic config cache.
> -------------------------
>
>                 Key: KAFKA-2035
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2035
>             Project: Kafka
>          Issue Type: Task
>            Reporter: Parth Brahmbhatt
>            Assignee: Parth Brahmbhatt
>
> Currently the topic config is all about Log configuration so we have a TopicConfigManager which takes in a Log instance and keeps updating that instance's config instance as and when the topic config is updated. The topic config update notifications are sent using zk watchers by Controller.
> I propose to introduce a TopicConfigCache which will be updated by TopicConfigManager on any config changes. The log instance and any other component (like the authorizer mentioned in KAFKA-1688) will have a reference to TopicConfigCache using which they will access the topic configs.



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