I admit it, I am new to pubsub. One thing that is confusing to me is the relevance of the topic name. Is it just a string of bytes? Or does it mean something? If it is just a string of bytes then a subtopic is nothing more than something that matches the beginning of the topic name, right? The reason I ask is that I see the following a lot in examples:
That is, the hash mark as the end of the base topic.
Can my ‘base topic’ be:
and a sub topic be:
I also see in one of the examples (the authentication one) there the base topic ends with a /, which is why I’m asking this question.
For that matter, do I even need all of the uri markup? Can a topic be:
And a base topic:
for all of the sub topics:
Another related question, if I subscribe to the ‘base topic’ do I receive all messages sent to the ‘sub topics’?
I would be grateful i somebody could point me at an rfc