lhotari commented on PR #25238: URL: https://github.com/apache/pulsar/pull/25238#issuecomment-4244888752
> @lhotari I agree this introduces a breaking change for standalone Docker usage, but I think it's a reasonable trade-off. > > The previous default (`localhost`) works for local/docker testing, but it's misleading in containerized environments like Kubernetes, where it can lead to incorrect connectivity (e.g., clients resolving to `localhost:6650`). Prioritizing FQDN makes the behavior more consistent with real deployments and avoids these pitfalls. > > For Docker users, the impact is straightforward and explicit; they can restore the old behavior by setting: > > ``` > --advertised-address localhost > ``` > > So while it's technically breaking, it improves correctness and makes the configuration more intentional rather than relying on an implicit default. @nodece Most users use Pulsar standalone for testing and it breaks the behavior for everyone who has been doing this in the past. Since using Pulsar standalone in Kubernetes is a very rare use case, I'd suggest that we restore the previous default behavior and instead document the Kubernetes deployment of Pulsar standalone if someone really needs that. -- 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]
