Skip to content

Commit

Permalink
Bump partitions for throughput example
Browse files Browse the repository at this point in the history
And match the number of partitions between the source and producing
target. We want to experiment with a best-case concurrent setup
  • Loading branch information
matthewhughes-uw committed Nov 29, 2024
1 parent 73a05e2 commit c22aa1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-aws/kafka-shared-msk/pubsub/pubsub-test-throughput.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "kafka_topic" "pubsub_throughput_test" {
name = "pubsub.throughput-test"
replication_factor = 3
partitions = 10
partitions = 15
config = {
# keep on each partition 9.8GiB
"retention.bytes" = "10485760000"
Expand All @@ -18,7 +18,7 @@ resource "kafka_topic" "pubsub_throughput_test" {
resource "kafka_topic" "pubsub_throughput_test_out" {
name = "pubsub.throughput-test-out"
replication_factor = 3
partitions = 2
partitions = 15
config = {
# we don't really care about the data on this topic, don't bother keeping
# much around
Expand Down

0 comments on commit c22aa1a

Please sign in to comment.