/** * Construct a new Pulsar Admin client object. * <p> * This client object can be used to perform many subsquent API calls * * @param serviceUrl * the Pulsar service URL (eg. "http://my-broker.example.com:8080") * @param pulsarConfig * the ClientConfiguration object to be used to talk with Pulsar * @deprecated Since 2.0. Use {@link #builder()} to construct a new {@link PulsarAdmin} instance. */ @Deprecated public PulsarAdmin(URL serviceUrl, ClientConfiguration pulsarConfig) throws PulsarClientException { this(serviceUrl.toString(), pulsarConfig.getConfigurationData()); }
@Deprecated public PulsarClientImpl(String serviceUrl, ClientConfiguration conf, EventLoopGroup eventLoopGroup, ConnectionPool cnxPool) throws PulsarClientException { this(conf.setServiceUrl(serviceUrl).getConfigurationData().clone(), eventLoopGroup, cnxPool); }
@Deprecated public PulsarClientImpl(String serviceUrl, ClientConfiguration conf, EventLoopGroup eventLoopGroup) throws PulsarClientException { this(conf.setServiceUrl(serviceUrl).getConfigurationData().clone(), eventLoopGroup); }
@Deprecated public PulsarClientImpl(String serviceUrl, ClientConfiguration conf) throws PulsarClientException { this(conf.setServiceUrl(serviceUrl).getConfigurationData().clone()); }