You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ curl -X POST http://127.0.0.1:4151/topic/create?topic=name
I can also create a channel:
$ curl -X POST http://127.0.0.1:4151/channel/create?topic=name&channel=name
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?
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: