zhaohai666 opened a new pull request, #1385:
URL: https://github.com/apache/rocketmq-clients/pull/1385

   ## P6 feat(nodejs): add custom `ip:` gRPC name resolver for endpoints targets
   
   > ⚠ Stacked on the transport PR (P3) — the scheme-prefix change in 
`getGrpcTarget()` is
   > its base.
   
   - `src/route/IpNameResolver.ts` registers an `ip` scheme resolver: static 
address group
     with Fisher–Yates shuffling across proxies, instead of relying on the 
default DNS
     resolution.
   - `Endpoints.getGrpcTarget()` emits `ip:` for both IPv4 and IPv6 addresses.
   
   **Tests:** `nodejs/test/route/IpNameResolver.test.ts` + `Endpoints.test.ts` 
(12 cases, offline, all pass)


-- 
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