public class ConfluentKafkaConnectContainer extends ConfluentKafkaContainer<ConfluentKafkaConnectContainer>
| Constructor and Description |
|---|
ConfluentKafkaConnectContainer() |
ConfluentKafkaConnectContainer(String confluentVersion) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRestAppServers()
Get the url of the rest api.
|
void |
start()
Start all containers.
|
void |
stop()
Destroy all containers.
|
ConfluentKafkaConnectContainer |
withConfigStorageTopic(String topic)
Set the topic's name for the offsets storage topic.
|
ConfluentKafkaConnectContainer |
withGroupId(String groupId)
Set the group id.
|
ConfluentKafkaConnectContainer |
withKafkaConnectCertificates(Certificates certificates) |
ConfluentKafkaConnectContainer |
withKeyConverter(String keyConverter)
Set the key converter.
|
ConfluentKafkaConnectContainer |
withOffsetStorageFilename(String storageFilename)
Set the storage file name.
|
ConfluentKafkaConnectContainer |
withOffsetStoragePartition(Integer partitions)
Set the number of partitions for the offsets storage topic.
|
ConfluentKafkaConnectContainer |
withOffsetStorageTopic(String topic)
Set the topic's name for the offsets storage topic.
|
ConfluentKafkaConnectContainer |
withPlugins(String plugins)
Set the plugins directory
|
ConfluentKafkaConnectContainer |
withRegisterSpringbootProperties(boolean registerProperties)
Register the spring boot properties.
|
ConfluentKafkaConnectContainer |
withRestAppSystemProperty(String restAppSystemProperty)
Set the property 's name for schema registry url.
|
ConfluentKafkaConnectContainer |
withStatusStoragePartition(Integer partitions)
Set the number of partitions for the status storage topic.
|
ConfluentKafkaConnectContainer |
withStatusStorageTopic(String topic)
Set the topic's name for the status storage topic.
|
ConfluentKafkaConnectContainer |
withValueConverter(String valueConverter)
Set the value converter.
|
after, afterPropertiesSet, before, destroy, getBootstrapServers, getKafkaClientCertificates, getKafkaServerCertificates, getSchemaRegistryServers, getZookeeperConnect, getZookeeperServer, isRunning, isSecured, self, withAcls, withAcls, withAcls, withAcls, withAllAcls, withAllAcls, withBrokerServersSystemProperty, withDescribeAcls, withDescribeAcls, withFormatMessageVersion, withIdentificationAlgorithmSystemProperty, withKafkaClientCertificates, withKafkaServerCertificates, withKeyPasswordSystemProperty, withKeystoreLocationSystemProperty, withKeystorePasswordSystemProperty, withNetwork, withReadAcls, withReadAcls, withSchemaRegistry, withSchemaRegistrySystemProperty, withSecurityProtocolSystemProperty, withTopic, withTopic, withTruststoreLocationSystemProperty, withTruststorePasswordSystemProperty, withWriteAcls, withWriteAclspublic ConfluentKafkaConnectContainer()
public ConfluentKafkaConnectContainer(String confluentVersion)
confluentVersion - public void start()
start in interface org.testcontainers.lifecycle.Startablestart in class ConfluentKafkaContainer<ConfluentKafkaConnectContainer>public void stop()
stop in interface org.testcontainers.lifecycle.Startablestop in class ConfluentKafkaContainer<ConfluentKafkaConnectContainer>public ConfluentKafkaConnectContainer withRegisterSpringbootProperties(boolean registerProperties)
withRegisterSpringbootProperties in interface ConfluentContainer<ConfluentKafkaConnectContainer>withRegisterSpringbootProperties in class ConfluentKafkaContainer<ConfluentKafkaConnectContainer>registerProperties - public ConfluentKafkaConnectContainer withKafkaConnectCertificates(Certificates certificates)
certificates - public String getRestAppServers()
public ConfluentKafkaConnectContainer withGroupId(String groupId)
groupId - public ConfluentKafkaConnectContainer withConfigStorageTopic(String topic)
topic - public ConfluentKafkaConnectContainer withOffsetStorageTopic(String topic)
topic - public ConfluentKafkaConnectContainer withOffsetStoragePartition(Integer partitions)
partitions - public ConfluentKafkaConnectContainer withStatusStorageTopic(String topic)
topic - public ConfluentKafkaConnectContainer withStatusStoragePartition(Integer partitions)
partitions - public ConfluentKafkaConnectContainer withOffsetStorageFilename(String storageFilename)
storageFilename - public ConfluentKafkaConnectContainer withKeyConverter(String keyConverter)
keyConverter - public ConfluentKafkaConnectContainer withValueConverter(String valueConverter)
valueConverter - public ConfluentKafkaConnectContainer withPlugins(String plugins)
plugins - public ConfluentKafkaConnectContainer withRestAppSystemProperty(String restAppSystemProperty)
restAppSystemProperty - Copyright © 2019. All rights reserved.