Configures the Schema Registry client.
Configures the Schema Registry client. When invoked, it expects at least SchemaManager.PARAM_SCHEMA_REGISTRY_URL to be set.
Retrieves an Avro Schema instance from a given subject and stored with a given id.
Retrieves an Avro Schema instance from a given subject and stored with a given id. It will return None if the Schema Registry client is not configured.
Retrieves the id corresponding to the latest schema available in Schema Registry.
Confluent's Schema Registry supports schemas for Kafka keys and values.
Confluent's Schema Registry supports schemas for Kafka keys and values. What makes them different is simply the what is appended to the schema name, either '-key' or '-value'.
This method returns the subject name based on the topic and to which part of the message it corresponds.
Checks if SchemaRegistry has been configured, i.e.
Checks if SchemaRegistry has been configured, i.e. if it is null
Registers a schema into a given subject, returning the id the registration received.
Registers a schema into a given subject, returning the id the registration received.
Afterwards the schema can be identified by this id.
Resets this manager to its initial state, before being configured.
This class uses CachedSchemaRegistryClient by default.
This class uses CachedSchemaRegistryClient by default. This method can override the default.
The incoming instance MUST be already configured.
Useful for tests using mocked SchemaRegistryClient instances.
This object provides methods to integrate with remote schemas through Schema Registry.
This can be considered an "enriched" facade to the Schema Registry client.
This is NOT THREAD SAFE, which means that multiple threads operating on this object (e.g. calling 'configureSchemaRegistry' with different parameters) would operated on the same Schema Registry client, thus, leading to inconsistent behavior.