@Configuration
@ConditionalOnProperty(value="embedded.kafka.schema-registry.enabled",
havingValue="true")
@EnableConfigurationProperties(value=SchemaRegistryConfigurationProperties.class)
public class SchemaRegistryContainerConfiguration
extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEMA_REGISTRY_HOST_NAME |
| Constructor and Description |
|---|
SchemaRegistryContainerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
schemaRegistry(org.springframework.core.env.ConfigurableEnvironment environment,
SchemaRegistryConfigurationProperties properties,
String kafkaContainerBrokerList,
org.testcontainers.containers.Network network) |
public static final String SCHEMA_REGISTRY_HOST_NAME
public SchemaRegistryContainerConfiguration()
@Bean(name="schema-registry",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer schemaRegistry(org.springframework.core.env.ConfigurableEnvironment environment,
SchemaRegistryConfigurationProperties properties,
@Value(value="${embedded.kafka.containerBrokerList}")
String kafkaContainerBrokerList,
org.testcontainers.containers.Network network)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.