Class BindAddressValidator

java.lang.Object
org.apache.pulsar.broker.validator.BindAddressValidator

public class BindAddressValidator extends Object
Validates bind address configurations.
  • Constructor Details

    • BindAddressValidator

      public BindAddressValidator()
  • Method Details

    • validateBindAddresses

      public static List<BindAddress> validateBindAddresses(ServiceConfiguration config, Collection<String> schemes)
      Validate the configuration of `bindAddresses`.
      Parameters:
      config - the pulsar broker configure.
      schemes - a filter on the schemes of the bind addresses, or null to not apply a filter.
      Returns:
      a list of bind addresses.