Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGISTER command exists or not? #241

Closed
JoseFMP opened this issue Dec 4, 2018 · 2 comments
Closed

REGISTER command exists or not? #241

JoseFMP opened this issue Dec 4, 2018 · 2 comments
Labels

Comments

@JoseFMP
Copy link

JoseFMP commented Dec 4, 2018

In the description of the TCP protocol there is nothing like a REGISTER command:
https://nsq.io/clients/tcp_protocol_spec.html

However, the go-nsq library has a function to create a REGISTER command describing it as being used to register a channel/topic into nsq. nsq.Register(..., ...)

Does this command exists or not?

  • If it does not exists, why is it present in go-nsq library?
  • If it exists, is not working. Nsq complains: - E_INVALID invalid command REGISTER what makes sense since this command is not described in the protocol spec.
@ploxiln
Copy link
Member

ploxiln commented Dec 4, 2018

REGISTER is only used between nsqd and nsqlookupd, not between consumer clients and nsqd

@JoseFMP
Copy link
Author

JoseFMP commented Dec 4, 2018

Thank you so much. Clear then.

@JoseFMP JoseFMP closed this as completed Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants