Class SchemaRegistryContainerConfiguration


  • @Configuration
    @ConditionalOnProperty(value="embedded.kafka.schema-registry.enabled",
                           havingValue="true")
    @EnableConfigurationProperties(SchemaRegistryConfigurationProperties.class)
    public class SchemaRegistryContainerConfiguration
    extends Object
    • Constructor Detail

      • SchemaRegistryContainerConfiguration

        public SchemaRegistryContainerConfiguration()
    • Method Detail

      • schemaRegistry

        @Bean(name="schema-registry",
              destroyMethod="stop")
        public org.testcontainers.containers.GenericContainer schemaRegistry​(org.springframework.core.env.ConfigurableEnvironment environment,
                                                                             SchemaRegistryConfigurationProperties properties,
                                                                             @Value("${embedded.kafka.containerBrokerList}")
                                                                             String kafkaContainerBrokerList,
                                                                             org.testcontainers.containers.Network network)