Uses of Class
io.camunda.zeebe.qa.util.cluster.TestClusterBuilder
Packages that use TestClusterBuilder
-
Uses of TestClusterBuilder in io.camunda.zeebe.qa.util.cluster
Methods in io.camunda.zeebe.qa.util.cluster that return TestClusterBuilderModifier and TypeMethodDescriptionstatic TestClusterBuilderTestCluster.builder()Returns a new cluster builderTestClusterBuilder.useRecordingExporter(boolean useRecordingExporter) If true, registers theRecordingExporterfor each broker.TestClusterBuilder.withBrokerConfig(BiConsumer<MemberId, TestStandaloneBroker> modifier) Sets the configuration function that will be executed in thebuild()method on each broker.TestClusterBuilder.withBrokerConfig(Consumer<TestStandaloneBroker> modifier) Sets the configuration function that will be executed in thebuild()method on each broker.TestClusterBuilder.withBrokersCount(int brokersCount) The number of brokers to create in this cluster.TestClusterBuilder.withEmbeddedGateway(boolean useEmbeddedGateway) If true, the brokers created by this cluster will use embedded gateways.TestClusterBuilder.withGatewayConfig(BiConsumer<MemberId, TestGateway<?>> modifier) Sets the configuration function that will be executed in thebuild()method on each gateway (including embedded gateways).TestClusterBuilder.withGatewayConfig(Consumer<TestGateway<?>> modifier) Sets the configuration function that will be executed in thebuild()method on each gateway (including embedded gateways).TestClusterBuilder.withGatewaysCount(int gatewaysCount) The number of standalone gateway to create in this cluster.Sets the name of the cluster.TestClusterBuilder.withNodeConfig(Consumer<TestApplication<?>> modifier) Sets the configuration function that will be executed in thebuild()method on both brokers and gateways (embedded gateways included).TestClusterBuilder.withPartitionsCount(int partitionsCount) Will set the number of partitions to distribute across the cluster.TestClusterBuilder.withReplicationFactor(int replicationFactor) Sets the replication factor for each partition in the cluster.