vearne opened a new pull request, #1123:
URL: https://github.com/apache/rocketmq-client-go/pull/1123

   ## What is the purpose of the change
   
   fix [#1122](https://github.com/apache/rocketmq-client-go/issues/1122)
   
   ## Brief changelog
   
   add new kind of NsResolver: dnsResolver to support nameserver in the form of 
domain name.
   
   like this
   ```
   p, err := rocketmq.NewProducer(
        
producer.WithNsResolver(primitive.NewDNSResolver([]string{"ns1.example.com:9876"})),
        producer.WithRetry(2),
   )
   ```
   
   ## Verifying this change
   I have add unit test In primitive/nsresolver_test.go.
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to