Class KafkaSerdeConfig
java.lang.Object
io.apicurio.registry.serde.kafka.config.KafkaSerdeConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBoolean to indicate whether serde classes should pass Global Id information via message headers instead of in the message payload.static final booleanstatic final StringUsed to override the Kafka message header name used to pass the artifactId for the message key.static final StringUsed to override the Kafka message header name used to pass the contentHash for the message key.static final StringUsed to override the Kafka message header name used to pass the contentId for the message key.static final StringUsed to override the Kafka message header name used to pass the globalId for the message key.static final StringUsed to override the Kafka message header name used to pass the groupId for the message key.static final StringUsed to override the Kafka message header name used to pass the message type for the message key.static final StringUsed to override the Kafka message header name used to pass the schema content for the message key.static final StringUsed to override the Kafka message header name used to pass the schema type for the message key.static final StringUsed to override the Kafka message header name used to pass the version for the message key.static final StringUsed to override the Kafka message header name used to pass the artifactId for the message value.static final StringUsed to override the Kafka message header name used to pass the contentHash for the message value.static final StringUsed to override the Kafka message header name used to pass the contentId for the message value.static final StringUsed to override the Kafka message header name used to pass the globalId for the message value.static final StringUsed to override the Kafka message header name used to pass the groupId for the message value.static final StringUsed to override the Kafka message header name used to pass the message type for the message value.static final StringUsed to override the Kafka message header name used to pass the schema content for the message value.static final StringUsed to override the Kafka message header name used to pass the schema type for the message value.static final StringUsed to override the Kafka message header name used to pass the version for the message value.static final StringFully qualified Java classname of a class that implementsHeadersHandlerand is responsible for writing the schema's Global ID to the message headers.static final Stringstatic final StringBoolean to indicate whether the serializer should read the schema from message headers instead of inferring it from the data.static final boolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENABLE_HEADERS
Boolean to indicate whether serde classes should pass Global Id information via message headers instead of in the message payload.- See Also:
-
ENABLE_HEADERS_DEFAULT
public static final boolean ENABLE_HEADERS_DEFAULT- See Also:
-
HEADERS_HANDLER
Fully qualified Java classname of a class that implementsHeadersHandlerand is responsible for writing the schema's Global ID to the message headers. Only used whenENABLE_HEADERSis 'true'.- See Also:
-
HEADERS_HANDLER_DEFAULT
-
HEADER_KEY_GROUP_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the groupId for the message key. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_GROUP_ID.- See Also:
-
HEADER_VALUE_GROUP_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the groupId for the message value. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_GROUP_ID.- See Also:
-
HEADER_KEY_ARTIFACT_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the artifactId for the message key. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_ARTIFACT_ID.- See Also:
-
HEADER_VALUE_ARTIFACT_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the artifactId for the message value. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_ARTIFACT_ID.- See Also:
-
HEADER_KEY_VERSION_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the version for the message key. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_VERSION.- See Also:
-
HEADER_VALUE_VERSION_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the version for the message value. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_VERSION.- See Also:
-
HEADER_KEY_GLOBAL_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the globalId for the message key. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_GLOBAL_ID.- See Also:
-
HEADER_VALUE_GLOBAL_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the globalId for the message value. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_GLOBAL_ID.- See Also:
-
HEADER_KEY_CONTENT_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the contentId for the message key. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_CONTENT_ID.- See Also:
-
HEADER_VALUE_CONTENT_ID_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the contentId for the message value. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_CONTENT_ID.- See Also:
-
HEADER_KEY_CONTENT_HASH_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the contentHash for the message key. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_CONTENT_HASH.- See Also:
-
HEADER_VALUE_CONTENT_HASH_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the contentHash for the message value. Only applicable whenENABLE_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_CONTENT_HASH.- See Also:
-
HEADER_KEY_MESSAGE_TYPE_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the message type for the message key. Only applicable whenENABLE_HEADERSis enabled. Only used by the JSON Schema serde classes. Default value isKafkaSerdeHeaders.HEADER_KEY_MESSAGE_TYPE.- See Also:
-
HEADER_VALUE_MESSAGE_TYPE_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the message type for the message value. Only applicable whenENABLE_HEADERSis enabled. Only used by the JSON Schema serde classes. Default value isKafkaSerdeHeaders.HEADER_VALUE_MESSAGE_TYPE.- See Also:
-
USE_SCHEMA_FROM_HEADERS
Boolean to indicate whether the serializer should read the schema from message headers instead of inferring it from the data. When enabled, the serializer will look for the schema content in the header specified byKafkaSerdeHeaders.HEADER_KEY_SCHEMAorKafkaSerdeHeaders.HEADER_VALUE_SCHEMA(depending on whether it's a key or value serializer). This allows producers to explicitly specify the schema to use for registration, which is useful when the data source knows the exact schema in advance (e.g., Apache Camel integration).- See Also:
-
USE_SCHEMA_FROM_HEADERS_DEFAULT
public static final boolean USE_SCHEMA_FROM_HEADERS_DEFAULT- See Also:
-
HEADER_KEY_SCHEMA_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the schema content for the message key. Only applicable whenUSE_SCHEMA_FROM_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_SCHEMA.- See Also:
-
HEADER_VALUE_SCHEMA_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the schema content for the message value. Only applicable whenUSE_SCHEMA_FROM_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_SCHEMA.- See Also:
-
HEADER_KEY_SCHEMA_TYPE_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the schema type for the message key. The schema type should match one of the artifact types (e.g., "AVRO", "PROTOBUF", "JSON"). Only applicable whenUSE_SCHEMA_FROM_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_KEY_SCHEMA_TYPE.- See Also:
-
HEADER_VALUE_SCHEMA_TYPE_OVERRIDE_NAME
Used to override the Kafka message header name used to pass the schema type for the message value. The schema type should match one of the artifact types (e.g., "AVRO", "PROTOBUF", "JSON"). Only applicable whenUSE_SCHEMA_FROM_HEADERSis enabled. Default value isKafkaSerdeHeaders.HEADER_VALUE_SCHEMA_TYPE.- See Also:
-
-
Constructor Details
-
KafkaSerdeConfig
public KafkaSerdeConfig()
-