Skip to main content

topic_names_collide

Function topic_names_collide 

Source
pub fn topic_names_collide(a: &str, b: &str) -> bool
Expand description

Whether a and b are the same name after . becomes _ (Kafka’s Topic.hasCollision).

Kafka metric names cannot tell . from _, so Kafka refuses to create a topic that collides with an existing topic.