Closed aastein closed 6 years ago
Only opened this so the issue and a fix is documented for others to see.
I used this way to workaround https://nsq.io/overview/quick_start.html I have no idea about why all bonjour sharing options on my Mac are off, and I am new to OSX. I specified IP address for a nsqd:
nsqd --lookupd-tcp-address=127.0.0.1:4160
This was sufficient to make chapter 5 program twittervotes working.
The steps listed in chapter 5 will result in nsq using a hostname like
Your-MacBook.local
If the Bonjour service is not enabled, the consumer and nsq_tail will not be able to connect to nsqdlookup
Fix: to fix this, filesharing can be turned on in the OS