Index

A B C D F G I K L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractDeserializer<T,U> - Class in io.apicurio.registry.serde
 
AbstractDeserializer() - Constructor for class io.apicurio.registry.serde.AbstractDeserializer
 
AbstractDeserializer(RegistryClientFacade) - Constructor for class io.apicurio.registry.serde.AbstractDeserializer
 
AbstractDeserializer(RegistryClientFacade, SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.AbstractDeserializer
 
AbstractDeserializer(RegistryClientFacade, ArtifactReferenceResolverStrategy<T, U>, SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.AbstractDeserializer
 
AbstractDeserializer(SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.AbstractDeserializer
 
AbstractSerializer<T,U> - Class in io.apicurio.registry.serde
 
AbstractSerializer() - Constructor for class io.apicurio.registry.serde.AbstractSerializer
 
AbstractSerializer(RegistryClientFacade) - Constructor for class io.apicurio.registry.serde.AbstractSerializer
 
AbstractSerializer(RegistryClientFacade, SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.AbstractSerializer
 
AbstractSerializer(RegistryClientFacade, ArtifactReferenceResolverStrategy<T, U>, SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.AbstractSerializer
 
AbstractSerializer(SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.AbstractSerializer
 
ARTIFACT_RESOLVER_STRATEGY_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Uses the ArtifactReference available for each record.
artifactId(String) - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 
artifactReference() - Method in class io.apicurio.registry.serde.data.SerdeMetadata
 
artifactReference(Record<Object>, ParsedSchema<T>) - Method in interface io.apicurio.registry.serde.strategy.ArtifactResolverStrategy
 
artifactReference(Record<Object>, ParsedSchema<T>) - Method in class io.apicurio.registry.serde.strategy.SimpleTopicIdStrategy
 
artifactReference(Record<Object>, ParsedSchema<T>) - Method in class io.apicurio.registry.serde.strategy.TopicIdStrategy
 
artifactReference(String, boolean, T) - Method in interface io.apicurio.registry.serde.strategy.ArtifactResolverStrategy
For a given topic and message, returns the ArtifactReference under which the message schemas are located or should be registered in the registry.
ArtifactReference - Class in io.apicurio.registry.serde.strategy
There is a new implementation of this class that can be found here ArtifactReferenceImpl and here ArtifactReference We keep this class for compatibilty This class holds the information that reference one Artifact in Apicurio Registry.
ArtifactReference.ArtifactReferenceBuilder - Class in io.apicurio.registry.serde.strategy
 
ArtifactResolverStrategy<T> - Interface in io.apicurio.registry.serde.strategy
There is a new interface responsible with the same responsibility as this one, can be found here ArtifactReferenceResolverStrategy The interface ArtifactResolverStrategy is kept for backwards compatibility A ArtifactResolverStrategy is used by the Kafka serializer/deserializer to determine the ArtifactReference under which the message schemas are located or should be registered in the registry.
available() - Method in class io.apicurio.registry.serde.utils.ByteBufferInputStream
Returns an estimate of the number of bytes that can be read from this input stream.

B

BaseSerde<T,U> - Class in io.apicurio.registry.serde
Base class for all classes that implement serialization/deserialization.
BaseSerde() - Constructor for class io.apicurio.registry.serde.BaseSerde
 
BaseSerde(RegistryClientFacade) - Constructor for class io.apicurio.registry.serde.BaseSerde
 
BaseSerde(RegistryClientFacade, SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.BaseSerde
 
BaseSerde(RegistryClientFacade, ArtifactReferenceResolverStrategy<T, U>, SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.BaseSerde
 
BaseSerde(SchemaResolver<T, U>) - Constructor for class io.apicurio.registry.serde.BaseSerde
 
BoundedCacheFactory - Class in io.apicurio.registry.serde.utils
Factory for creating bounded LRU (Least Recently Used) caches.
build() - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 
builder() - Static method in class io.apicurio.registry.serde.strategy.ArtifactReference
 
ByteBufferInputStream - Class in io.apicurio.registry.serde.utils
A byte buffer backed input stream that allows reading from a ByteBuffer without copying data.
ByteBufferInputStream(ByteBuffer) - Constructor for class io.apicurio.registry.serde.utils.ByteBufferInputStream
Creates a new ByteBufferInputStream that reads from the given buffer.

C

close() - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
close() - Method in class io.apicurio.registry.serde.AbstractSerializer
 
close() - Method in class io.apicurio.registry.serde.BaseSerde
 
configure(SerdeConfig, boolean) - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
configure(SerdeConfig, boolean) - Method in class io.apicurio.registry.serde.AbstractSerializer
 
configure(SerdeConfig, boolean, SchemaParser<T, U>) - Method in class io.apicurio.registry.serde.BaseSerde
 
configure(Map<String, Object>, boolean) - Method in class io.apicurio.registry.serde.Default4ByteIdHandler
 
configure(Map<String, Object>, boolean) - Method in class io.apicurio.registry.serde.fallback.DefaultFallbackArtifactProvider
 
configure(Map<String, Object>, boolean) - Method in interface io.apicurio.registry.serde.fallback.FallbackArtifactProvider
 
configure(Map<String, Object>, boolean) - Method in interface io.apicurio.registry.serde.IdHandler
 
configure(Map<String, Object>, boolean) - Method in class io.apicurio.registry.serde.Legacy8ByteIdHandler
 
contentHash(String) - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 
contentId - Enum constant in enum class io.apicurio.registry.serde.config.IdOption
 
contentId(Long) - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 
CONTRACT_RULES_CACHE_TTL_SECONDS - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
TTL in seconds for the cached contract ruleset.
CONTRACT_RULES_CACHE_TTL_SECONDS_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
CONTRACT_RULES_ENABLED - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable or disable contract rule execution during serialization/deserialization.
CONTRACT_RULES_ENABLED_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
CONTRACT_RULES_FAIL_ON_ERROR - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to control whether contract rule failures cause serialization/deserialization to fail.
CONTRACT_RULES_FAIL_ON_ERROR_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
CONTRACT_RULES_MIGRATION_ENABLED - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable inline schema migration during deserialization.
CONTRACT_RULES_MIGRATION_ENABLED_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
CONTRACT_RULES_MIGRATION_TARGET_VERSION - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
The target schema version for migration.
createLRU(int) - Static method in class io.apicurio.registry.serde.utils.BoundedCacheFactory
Creates a thread-safe bounded LRU cache.

D

Default4ByteIdHandler - Class in io.apicurio.registry.serde
IdHandler that assumes 4 bytes for the magic number (the ID).
Default4ByteIdHandler() - Constructor for class io.apicurio.registry.serde.Default4ByteIdHandler
 
DefaultFallbackArtifactProvider - Class in io.apicurio.registry.serde.fallback
Default implementation of FallbackArtifactProvider that simply uses config properties
DefaultFallbackArtifactProvider() - Constructor for class io.apicurio.registry.serde.fallback.DefaultFallbackArtifactProvider
 
deserializeData(String, byte[]) - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
DESERIALIZER_SPECIFIC_KEY_RETURN_CLASS - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Fully qualified Java classname of a class that will be used as the return type for the deserializer.
DESERIALIZER_SPECIFIC_VALUE_RETURN_CLASS - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Fully qualified Java classname of a class that will be used as the return type for the deserializer.

F

FALLBACK_ARTIFACT_GROUP_ID - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Only applicable for deserializers Optional, set explicitly the groupId used as fallback for resolving the artifact used for deserialization.
FALLBACK_ARTIFACT_ID - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Only applicable for deserializers Optional, set explicitly the artifactId used as fallback for resolving the artifact used for deserialization.
FALLBACK_ARTIFACT_PROVIDER - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Only applicable for deserializers Optional, allows to set a custom implementation of FallbackArtifactProvider , for resolving the artifact used for deserialization.
FALLBACK_ARTIFACT_PROVIDER_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
FALLBACK_ARTIFACT_VERSION - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Only applicable for deserializers Optional, set explicitly the version used as fallback for resolving the artifact used for deserialization.
FallbackArtifactProvider - Interface in io.apicurio.registry.serde.fallback
Interface for providing a fallback ArtifactReference when the SchemaResolver is not able to find an ArtifactReference in the kafka message
fromGlobalId(Long) - Static method in class io.apicurio.registry.serde.strategy.ArtifactReference
 

G

get(String, byte[]) - Method in class io.apicurio.registry.serde.fallback.DefaultFallbackArtifactProvider
 
get(String, byte[]) - Method in interface io.apicurio.registry.serde.fallback.FallbackArtifactProvider
Returns an ArtifactReference that will be used as the fallback to search in the registry for the artifact that will be used to deserialize the kafka message
getByteBuffer(byte[]) - Static method in class io.apicurio.registry.serde.BaseSerde
 
getClientFacade() - Method in class io.apicurio.registry.serde.BaseSerde
 
getDefaults() - Method in class io.apicurio.registry.serde.config.SerdeConfig
 
getDefaults() - Method in class io.apicurio.registry.serde.config.SerdeDeserializerConfig
 
getFallbackArtifactProvider() - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
getFallbackArtifactProvider() - Method in class io.apicurio.registry.serde.config.SerdeDeserializerConfig
 
getIdHandler() - Method in class io.apicurio.registry.serde.BaseSerde
 
getIdHandler() - Method in class io.apicurio.registry.serde.config.SerdeConfig
 
getSchemaCacheKey(U) - Method in class io.apicurio.registry.serde.AbstractSerializer
Gets a cache key for the schema associated with this data.
getSchemaResolver() - Method in class io.apicurio.registry.serde.BaseSerde
 
getSerdeConfigurer() - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
getSerdeConfigurer() - Method in class io.apicurio.registry.serde.AbstractSerializer
 
getTopic() - Method in class io.apicurio.registry.serde.data.SerdeMetadata
 
globalId - Enum constant in enum class io.apicurio.registry.serde.config.IdOption
 
globalId(Long) - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 
groupId(String) - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 

I

ID_HANDLER - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Fully qualified Java classname of a class that implements IdHandler and is responsible for writing the schema's Global ID to the message payload.
ID_HANDLER_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
idHandler - Variable in class io.apicurio.registry.serde.BaseSerde
 
IdHandler - Interface in io.apicurio.registry.serde
Handle artifact id in the msg bytes.
idOption - Variable in class io.apicurio.registry.serde.Default4ByteIdHandler
 
IdOption - Enum Class in io.apicurio.registry.serde.config
 
idSize() - Method in class io.apicurio.registry.serde.Default4ByteIdHandler
 
idSize() - Method in interface io.apicurio.registry.serde.IdHandler
 
idSize() - Method in class io.apicurio.registry.serde.Legacy8ByteIdHandler
 
idSize(ArtifactReference, ByteBuffer) - Method in interface io.apicurio.registry.serde.IdHandler
 
idSize(ArtifactReference, ByteBuffer) - Method in class io.apicurio.registry.serde.OptimisticFallbackIdHandler
 
io.apicurio.registry.serde - package io.apicurio.registry.serde
 
io.apicurio.registry.serde.config - package io.apicurio.registry.serde.config
 
io.apicurio.registry.serde.data - package io.apicurio.registry.serde.data
 
io.apicurio.registry.serde.fallback - package io.apicurio.registry.serde.fallback
 
io.apicurio.registry.serde.strategy - package io.apicurio.registry.serde.strategy
 
io.apicurio.registry.serde.utils - package io.apicurio.registry.serde.utils
 
IS_KEY - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Property used internally to mark that a component is being configured for a kafka message key.
isConfigured() - Method in class io.apicurio.registry.serde.fallback.DefaultFallbackArtifactProvider
 
isKey() - Method in class io.apicurio.registry.serde.BaseSerde
 
isKey() - Method in class io.apicurio.registry.serde.data.SerdeMetadata
 

K

key - Variable in class io.apicurio.registry.serde.BaseSerde
 

L

Legacy8ByteIdHandler - Class in io.apicurio.registry.serde
 
Legacy8ByteIdHandler() - Constructor for class io.apicurio.registry.serde.Legacy8ByteIdHandler
 
loadSchema() - Method in class io.apicurio.registry.serde.strategy.SimpleTopicIdStrategy
 
loadSchema() - Method in class io.apicurio.registry.serde.strategy.TopicIdStrategy
 
log - Variable in class io.apicurio.registry.serde.BaseSerde
 

M

MAGIC_BYTE - Static variable in class io.apicurio.registry.serde.BaseSerde
 
metadata() - Method in class io.apicurio.registry.serde.data.SerdeRecord
 

O

OptimisticFallbackIdHandler - Class in io.apicurio.registry.serde
IdHandler that tries to read a 4-byte ID, but if it sees all zeros in those 4 bytes, it assumes it was actually an 8-byte ID and reads the full 8 bytes.
OptimisticFallbackIdHandler() - Constructor for class io.apicurio.registry.serde.OptimisticFallbackIdHandler
 

P

payload() - Method in class io.apicurio.registry.serde.data.SerdeRecord
 

R

read() - Method in class io.apicurio.registry.serde.utils.ByteBufferInputStream
Reads the next byte of data from the input stream.
read(byte[], int, int) - Method in class io.apicurio.registry.serde.utils.ByteBufferInputStream
Reads up to len bytes of data from the input stream into an array of bytes.
READ_INDEXES - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable or disable reading the protobuf schema message indexes when reading the proto message as a payload.
READ_INDEXES_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
READ_TYPE_REF - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable or disable reading the type ref (either in message headers or payload) when deserializing a Protobuf message.
READ_TYPE_REF_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
readData(ParsedSchema<T>, ByteBuffer, int, int) - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
readData(String, byte[], ArtifactReference) - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
readId(ByteBuffer) - Method in class io.apicurio.registry.serde.Default4ByteIdHandler
 
readId(ByteBuffer) - Method in interface io.apicurio.registry.serde.IdHandler
 
readId(ByteBuffer) - Method in class io.apicurio.registry.serde.Legacy8ByteIdHandler
 
readId(ByteBuffer) - Method in class io.apicurio.registry.serde.OptimisticFallbackIdHandler
 
reset() - Method in class io.apicurio.registry.serde.BaseSerde
 
resolve(String, byte[], ArtifactReference) - Method in class io.apicurio.registry.serde.AbstractDeserializer
 

S

SCHEMA_RESOLVER - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Fully qualified Java classname of a class that implements SchemaResolver.
SCHEMA_RESOLVER_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
schemaParser() - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
schemaParser() - Method in class io.apicurio.registry.serde.AbstractSerializer
 
SEND_INDEXES - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable or disable sending the protobuf schema message indexes when writing the proto message as a payload.
SEND_INDEXES_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
SEND_TYPE_REF - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable or disable sending the type ref (either in message headers or payload) when serializing a Protobuf message.
SEND_TYPE_REF_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
SerdeConfig - Class in io.apicurio.registry.serde.config
Contains all of the Serde configuration properties.
SerdeConfig() - Constructor for class io.apicurio.registry.serde.config.SerdeConfig
 
SerdeConfig(Map<String, ?>) - Constructor for class io.apicurio.registry.serde.config.SerdeConfig
 
SerdeDeserializerConfig - Class in io.apicurio.registry.serde.config
 
SerdeDeserializerConfig(Map<String, ?>) - Constructor for class io.apicurio.registry.serde.config.SerdeDeserializerConfig
 
SerdeMetadata - Class in io.apicurio.registry.serde.data
Kafka specific implementation for the Record Metadata abstraction used by the SchemaResolver
SerdeMetadata(String, boolean) - Constructor for class io.apicurio.registry.serde.data.SerdeMetadata
 
SerdeRecord<T> - Class in io.apicurio.registry.serde.data
 
SerdeRecord(SerdeMetadata, T) - Constructor for class io.apicurio.registry.serde.data.SerdeRecord
 
serializeData(ParsedSchema<T>, U, OutputStream) - Method in class io.apicurio.registry.serde.AbstractSerializer
 
serializeData(String, U) - Method in class io.apicurio.registry.serde.AbstractSerializer
 
setFallbackArtifactProvider(FallbackArtifactProvider) - Method in class io.apicurio.registry.serde.AbstractDeserializer
 
setIdHandler(IdHandler) - Method in class io.apicurio.registry.serde.BaseSerde
 
setSchemaResolver(SchemaResolver<T, U>) - Method in class io.apicurio.registry.serde.BaseSerde
 
SimpleTopicIdStrategy<T> - Class in io.apicurio.registry.serde.strategy
 
SimpleTopicIdStrategy() - Constructor for class io.apicurio.registry.serde.strategy.SimpleTopicIdStrategy
 
skip(long) - Method in class io.apicurio.registry.serde.utils.ByteBufferInputStream
Skips over and discards n bytes of data from this input stream.

T

TopicIdStrategy<T> - Class in io.apicurio.registry.serde.strategy
 
TopicIdStrategy() - Constructor for class io.apicurio.registry.serde.strategy.TopicIdStrategy
 

U

USE_ID - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Configures the serdes to use the specified IdOption as the identifier for the artifacts.
USE_ID_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
useIdOption() - Method in class io.apicurio.registry.serde.config.SerdeConfig
 

V

VALIDATION_ENABLED - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
Boolean used to enable or disable validation.
VALIDATION_ENABLED_DEFAULT - Static variable in class io.apicurio.registry.serde.config.SerdeConfig
 
valueOf(String) - Static method in enum class io.apicurio.registry.serde.config.IdOption
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.apicurio.registry.serde.config.IdOption
Returns an array containing the constants of this enum class, in the order they are declared.
version(String) - Method in class io.apicurio.registry.serde.strategy.ArtifactReference.ArtifactReferenceBuilder
 

W

writeId(ArtifactReference, OutputStream) - Method in class io.apicurio.registry.serde.Default4ByteIdHandler
 
writeId(ArtifactReference, OutputStream) - Method in interface io.apicurio.registry.serde.IdHandler
 
writeId(ArtifactReference, OutputStream) - Method in class io.apicurio.registry.serde.Legacy8ByteIdHandler
 
writeId(ArtifactReference, ByteBuffer) - Method in class io.apicurio.registry.serde.Default4ByteIdHandler
 
writeId(ArtifactReference, ByteBuffer) - Method in interface io.apicurio.registry.serde.IdHandler
 
writeId(ArtifactReference, ByteBuffer) - Method in class io.apicurio.registry.serde.Legacy8ByteIdHandler
 
A B C D F G I K L M O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values