Global Naming Convention for Topics PreviousNext
Data Distribution Service (DDS) Forum > DDS Technical Forum >
Message/Author
Next message Dan George  posted on Thursday, November 13, 2014 - 03:25 am
Is there any convention, standard or otherwise, for naming topics to avoid collisions in the global name space?

The Java convention of using internet domain names seemed like a reasonable approach, e.g. "com.mycomany.somedomain.sometopic". Unfortunately, that's not a legal topic name.

Legal topic names cannot have typical delimiters ('.', "::", '/', etc). Apparently, '-' is allowed but not recommended because a conflict with SQL. I read somewhere that '_' has been added. Unfortunately, '_' is commonly used as a readability separator. For example, is "com_mycompany_mydomain_MyDDS_Topic" equivalent to com.mycompany.mydomain.MyDDS_Topic or com.mycompnay.mydomain.MyDDS.Topic? Should "MyDDS_Topic" be escaped like "MyDDS__Topic"? It would be a confusing convention.

Perhaps the domain id is intended to avoid name collisions. Is there a global registry of domain ids?

Thank you,
Dan G
Next message Dan George  posted on Tuesday, November 18, 2014 - 06:02 pm
This topic was answered well by Erik Hendriks posted on Wednesday, December 15, 2010 - 05:33 pm.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: