public static final class SchemaRegistryClient.Configuration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
AUTH_PASSWORD
Password for basic authentication.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
AUTH_TYPE |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
AUTH_USERNAME
Username for basic authentication.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
CLASSLOADER_CACHE_EXPIRY_INTERVAL_SECS
Expiry interval(in seconds) of an entry in classloader cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
CLASSLOADER_CACHE_SIZE
Maximum size of classloader cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
CONNECTOR_PROVIDER
Jersey connector provider classname.
|
static long |
DEFAULT_CLASSLOADER_CACHE_EXPIRY_INTERVAL_SECS
Default value for cache expiry interval in seconds.
|
static long |
DEFAULT_CLASSLOADER_CACHE_SIZE
Default value for classloader cache size.
|
static int |
DEFAULT_CONNECTION_TIMEOUT
Default connection timeout on connections created while connecting to schema registry.
|
static java.lang.String |
DEFAULT_LOCAL_JARS_PATH
Default path for downloaded jars to be stored.
|
static int |
DEFAULT_READ_TIMEOUT
Default read timeout on connections created while connecting to schema registry.
|
static long |
DEFAULT_SCHEMA_CACHE_EXPIRY_INTERVAL_SECS |
static long |
DEFAULT_SCHEMA_CACHE_SIZE |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
HASH_FUNCTION |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
LOCAL_JAR_PATH
Local directory path to which downloaded jars should be copied to.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
OAUTH_CLIENT_ID |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
OAUTH_CLIENT_SECRET |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
OAUTH_REQUEST_METHOD |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
OAUTH_SCOPE |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
OAUTH_SERVER_URL |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
RETRY_POLICY
Jersey connector provider classname.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
SASL_JAAS_CONFIG |
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
SCHEMA_METADATA_CACHE_EXPIRY_INTERVAL_SECS
Expiry interval(in seconds) of an entry in schema metadata cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
SCHEMA_METADATA_CACHE_SIZE
Maximum size of schema metadata cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
SCHEMA_REGISTRY_URL
URL of schema registry to which this client connects to.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
SCHEMA_TEXT_CACHE_EXPIRY_INTERVAL_SECS
Expiry interval(in seconds) of an entry in schema text cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
SCHEMA_TEXT_CACHE_SIZE
Maximum size of schema text cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
SCHEMA_VERSION_CACHE_EXPIRY_INTERVAL_SECS
Expiry interval(in seconds) of an entry in schema version cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> |
SCHEMA_VERSION_CACHE_SIZE
Maximum size of schema version cache.
|
static com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> |
URL_SELECTOR_CLASS |
| Constructor and Description |
|---|
Configuration(java.util.Map<java.lang.String,?> config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<com.hortonworks.registries.schemaregistry.ConfigEntry<?>> |
getAvailableConfigEntries() |
java.util.Map<java.lang.String,java.lang.Object> |
getConfig() |
<T> T |
getValue(java.lang.String propertyKey) |
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> SCHEMA_REGISTRY_URL
public static final java.lang.String DEFAULT_LOCAL_JARS_PATH
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> LOCAL_JAR_PATH
public static final long DEFAULT_CLASSLOADER_CACHE_SIZE
public static final long DEFAULT_CLASSLOADER_CACHE_EXPIRY_INTERVAL_SECS
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> CLASSLOADER_CACHE_SIZE
DEFAULT_CLASSLOADER_CACHE_SIZE
Classloaders are created for serializer/deserializer jars downloaded from schema registry and they will be locally cached.public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> CLASSLOADER_CACHE_EXPIRY_INTERVAL_SECS
DEFAULT_CLASSLOADER_CACHE_EXPIRY_INTERVAL_SECS
Classloaders are created for serializer/deserializer jars downloaded from schema registry and they will be locally cached.public static final long DEFAULT_SCHEMA_CACHE_SIZE
public static final long DEFAULT_SCHEMA_CACHE_EXPIRY_INTERVAL_SECS
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> SCHEMA_VERSION_CACHE_SIZE
DEFAULT_SCHEMA_CACHE_SIZEpublic static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> SCHEMA_VERSION_CACHE_EXPIRY_INTERVAL_SECS
DEFAULT_SCHEMA_CACHE_EXPIRY_INTERVAL_SECSpublic static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> SCHEMA_METADATA_CACHE_SIZE
DEFAULT_SCHEMA_CACHE_SIZEpublic static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> SCHEMA_METADATA_CACHE_EXPIRY_INTERVAL_SECS
DEFAULT_SCHEMA_CACHE_EXPIRY_INTERVAL_SECSpublic static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> SCHEMA_TEXT_CACHE_SIZE
DEFAULT_SCHEMA_CACHE_SIZE.
This cache has ability to store/get entries with same schema name and schema text.public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.Number> SCHEMA_TEXT_CACHE_EXPIRY_INTERVAL_SECS
DEFAULT_SCHEMA_CACHE_EXPIRY_INTERVAL_SECSpublic static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> URL_SELECTOR_CLASS
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> SASL_JAAS_CONFIG
public static final int DEFAULT_CONNECTION_TIMEOUT
public static final int DEFAULT_READ_TIMEOUT
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> AUTH_USERNAME
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> AUTH_PASSWORD
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> HASH_FUNCTION
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> AUTH_TYPE
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> OAUTH_CLIENT_ID
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> OAUTH_CLIENT_SECRET
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> OAUTH_SERVER_URL
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> OAUTH_SCOPE
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> OAUTH_REQUEST_METHOD
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> CONNECTOR_PROVIDER
public static final com.hortonworks.registries.schemaregistry.ConfigEntry<java.lang.String> RETRY_POLICY