pulsar
pulsar copied to clipboard
[WIP][fix][broker] Fix topic lookup with Admin API when using advertised listeners
This PR is WIP
Motivation
PIP-61 and PIP-95 isn't fully implemented in the Pulsar code base. For example, topic lookup with Admin API is broken when using advertised listeners.
Modifications
- cover gaps in redirects to handle advertised listeners
- allow having both Pulsar binary protocol (pulsar & pulsar+ssl) and web api (http & https) with the same listener name by removing the unnecessary restriction of max 2 endpoints for a listener name
Additional context
- PIP-338 is related
- https://github.com/apache/pulsar/pull/17063 is related
- separate issue for PIP-307 support for advertised listeners
Documentation
- [ ]
doc - [ ]
doc-required - [x]
doc-not-needed - [ ]
doc-complete