diff --git a/zio-kafka-bench/src/main/scala/zio/kafka/bench/ConsumerBenchmark.scala b/zio-kafka-bench/src/main/scala/zio/kafka/bench/ConsumerBenchmark.scala index 2695b05cb..4d893295d 100644 --- a/zio-kafka-bench/src/main/scala/zio/kafka/bench/ConsumerBenchmark.scala +++ b/zio-kafka-bench/src/main/scala/zio/kafka/bench/ConsumerBenchmark.scala @@ -19,7 +19,7 @@ import java.util.concurrent.TimeUnit class ConsumerBenchmark extends ZioBenchmark[Kafka with Producer] { val topic1 = "topic1" val nrPartitions = 6 - val nrMessages = 50000 + val nrMessages = 100000 val kvs: List[(String, String)] = List.tabulate(nrMessages)(i => (s"key$i", s"msg$i")) override protected def bootstrap: ZLayer[Any, Nothing, Kafka with Producer] = diff --git a/zio-kafka-bench/src/main/scala/zio/kafka/bench/comparison/ComparisonBenchmark.scala b/zio-kafka-bench/src/main/scala/zio/kafka/bench/comparison/ComparisonBenchmark.scala index 8640adf6d..682242cce 100644 --- a/zio-kafka-bench/src/main/scala/zio/kafka/bench/comparison/ComparisonBenchmark.scala +++ b/zio-kafka-bench/src/main/scala/zio/kafka/bench/comparison/ComparisonBenchmark.scala @@ -21,7 +21,7 @@ trait ComparisonBenchmark extends ZioBenchmark[Env] { protected final val nrPartitions: Int = 6 protected final val topicPartitions: List[TopicPartition] = (0 until nrPartitions).map(TopicPartition(topic1, _)).toList - protected final val numberOfMessages: Int = 50000 + protected final val numberOfMessages: Int = 100000 protected final val kvs: Iterable[(String, String)] = Iterable.tabulate(numberOfMessages)(i => (s"key$i", s"msg$i")) private val javaKafkaConsumer: ZLayer[ConsumerSettings, Throwable, LowLevelKafka] =