Skip to content

Conversation

@nodece
Copy link
Member

@nodece nodece commented Feb 11, 2026

Motivation

Currently, in standalone mode, the broker uses localhost as the advertised address (as seen in #5856), which works fine for local testing. However, in Kubernetes deployments, this behavior can be problematic: clients connecting via Pulsar Proxy attempt to reach localhost:6550, which is incorrect in a podized environment.

Modifications

  • Prefer the broker's fully qualified domain name (FQDN) as the advertised address in the standalone model
  • Fallback to localhost only if FQDN resolution fails
  • Make the standalone test with --advertised-adress localhost

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@nodece nodece requested review from dao-jun and lhotari February 11, 2026 07:06
@nodece nodece self-assigned this Feb 11, 2026
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 11, 2026
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lhotari lhotari added this to the 4.2.0 milestone Feb 11, 2026
@nodece nodece merged commit 1db61ac into apache:master Feb 12, 2026
103 of 106 checks passed
@nodece nodece deleted the fix-advertisedAddress branch February 12, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants