Skip to content

Commit

Permalink
make consumer benchmark 5x faster (#998)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhowlett authored Jun 28, 2019
1 parent 88813ff commit 1c05a0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Confluent.Kafka.Benchmark/BenchmarkConsumer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public static void BenchmarkConsumerImpl(string bootstrapServers, string topic,
GroupId = "benchmark-consumer-group",
BootstrapServers = bootstrapServers,
SessionTimeoutMs = 6000,
ConsumeResultFields = nHeaders == 0 ? "none" : "headers"
ConsumeResultFields = nHeaders == 0 ? "none" : "headers",
QueuedMinMessages = 1000000
};

using (var consumer = new ConsumerBuilder<Ignore, Ignore>(consumerConfig).Build())
Expand Down

0 comments on commit 1c05a0f

Please sign in to comment.