Is it always required to provide pattern of all 4 levels when we create a solace topic?
Hi @Aravindh Ravi ,
Can you explain what you mean by 4 required levels and provide more context to your question?
Without further background on your question, I'd answer simply that you don't need to provide 4 levels.
You can publish to pretty much any string value representing a topic in Solace.
For example, I could publish to topics like
Similarly for queues, there's no level requirement. You could simply name your queues:
Solace topics are very flexible and there are very few requirements.
It is not required to have multiple levels at all.
For example a is a valid topic name in PubSub+.
Levels and wildcards can be added to provide structure and flexibility to your application but such structure is not required. It's more of a "best practice" for application design.
@Arvind Mishra , further to what @ChristianHoltfurth said, topics in Solace are fully dynamic - that means a topic can have from 1 to 128 levels.
However, you may have a topic taxonomy. That specifies what levels your topic should conform to. It may be that you have a topic taxonomy that specifies 4 levels. This would be unusual, I think - it's rather a small number of levels.
You can find out more about topic taxonomies in this blog.
Thanks all for the clarification
@Aravindh Ravi ... where did you hear that Solace topics require 4 levels? Or how did you come to understand that? Thanks!