Uses of Class
io.strimzi.test.container.StrimziKafkaCluster.StrimziKafkaClusterBuilder
-
Uses of StrimziKafkaCluster.StrimziKafkaClusterBuilder in io.strimzi.test.container
Methods in io.strimzi.test.container that return StrimziKafkaCluster.StrimziKafkaClusterBuilderModifier and TypeMethodDescriptionStrimziKafkaCluster.StrimziKafkaClusterBuilder.withAdditionalKafkaConfiguration(Map<String, String> additionalKafkaConfiguration) Adds additional Kafka configuration parameters.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withDedicatedRoles()Configures the cluster to use dedicated controller and broker nodes instead of combined-role nodes.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withInternalTopicReplicationFactor(int internalTopicReplicationFactor) Sets the internal topic replication factor for Kafka brokers.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withKafkaVersion(String kafkaVersion) Specifies the Kafka version to be used for the brokers in the cluster.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withLogCollection()Fluent method to enable log collection with a default log file path.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withLogCollection(String logFilePath) Fluent method to enable log collection for all containers in the cluster with a custom log file path.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withNumberOfBrokers(int brokersNum) Sets the number of Kafka brokers in the cluster.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withNumberOfControllers(int controllersNum) Sets the number of dedicated controller nodes when using combined roles.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withProxyContainer(org.testcontainers.containers.ToxiproxyContainer proxyContainer) Sets aToxiproxyContainerto simulate network conditions such as latency or disconnection.StrimziKafkaCluster.StrimziKafkaClusterBuilder.withSharedNetwork()Enables a shared Docker network for the Kafka cluster.