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

add new kind of primitive.NsResolver #1122

Open
vearne opened this issue Dec 27, 2023 · 0 comments · May be fixed by #1123
Open

add new kind of primitive.NsResolver #1122

vearne opened this issue Dec 27, 2023 · 0 comments · May be fixed by #1123

Comments

@vearne
Copy link
Contributor

vearne commented Dec 27, 2023

FEATURE REQUEST

When our team deploys the nameserver, the nameserver needs to use a domain name to access, so I need a resolver that can resolve DNS.

p, err := rocketmq.NewProducer(
	producer.WithNsResolver(primitive.NewDNSResolver([]string{"ns1.example.com:9876"})),
	producer.WithRetry(2),
)
@vearne vearne linked a pull request Dec 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant