Adding topics with topic specifications
The recommended way to add topics is to use a topic specification.
Required permissions:
To create most topic types, you can either create the topic by defining just the topic type or use the more complex topic specification to specify other properties of the topic.
A topic is specified in terms of its type and a map of optional property settings which can alter the default behavior of the topic.
You can use the same instance of topic specification to create many topics.