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

nsqd: refresh the address of nsqlookupd on DNS changes #1233

Open
danbf opened this issue Jan 14, 2020 · 4 comments
Open

nsqd: refresh the address of nsqlookupd on DNS changes #1233

danbf opened this issue Jan 14, 2020 · 4 comments

Comments

@danbf
Copy link
Contributor

danbf commented Jan 14, 2020

right now an nsqd client doesn't refresh it's ip connections to lookupd on lookupd DNS changes. this causes a problem on long running instances when a lookupd instance gets rebuilt.

@starsz
Copy link

starsz commented Feb 7, 2020

Hello,I think you can config the lookupd address by using IP.
When a lookupd instance gets rebuilt, you can update by using
PUT /config/nsqlookupd_tcp_addresses interface.

See nsq doc https://nsq.io/components/nsqd.html#put-confignsqlookupd_tcp_addresses.

@mreiferson mreiferson changed the title have nsqd client re-fresh the IP address for lookupd connections and connect to new lookupd's on IP changes nsqd: refresh the address of nsqlookupd on DNS changes Jun 11, 2020
@mreiferson
Copy link
Member

Agreed, although @starsz points out a workaround, I think it's a reasonable expectation that if you use DNS to provide some operational control over nsqlookupd deployments that it should generally work as expected.

@starsz
Copy link

starsz commented Jul 16, 2020

Aha,@mreiferson I think I can contribute to this project. : )

@mreiferson
Copy link
Member

@starsz please do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants