Class AbstractKafkaClient.Builder<SELF extends AbstractKafkaClient.Builder<SELF>>
- java.lang.Object
-
- io.strimzi.systemtest.kafkaclients.AbstractKafkaClient.Builder<SELF>
-
- Direct Known Subclasses:
BasicExternalKafkaClient.Builder
,InternalKafkaClient.Builder
,OauthExternalKafkaClient.Builder
,TracingExternalKafkaClient.Builder
- Enclosing class:
- AbstractKafkaClient<C extends AbstractKafkaClient.Builder<C>>
public abstract static class AbstractKafkaClient.Builder<SELF extends AbstractKafkaClient.Builder<SELF>> extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractKafkaClient<?>
build()
SELF
withCertificateAuthorityCertificateName(String caCertName)
SELF
withClusterName(String clusterName)
SELF
withConsumerGroupName(String consumerGroup)
SELF
withConsumerProperties(ConsumerProperties consumerProperties)
SELF
withKafkaUsername(String kafkaUsername)
SELF
withListenerName(String listenerName)
SELF
withMessageCount(int messageCount)
SELF
withNamespaceName(String namespaceName)
SELF
withPartition(Integer partition)
SELF
withProducerProperties(ProducerProperties producerProperties)
SELF
withSecretPrefix(String secretPrefix)
SELF
withSecurityProtocol(org.apache.kafka.common.security.auth.SecurityProtocol securityProtocol)
SELF
withTopicName(String topicName)
-
-
-
Method Detail
-
withMessageCount
public SELF withMessageCount(int messageCount)
-
withSecurityProtocol
public SELF withSecurityProtocol(org.apache.kafka.common.security.auth.SecurityProtocol securityProtocol)
-
withCertificateAuthorityCertificateName
public SELF withCertificateAuthorityCertificateName(String caCertName)
-
withProducerProperties
public SELF withProducerProperties(ProducerProperties producerProperties)
-
withConsumerProperties
public SELF withConsumerProperties(ConsumerProperties consumerProperties)
-
build
public AbstractKafkaClient<?> build() throws InstantiationException
- Throws:
InstantiationException
-
-