public class SchemaRegistryConfigProvider extends Object implements org.apache.kafka.common.config.provider.ConfigProvider
ConfigProvider that obtains configs from metadata in schema
registry.| Constructor and Description |
|---|
SchemaRegistryConfigProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,?> configs) |
org.apache.kafka.common.config.ConfigData |
get(String path)
Retrieves the data from schema registry at the given path.
|
org.apache.kafka.common.config.ConfigData |
get(String path,
Set<String> keys)
Retrieves the data with the given keys at the given path.
|
Map<String,String> |
getData(String path) |
public void configure(Map<String,?> configs)
configure in interface org.apache.kafka.common.Configurablepublic org.apache.kafka.common.config.ConfigData get(String path)
get in interface org.apache.kafka.common.config.provider.ConfigProviderpath - the path where the data residespublic org.apache.kafka.common.config.ConfigData get(String path, Set<String> keys)
get in interface org.apache.kafka.common.config.provider.ConfigProviderpath - the path where the data resideskeys - the keys whose values will be retrievedpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2025 Confluent, Inc.. All rights reserved.