public class SchemaRegistryConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BEHAVIOR_PERMISSIVE
A value for the
PROPERTY_BEHAVIOR_TYPE property to specify that the
deserializer should return null for records that cannot be deserialized. |
static String |
BEHAVIOR_STRICT
A value for the
PROPERTY_BEHAVIOR_TYPE property to specify that the
deserializer should throw an exception for records that cannot be deserialized. |
static String |
ENCODING_BINARY
A value for the
PROPERTY_ENCODING_TYPE property to indicate that serialized
messages should be binary encoded. |
static String |
ENCODING_JSON
A value for the
PROPERTY_ENCODING_TYPE property to indicate that serialized
messages should be JSON encoded. |
static String |
HEADER_SCHEMA_ENCODING
Used in message headers to identify the encoding for a message.
|
static String |
HEADER_SCHEMA_ID
Used in message headers to identify the UUID for the schema
in use for the message.
|
static String |
HEADER_SCHEMA_VERSION
Used in message headers to identify the version number for the
schema in use for the message.
|
static String |
PROPERTY_API_SKIP_SSL_VALIDATION
Used in Consumer and Producer configuration properties to specify whether
SSL validation should be skipped when accessing the Schema Registry REST API.
|
static String |
PROPERTY_API_URL
Used in Consumer and Producer configuration properties to specify the
location of the Schema Registry REST API.
|
static String |
PROPERTY_BEHAVIOR_TYPE
Used in Consumer configuration properties to control how the
deserializer should handle records that cannot be deserialized.
|
static String |
PROPERTY_ENCODING_TYPE
Used in Consumer and Producer configuration properties to specify whether
serialized messages should be JSON or binary encoded.
|
static String |
PROPERTY_OUTPUT_GENERIC
Used in Consumer configuration properties to specify whether
to always return the consumer record value as a generic record.
|
static String |
PROPERTY_SCHEMA_CACHE_REFRESH_RATE
Used in Producer/Consumer configuration properties to specify the refresh rate of cached schemas.
|
static String |
PROPERTY_SCHEMA_ID_OVERRIDE
Used in Producer and Stream configuration to override the schema id header in the message if applicable.
|
static String |
PROPERTY_SCHEMA_VERSION_OVERRIDE
Used in Producer and Stream configuration to override the schema version header in the message if applicable.
|
Constructor and Description |
---|
SchemaRegistryConfig() |
public static final String PROPERTY_API_URL
public static final String PROPERTY_API_SKIP_SSL_VALIDATION
public static final String PROPERTY_OUTPUT_GENERIC
public static final String PROPERTY_SCHEMA_CACHE_REFRESH_RATE
public static final String PROPERTY_SCHEMA_ID_OVERRIDE
public static final String PROPERTY_SCHEMA_VERSION_OVERRIDE
public static final String PROPERTY_BEHAVIOR_TYPE
BEHAVIOR_STRICT
behavior
(which is that an exception will be thrown for records that are not
deserializable).public static final String BEHAVIOR_STRICT
PROPERTY_BEHAVIOR_TYPE
property to specify that the
deserializer should throw an exception for records that cannot be deserialized.public static final String BEHAVIOR_PERMISSIVE
PROPERTY_BEHAVIOR_TYPE
property to specify that the
deserializer should return null for records that cannot be deserialized.public static final String PROPERTY_ENCODING_TYPE
ENCODING_BINARY
binary encoded.public static final String ENCODING_JSON
PROPERTY_ENCODING_TYPE
property to indicate that serialized
messages should be JSON encoded.public static final String ENCODING_BINARY
PROPERTY_ENCODING_TYPE
property to indicate that serialized
messages should be binary encoded.public static final String HEADER_SCHEMA_ID
public static final String HEADER_SCHEMA_VERSION
public static final String HEADER_SCHEMA_ENCODING
Copyright © 2019. All rights reserved.