validateAndAnalysisAdvertisedListener
public static java.util.Map<java.lang.String,org.apache.pulsar.policies.data.loadbalancer.AdvertisedListener> validateAndAnalysisAdvertisedListener(ServiceConfiguration config)
Validate the configuration of `advertisedListeners`, `internalListenerName`.
1. `advertisedListeners` consists of a comma-separated list of endpoints.
2. Each endpoint consists of a listener name and an associated address (`listener:scheme://host:port`).
3. A listener name may be repeated to define both a non-TLS and a TLS endpoint.
4. Duplicate definitions are disallowed.
5. If `internalListenerName` is absent, set it to the first listener defined in `advertisedListeners`.
- Parameters:
config - the pulsar broker configure.
- Returns: