qianye1001 opened a new issue, #11526:
URL: https://github.com/apache/rocketmq/issues/11526
### Is Your Feature Request Related to a Problem?
Proxy has separate data-plane and Admin gRPC servers, but both currently use
wildcard listening addresses. Operators can configure the ports, but cannot
bind the Admin endpoint to a management-network IP or loopback independently of
the data-plane endpoint.
### Describe the Solution You'd Like
Add `grpcServerBindAddress` and `grpcAdminServerBindAddress` to
`ProxyConfig`. Both default to an empty string, preserving the existing
wildcard behavior. Explicit IPv4 or IPv6 addresses select the local bind
address; port settings remain unchanged. The settings take effect at startup.
Add `InetSocketAddress` overloads to `GrpcServerBuilder`, keeping existing
port-based APIs and the current TLS, interceptor, event-loop ownership and
shutdown behavior.
```json
{
"grpcServerBindAddress": "192.0.2.10",
"grpcServerPort": 8081,
"grpcAdminServerBindAddress": "127.0.0.1",
"grpcAdminServerPort": 8088
}
```
### Describe Alternatives You've Considered
Firewall rules limit access but do not express listener binding in Proxy
configuration. Reimplementing the builder downstream duplicates transport and
lifecycle setup. An advertised address should not implicitly determine the
local listening interface.
### Additional Context
This is useful for multi-homed hosts, management-network isolation and
loopback-only administration. It does not require interface-name discovery or
cloud-specific behavior.
--
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]