mmodzelewski opened a new pull request, #3757: URL: https://github.com/apache/iggy/pull/3757
A node's `ip` is the address it binds for replica traffic, which in Docker, Kubernetes, or NAT deployments is private. Both client-facing surfaces reuse it: the cluster roster returned to clients and the follower's redirect to the metadata primary. Clients outside the replica network get an address they cannot reach. Nodes now take an optional `advertised_address` that overrides `ip` only where an address is handed to a client. Replica traffic still uses `ip`, so the two planes can live on separate networks. Left unset, behavior is unchanged. The field is typed as a string but validated as a literal IP, leaving room to accept hostnames later without a config-format break. Validation now checks advertised client endpoints for conflicts alongside the existing bind-endpoint check, since two nodes on distinct private IPs can otherwise publish the same client address and silently shadow each other. Node entries also reject unknown fields, so a misspelled advertised_address fails at startup instead of silently leaving the private ip in client responses. -- 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]
