Class SchemaRegistryContainerConfiguration
- java.lang.Object
-
- com.playtika.test.kafka.configuration.SchemaRegistryContainerConfiguration
-
@Configuration @ConditionalOnProperty(value="embedded.kafka.schema-registry.enabled", havingValue="true") @EnableConfigurationProperties(SchemaRegistryConfigurationProperties.class) public class SchemaRegistryContainerConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringSCHEMA_REGISTRY_HOST_NAME
-
Constructor Summary
Constructors Constructor Description SchemaRegistryContainerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.testcontainers.containers.GenericContainerschemaRegistry(org.springframework.core.env.ConfigurableEnvironment environment, SchemaRegistryConfigurationProperties properties, String kafkaContainerBrokerList, org.testcontainers.containers.Network network)
-
-
-
Field Detail
-
SCHEMA_REGISTRY_HOST_NAME
public static final String SCHEMA_REGISTRY_HOST_NAME
- See Also:
- Constant Field Values
-
-
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)
-
-