Class SchemaRegistryConfig.PropertyNames
Configuration property names specific to the schema registry client.
Inherited Members
Namespace: Confluent.SchemaRegistry
Assembly: Confluent.SchemaRegistry.dll
Syntax
public static class SchemaRegistryConfig.PropertyNames
Fields
EnableSslCertificateVerification
Enable SSL verification. Disabling SSL verification is insecure and should only be done for reasons
of convenience in test/dev environments.
default: true
Declaration
public const string EnableSslCertificateVerification = "schema.registry.enable.ssl.certificate.verification"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryBasicAuthCredentialsSource
Specifies the configuration property(ies) that provide the basic authentication credentials.
USER_INFO: Credentials are specified via the schema.registry.basic.auth.user.info
config property in the form username:password.
If schema.registry.basic.auth.user.info
is not set, authentication is disabled.
SASL_INHERIT: Credentials are specified via the sasl.username
and sasl.password
configuration properties.
default: USER_INFO
Declaration
public const string SchemaRegistryBasicAuthCredentialsSource = "schema.registry.basic.auth.credentials.source"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryBasicAuthUserInfo
Basic auth credentials in the form {username}:{password}.
default: "" (no authentication).
Declaration
public const string SchemaRegistryBasicAuthUserInfo = "schema.registry.basic.auth.user.info"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryKeySubjectNameStrategy
Key subject name strategy.
Declaration
[Obsolete("Subject name strategies should now be configured using the serializer's configuration. In the future, this configuration property will be removed from SchemaRegistryConfig")]
public const string SchemaRegistryKeySubjectNameStrategy = "schema.registry.key.subject.name.strategy"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryLatestCacheTtlSecs
Specifies the TTL for caches holding latest schemas, or -1 for no TTL.
default: -1
Declaration
public const string SchemaRegistryLatestCacheTtlSecs = "schema.registry.latest.cache.ttl.secs"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryMaxCachedSchemas
Specifies the maximum number of schemas CachedSchemaRegistryClient should cache locally.
default: 1000
Declaration
public const string SchemaRegistryMaxCachedSchemas = "schema.registry.max.cached.schemas"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryRequestTimeoutMs
Specifies the timeout for requests to Confluent Schema Registry.
default: 30000
Declaration
public const string SchemaRegistryRequestTimeoutMs = "schema.registry.request.timeout.ms"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryUrl
A comma-separated list of URLs for schema registry instances that are used to register or lookup schemas.
Declaration
public const string SchemaRegistryUrl = "schema.registry.url"
Field Value
Type | Description |
---|---|
string |
SchemaRegistryValueSubjectNameStrategy
Value subject name strategy.
Declaration
[Obsolete("Subject name strategies should now be configured using the serializer's configuration. In the future, this configuration property will be removed from SchemaRegistryConfig")]
public const string SchemaRegistryValueSubjectNameStrategy = "schema.registry.value.subject.name.strategy"
Field Value
Type | Description |
---|---|
string |
SslCaLocation
File path to CA certificate(s) for verifying the Schema Registry's key. System CA certs will be used if not specified.
Declaration
public const string SslCaLocation = "schema.registry.ssl.ca.location"
Field Value
Type | Description |
---|---|
string |
SslKeystoreLocation
SSL keystore (PKCS#12) location.
Declaration
public const string SslKeystoreLocation = "schema.registry.ssl.keystore.location"
Field Value
Type | Description |
---|---|
string |
SslKeystorePassword
SSL keystore (PKCS#12) password.
Declaration
public const string SslKeystorePassword = "schema.registry.ssl.keystore.password"
Field Value
Type | Description |
---|---|
string |