Uses of Class
io.strimzi.test.container.StrimziKafkaContainer
-
Uses of StrimziKafkaContainer in io.strimzi.test.container
Methods in io.strimzi.test.container that return StrimziKafkaContainerModifier and TypeMethodDescriptionStrimziKafkaContainer.waitForRunning()Fluent method, which sets a waiting strategy to wait until the node is ready.StrimziKafkaContainer.withAuthenticationType(AuthenticationType authType) Sets the authentication type for the Kafka container.StrimziKafkaContainer.withBootstrapServers(Function<StrimziKafkaContainer, String> provider) Fluent method, assign provider for overriding bootstrap servers stringStrimziKafkaContainer.withKafkaConfigurationMap(Map<String, String> kafkaConfigurationMap) Fluent method, which setskafkaConfigurationMap.StrimziKafkaContainer.withKafkaLog(org.apache.logging.log4j.Level level) Configures the Kafka container to use the specified logging level for Kafka logs and theio.strimzilogger.StrimziKafkaContainer.withKafkaVersion(String kafkaVersion) Fluent method, which setskafkaVersion.StrimziKafkaContainer.withLogCollection()Fluent method to enable log collection with a default log file path.StrimziKafkaContainer.withLogCollection(String logFilePath) Fluent method to enable log collection for all containers in the cluster with a custom log file path.StrimziKafkaContainer.withNodeId(int nodeId) Fluent method that sets the node ID.StrimziKafkaContainer.withNodeRole(KafkaNodeRole nodeRole) Fluent method to set the Kafka node role.StrimziKafkaContainer.withOAuthConfig(String realm, String clientId, String clientSecret, String oauthUri, String usernameClaim) Fluent method to configure OAuth settings.StrimziKafkaContainer.withPort(int fixedPort) Fluent method, which sets fixed exposed port.StrimziKafkaContainer.withProxyContainer(org.testcontainers.toxiproxy.ToxiproxyContainer proxyContainer) Fluent method, which sets a proxy container.StrimziKafkaContainer.withSaslPassword(String saslPassword) Fluent method to set the SASL PLAIN mechanism's password.StrimziKafkaContainer.withSaslUsername(String saslUsername) Fluent method to set the SASL PLAIN mechanism's username.Methods in io.strimzi.test.container that return types with arguments of type StrimziKafkaContainerModifier and TypeMethodDescriptionStrimziKafkaCluster.getBrokers()Returns the broker nodes.StrimziKafkaCluster.getControllers()Returns the controller nodes.StrimziKafkaCluster.getNodes()Returns the underlying GenericContainer instances for all Kafka nodes in the cluster.Method parameters in io.strimzi.test.container with type arguments of type StrimziKafkaContainerModifier and TypeMethodDescriptionStrimziKafkaCluster.StrimziKafkaClusterBuilder.withBootstrapServers(Function<StrimziKafkaContainer, String> provider) Assigns a provider function for overriding the bootstrap servers string for all broker nodes.StrimziKafkaContainer.withBootstrapServers(Function<StrimziKafkaContainer, String> provider) Fluent method, assign provider for overriding bootstrap servers stringStrimziKafkaCluster.StrimziKafkaClusterBuilder.withContainerCustomizer(Consumer<StrimziKafkaContainer> customizer) Assigns a customizer function to modify each Kafka container after its creation.