[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15404814#comment-15404814 ] ASF GitHub Bot commented on KAFKA-3929: --- Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1649 > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Damian Guy > Labels: api > Fix For: 0.10.1.0 > > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15388593#comment-15388593 ] ASF GitHub Bot commented on KAFKA-3929: --- GitHub user dguy opened a pull request: https://github.com/apache/kafka/pull/1649 KAFKA-3929: Add prefix for underlying clients configs in StreamConfig Add prefixes for consumer and producer configs to StreamsConfig, but be backward compatible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dguy/kafka kafka-3929 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1649.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1649 commit 67f5e22eed250f65535bb1c93cf17b55324ddd0f Author: Damian GuyDate: 2016-07-21T23:14:12Z enable prefixes for consumer and producer configs in streams config > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Damian Guy > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15388440#comment-15388440 ] Guozhang Wang commented on KAFKA-3929: -- Thanks! I will let Damian to pick it up then. > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15388216#comment-15388216 ] Ishita Mandhan commented on KAFKA-3929: --- I've started but haven't made too much progress into it so if the fix needs to be done asap, you can pick it up. > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15388137#comment-15388137 ] Guozhang Wang commented on KAFKA-3929: -- [~imandhan] Are you already working on this ticket? > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15375381#comment-15375381 ] Guozhang Wang commented on KAFKA-3929: -- I am sorry for the late reply, missed your response in my email notifier.. Yeah that is the purpose. In the first step of KAFKA-3740 [~h...@pinterest.com] already add the function to expose all config properties in key-value pairs with sth. like {{ProcessorContext.appConfigsWithPrefix}}. And in this ticket we just want make a standard set of prefixes that the library is aware of, and also the users should obey when specifying the configs before constructing the instance. > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15364802#comment-15364802 ] Ishita Mandhan commented on KAFKA-3929: --- So have a function say appConfigsWithPrefix that is called in StreamsConfig's getConsumerConfigs function which is responsible for adding a prefix "kafka.consumer"? > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15363389#comment-15363389 ] Guozhang Wang commented on KAFKA-3929: -- I think it'll be better to just define the producer / consumer / rocksdb / etc prefix in StreamsConfig, and not change the CommonClientConfigs itself, and require users to use them when specifying these underlying configs, and then we can use {{AbstractConfig.originalsWithPrefix}} to get them all when needed inside Kafka Streams client. > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (KAFKA-3929) Add prefix for underlying clients configs in StreamConfig
[ https://issues.apache.org/jira/browse/KAFKA-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15363051#comment-15363051 ] Ishita Mandhan commented on KAFKA-3929: --- Are you thinking a similar implementation to KAFAK-3740 for the CommonClientConfigs where every config has either a consumer/producer prefix or just a subset of them? > Add prefix for underlying clients configs in StreamConfig > - > > Key: KAFKA-3929 > URL: https://issues.apache.org/jira/browse/KAFKA-3929 > Project: Kafka > Issue Type: Bug > Components: streams >Reporter: Guozhang Wang >Assignee: Ishita Mandhan > Labels: api > > There are a couple of configs that have the same name for producer / consumer > configs, e.g. take a look at {{CommonClientConfigs}}, and also for producer / > consumer interceptors there are commonly named configs as well. > This is semi-related to KAFKA-3740 since we need to add "sub-class" configs > for RocksDB as well, and we'd better have some prefix mechanism for such > hierarchical configs in general. -- This message was sent by Atlassian JIRA (v6.3.4#6332)