kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soumabrata Chakraborty (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-5072) Kafka topics should allow custom metadata configs within some config namespace
Date Wed, 19 Apr 2017 15:11:41 GMT

    [ 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=soumabrata@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=soumabrata@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=soumabrata@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)

Mime
View raw message