Class AvroMessageConverterAutoConfiguration
java.lang.Object
org.springframework.cloud.stream.schema.registry.avro.AvroMessageConverterAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(name="org.apache.avro.Schema")
@ConditionalOnProperty(value="spring.cloud.stream.schemaRegistryClient.enabled",
matchIfMissing=true)
@ConditionalOnBean(SchemaRegistryClient.class)
@EnableConfigurationProperties(AvroMessageConverterProperties.class)
@Import(AvroSchemaServiceManagerImpl.class)
public class AvroMessageConverterAutoConfiguration
extends Object
- Author:
- Marius Bogoevici, Vinicius Carvalho, Sercan Karaoglu, Ish Mahajan, Christian Tzolov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavroSchemaMessageConverter1(SchemaRegistryClient schemaRegistryClient, AvroSchemaServiceManager avroSchemaServiceManager, AvroMessageConverterProperties avroMessageConverterProperties) org.springframework.cache.CacheManager
-
Constructor Details
-
AvroMessageConverterAutoConfiguration
public AvroMessageConverterAutoConfiguration()
-
-
Method Details
-
avroSchemaMessageConverter1
@Bean @ConditionalOnMissingBean(AvroSchemaRegistryClientMessageConverter.class) public AvroSchemaRegistryClientMessageConverter avroSchemaMessageConverter1(SchemaRegistryClient schemaRegistryClient, AvroSchemaServiceManager avroSchemaServiceManager, AvroMessageConverterProperties avroMessageConverterProperties) -
cacheManager
@Bean @ConditionalOnMissingBean public org.springframework.cache.CacheManager cacheManager()
-