confluent-kafka-dotnet
Show / Hide Table of Contents

Class SchemaRegistryConfig.PropertyNames

Configuration property names specific to the schema registry client.

Inheritance
object
SchemaRegistryConfig.PropertyNames
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

SchemaRegistryBearerAuthClientId

Specifies the client ID for the bearer authentication credentials.

Declaration
public const string SchemaRegistryBearerAuthClientId = "schema.registry.bearer.auth.client.id"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthClientSecret

Specifies the client secret for the bearer authentication credentials.

Declaration
public const string SchemaRegistryBearerAuthClientSecret = "schema.registry.bearer.auth.client.secret"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthCredentialsSource

Specifies the configuration property(ies) that provide the bearer authentication credentials. STATIC_TOKEN: Credentials are specified via the schema.registry.bearer.auth.token config property. OAUTHBEARER: Credentials are specified via the schema.registry.oauthbearer.auth.credentials.source config property. CUSTOM: User provides a custom implementation of IAuthenticationHeaderValueProvider.

Declaration
public const string SchemaRegistryBearerAuthCredentialsSource = "schema.registry.bearer.auth.credentials.source"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthIdentityPoolId

Specifies the identity pool for the bearer authentication credentials.

Declaration
public const string SchemaRegistryBearerAuthIdentityPoolId = "schema.registry.bearer.auth.identity.pool.id"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthLogicalCluster

Specifies the logical cluster for the bearer authentication credentials.

Declaration
public const string SchemaRegistryBearerAuthLogicalCluster = "schema.registry.bearer.auth.logical.cluster"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthScope

Specifies the scope for the bearer authentication credentials.

Declaration
public const string SchemaRegistryBearerAuthScope = "schema.registry.bearer.auth.scope"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthToken

Specifies the bearer authentication token.

Declaration
public const string SchemaRegistryBearerAuthToken = "schema.registry.bearer.auth.token"
Field Value
TypeDescription
string

SchemaRegistryBearerAuthTokenEndpointUrl

Specifies the token endpoint for the bearer authentication credentials.

Declaration
public const string SchemaRegistryBearerAuthTokenEndpointUrl = "schema.registry.bearer.auth.token.endpoint.url"
Field Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

SchemaRegistryMaxConnectionsPerServer

Specifies the maximum number of connections per server.

default: 20

Declaration
public const string SchemaRegistryMaxConnectionsPerServer = "schema.registry.connections.max.per.server"
Field Value
TypeDescription
string

SchemaRegistryMaxRetries

Specifies the maximum number of retries for a request.

default: 3

Declaration
public const string SchemaRegistryMaxRetries = "schema.registry.max.retries"
Field Value
TypeDescription
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
TypeDescription
string

SchemaRegistryRetriesMaxWaitMs

Specifies the maximum time to wait any retry.

default: 20000

Declaration
public const string SchemaRegistryRetriesMaxWaitMs = "schema.registry.retries.max.wait.ms"
Field Value
TypeDescription
string

SchemaRegistryRetriesWaitMs

Specifies the maximum time to wait for the first retry. When jitter is applied, the actual wait may be less.

default: 1000

Declaration
public const string SchemaRegistryRetriesWaitMs = "schema.registry.retries.wait.ms"
Field Value
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
string

SslKeystoreLocation

SSL keystore (PKCS#12) location.

Declaration
public const string SslKeystoreLocation = "schema.registry.ssl.keystore.location"
Field Value
TypeDescription
string

SslKeystorePassword

SSL keystore (PKCS#12) password.

Declaration
public const string SslKeystorePassword = "schema.registry.ssl.keystore.password"
Field Value
TypeDescription
string
In this article