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

Soumabrata Chakraborty commented on KAFKA-5072:
-----------------------------------------------

PR created: https://github.com/apache/kafka/pull/2873

The PR has a WIP tag since I am not sure how to add this to the documentation 
given that the list of kafka topic properties is auto-generated

Before the change:
[soumabrata@Krishna bin]$ ./kafka-configs.sh --zookeeper localhost:2181 
--entity-type topics --entity-name demo --alter --add-config 
'metadata.contact.info=soumabr...@gmail.com'
Error while executing config command Unknown Log configuration 
metadata.contact.info.
org.apache.kafka.common.errors.InvalidConfigurationException: Unknown Log 
configuration metadata.contact.info.

After the Change:
[soumabrata@Krishna bin]$ ./kafka-configs.sh --zookeeper localhost:2181 
--entity-type topics --entity-name demo --alter --add-config 
'metadata.contact.info=soumabr...@gmail.com'
Completed Updating config for entity: topic 'demo'.
[soumabrata@Krishna bin]$ ./kafka-configs.sh --zookeeper localhost:2181 
--entity-type topics --entity-name demo --describe
Configs for topic 'demo' are metadata.contact.info=soumabr...@gmail.com

> Kafka topics should allow custom metadata configs within some config namespace
> ------------------------------------------------------------------------------
>
>                 Key: KAFKA-5072
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5072
>             Project: Kafka
>          Issue Type: Improvement
>          Components: config
>    Affects Versions: 0.10.2.0
>            Reporter: Soumabrata Chakraborty
>            Assignee: Soumabrata Chakraborty
>            Priority: Minor
>
> Kafka topics should allow custom metadata configs
> Such config properties may have some fixed namespace e.g. metadata* or custom*
> This is handy for governance.  For example, in large organizations sharing a 
> kafka cluster - it might be helpful to be able to configure properties like 
> metadata.contact.info, metadata.project, metadata.description on a topic.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to