Here are some example I was trying to use for kafka,
I am not sure it is good to go with or any specific naming convention?
For Topic
- {name}_queue
- {name}_topic
- Here I think first option is not good because Topic is not queue exactly.
- In the term of Computer Science Queue means First Come First Out.
- If partitions come into the picture in topic than Topic will be no longer queue because inside the topic partitions is part of queue and data comes from For Partitions
- {name}_partition
- {name}_{kafka topic name}_partition
- {name}_{kafka topic name}_part
There is no much written related to Kafka topics naming convention, but this may give you some guidance
I think you're overthinking this. All you need to do is to assign a Kafka topic name that adheres to
[a-zA-Z0-9\\._\\-]
. Solike-this
orlike_this
orlikeThis
or evenlikethis
. Kafka will handle partition names for you by addingtopic-name-{partitionid}
for each partition.