sub topic name (http://my.com/topic#subtopic or http://my.com//topic/subtopic)

#1

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:

http://my.com/topic#one

That is, the hash mark as the end of the base topic.

Can my ‘base topic’ be:

http://my.com/topic#XXX

and a sub topic be:

http://my.com/top#XXXsubtopic

?

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:

MYTOPIC

And a base topic:

MYTOPIC!

for all of the sub topics:

MYTOPIC!one

MYTOPIC!two

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 :slight_smile:

Thank you,

—greg

0 Likes

#2

Hi Greg,

I'm a bit short in time lately .. let me hence point you to this:

http://wamp.ws/faq/#why_uris

and this:

https://groups.google.com/forum/#!topic/wampws/2bKY8wdG8c8

which should at least answer parts of your questions .. if you have more, please feel free to ask more!

/Tobias

···

Am 19.11.2013 17:01, schrieb Greg Fausak:

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:

http://my.com/topic#one

That is, the hash mark as the end of the base topic.

Can my 'base topic' be:

http://my.com/topic#XXX

and a sub topic be:

http://my.com/top#XXXsubtopic

?

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:

MYTOPIC

And a base topic:

MYTOPIC!

for all of the sub topics:

MYTOPIC!one
MYTOPIC!two

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 :slight_smile:

Thank you,

---greg

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Likes