Let's say we have many topics (or subjects) with a complex naming convention.
The feature is accessible through the visibility button on topics or on schema registry (disabled by default):
This will open a configuration dialog where the magic will be configured, through regular expressions:
We setup regular expressions (as many as we want)
We pick one group to be the name of the entity in the listing (instead of the long name)
The following is a capturing group named "environment" matching multiple characters.
This will create a column named "environment" in Conduktor if this group is not selected as the main name (otherwise the name of the topic will be this value, that's probably not what we want).
In our previous example, we have setup two regular expressions:
We can say a lot about them:
Our parts are separated by dashes
We match and ignore the prefix "google-" because we don't want to see it
They look alike but the first one has one more group named Trigram because in our example, some topics have it "-TCO-", others don't
There are 4 groups here: App, Env, Trigram, topic
"topic" appears in both expressions: we want to "merge" the resulting values (extracted from the topic name) into the same column
"topic" is the part we want to use as main name in our listing
The result is a screen way more readable, by removing useless information and distinguishing between important parts: