Closed JoseFMP closed 5 years ago
Yes, there is no functionality in go-nsq
to do that explicitly. However, publishing to a topic will create it if it does not yet exist, and subscribing to a topic will create a channel if it does not already exist.
Using the HTTP API I can set a topic in nsqd:
I can also create a channel:
Now I am wondering. Is it possible to do the same thing from a client using the TCP Protocol? If thus, then the library
go-nsq
is useless for this purpose. Correct?