You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "dengziming (Jira)" <ji...@apache.org> on 2022/04/14 02:22:00 UTC

[jira] [Updated] (KAFKA-13743) kraft controller should prevent topics with conflicting metrics names from being created

     [ https://issues.apache.org/jira/browse/KAFKA-13743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

dengziming updated KAFKA-13743:
-------------------------------
    Fix Version/s: 3.3.0

> kraft controller should prevent topics with conflicting metrics names from being created
> ----------------------------------------------------------------------------------------
>
>                 Key: KAFKA-13743
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13743
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Colin McCabe
>            Assignee: dengziming
>            Priority: Major
>              Labels: kip-500
>             Fix For: 3.3.0
>
>
> The kraft controller should prevent topics with conflicting metrics names from being created, like the zk code does.
> Example:
> {code}
> [cmccabe@zeratul kafka1]$ ./bin/kafka-topics.sh --create --topic f.oo --bootstrap-server localhost:9092                                                         
> WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.                            
> Created topic f.oo.                                                                                                                                                                           
> [cmccabe@zeratul kafka1]$ ./bin/kafka-topics.sh --create --topic f_oo --bootstrap-server localhost:9092
> WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
> Error while executing topic command : Topic 'f_oo' collides with existing topics: f.oo
> [2022-03-15 09:48:49,563] ERROR org.apache.kafka.common.errors.InvalidTopicException: Topic 'f_oo' collides with existing topics: f.oo
>  (kafka.admin.TopicCommand$)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)