Discovering nsqd server address from nslookupd Discovering nsqd server address from nslookupd kubernetes kubernetes

Discovering nsqd server address from nslookupd


I found that GKE now supports StatefulSet at 1.5.2It means your nsqd, nsqlookupd can be spin to as SS instances. Now you can use -broadcast-address=$POD_IP from downward api and your producers will be able to publish to nsq-0.nsq-service-name, nsq-1.nsq-service-name etc., while consumers will get advertised nsqd IP address from nsqlookupd. That works for us. Just managed to make it to work today