| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.client.admin.utils |
Helpers which provide useful functionality for the implementation of Pulsar Client API.
|
| Modifier and Type | Method and Description |
|---|---|
PulsarAdminBuilder |
PulsarAdminBuilder.allowTlsInsecureConnection(boolean allowTlsInsecureConnection)
Configure whether the Pulsar admin client accept untrusted TLS certificate from broker (default: false).
|
PulsarAdminBuilder |
PulsarAdminBuilder.authentication(org.apache.pulsar.client.api.Authentication authentication)
Set the authentication provider to use in the Pulsar admin instance.
|
PulsarAdminBuilder |
PulsarAdminBuilder.authentication(String authPluginClassName,
Map<String,String> authParams)
Set the authentication provider to use in the Pulsar client instance.
|
PulsarAdminBuilder |
PulsarAdminBuilder.authentication(String authPluginClassName,
String authParamsString)
Set the authentication provider to use in the Pulsar client instance.
|
PulsarAdminBuilder |
PulsarAdminBuilder.autoCertRefreshTime(int autoCertRefreshTime,
TimeUnit autoCertRefreshTimeUnit)
This sets auto cert refresh time if Pulsar admin uses tls authentication.
|
static PulsarAdminBuilder |
PulsarAdmin.builder()
Get a new builder instance that can used to configure and build a
PulsarAdmin instance. |
PulsarAdminBuilder |
PulsarAdminBuilder.clone()
Create a copy of the current client builder.
|
PulsarAdminBuilder |
PulsarAdminBuilder.connectionTimeout(int connectionTimeout,
TimeUnit connectionTimeoutUnit)
This sets the connection time out for the pulsar admin client.
|
PulsarAdminBuilder |
PulsarAdminBuilder.enableTlsHostnameVerification(boolean enableTlsHostnameVerification)
It allows to validate hostname verification when client connects to broker over TLS.
|
PulsarAdminBuilder |
PulsarAdminBuilder.readTimeout(int readTimeout,
TimeUnit readTimeoutUnit)
This sets the server response read time out for the pulsar admin client for any request.
|
PulsarAdminBuilder |
PulsarAdminBuilder.requestTimeout(int requestTimeout,
TimeUnit requestTimeoutUnit)
This sets the server request time out for the pulsar admin client for any request.
|
PulsarAdminBuilder |
PulsarAdminBuilder.serviceHttpUrl(String serviceHttpUrl)
Set the Pulsar service HTTP URL for the admin endpoint (eg.
|
PulsarAdminBuilder |
PulsarAdminBuilder.setContextClassLoader(ClassLoader clientBuilderClassLoader) |
PulsarAdminBuilder |
PulsarAdminBuilder.sslProvider(String sslProvider)
The name of the security provider used for SSL connections.
|
PulsarAdminBuilder |
PulsarAdminBuilder.tlsCiphers(Set<String> tlsCiphers)
A list of cipher suites.
|
PulsarAdminBuilder |
PulsarAdminBuilder.tlsProtocols(Set<String> tlsProtocols)
The SSL protocol used to generate the SSLContext.
|
PulsarAdminBuilder |
PulsarAdminBuilder.tlsTrustCertsFilePath(String tlsTrustCertsFilePath)
Set the path to the trusted TLS certificate file.
|
PulsarAdminBuilder |
PulsarAdminBuilder.tlsTrustStorePassword(String tlsTrustStorePassword)
The store password for the key store file.
|
PulsarAdminBuilder |
PulsarAdminBuilder.tlsTrustStorePath(String tlsTrustStorePath)
The location of the trust store file.
|
PulsarAdminBuilder |
PulsarAdminBuilder.tlsTrustStoreType(String tlsTrustStoreType)
The file format of the trust store file.
|
PulsarAdminBuilder |
PulsarAdminBuilder.useKeyStoreTls(boolean useKeyStoreTls)
If Tls is enabled, whether use KeyStore type as tls configuration parameter.
|
| Modifier and Type | Method and Description |
|---|---|
static PulsarAdminBuilder |
DefaultImplementation.newAdminClientBuilder() |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.