in java/avro-converter/src/main/java/com/microsoft/azure/schemaregistry/kafka/connect/avro/AvroConverterConfig.java [108:113]
public TokenCredential getCredential() {
if (!this.getProps().containsKey(SCHEMA_REGISTRY_CREDENTIAL_CONFIG)) {
throw new SchemaRegistryApacheAvroException("Token credential for schema registry not found.");
}
return (TokenCredential) this.props.get(SCHEMA_REGISTRY_CREDENTIAL_CONFIG);
}