Class SchemaRegistryContainerConfiguration
java.lang.Object
com.playtika.testcontainer.kafka.configuration.SchemaRegistryContainerConfiguration
@Configuration
@ConditionalOnProperty(value="embedded.kafka.schema-registry.enabled",
havingValue="true")
@EnableConfigurationProperties(SchemaRegistryConfigurationProperties.class)
public class SchemaRegistryContainerConfiguration
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.testcontainers.containers.GenericContainer<?>schemaRegistry(org.springframework.core.env.ConfigurableEnvironment environment, SchemaRegistryConfigurationProperties properties, String kafkaContainerBrokerList, org.testcontainers.containers.Network network)
-
Field Details
-
SCHEMA_REGISTRY_HOST_NAME
- See Also:
-
-
Constructor Details
-
SchemaRegistryContainerConfiguration
public SchemaRegistryContainerConfiguration()
-
-
Method Details
-
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)
-