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
If you need to use ip addresses, you should specify the --broadcast-address={{ip_addr}} along with the rest of the command-line flags, or in the config file, generated by your deploy/cluster system.
The default is the hostname because the hostname should generally work for reaching the server. It might even have different "internal" and "external" addresses that resolve differently depending on where the consumer is, but always works for that consumer. It was designed in a more server-centric time, when you would typically run one instance of nsqd on each server.
in my case, deploy nsq to kubernetes, hostname cannot be accessed by other services, but register IP it's no problem.
I can redo the docker image to solve this problem by getting the IP address and assigning the broadcast-address parameter before starting NSQD.
The text was updated successfully, but these errors were encountered: