Skip to content

Commit

Permalink
Using another principal without quota for throughput test (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbuliarca committed Mar 14, 2024
1 parent 076f26e commit c74bd6a
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions dev-aws/kafka-shared/dev-enablement/pubsub-test-throughput.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,21 @@ module "example_producer_throughput" {
cert_common_name = "dev-enablement/example-producer"
}

module "example_process_individually_consumer_throughput" {
source = "../../../modules/tls-app"
consume_topics = [(kafka_topic.pubsub_throughput_test.name)]
consume_groups = ["dev-enablement.consume-throughput-indiv"]
cert_common_name = "dev-enablement/example-consume-process-individually"
consumer_byte_rate = 10485760
resource "kafka_acl" "throughput_consumer_group_acl" {
resource_name = "dev-enablement.consume-throughput-batch"
resource_type = "Group"
acl_principal = "User:CN=dev-enablement/throughput-test-consumer"
acl_host = "*"
acl_operation = "Read"
acl_permission_type = "Allow"
}

module "example_process_batch_consumer_throughput" {
source = "../../../modules/tls-app"
consume_topics = [(kafka_topic.pubsub_throughput_test.name)]
consume_groups = ["dev-enablement.consume-throughput-batch"]
cert_common_name = "dev-enablement/example-consume-process-batch"
consumer_byte_rate = 10485760
resource "kafka_acl" "throughput_consumer_topic_acl" {
resource_name = kafka_topic.pubsub_throughput_test.name
resource_type = "Topic"
acl_principal = "User:CN=dev-enablement/throughput-test-consumer"
acl_host = "*"
acl_operation = "Read"
acl_permission_type = "Allow"
}

0 comments on commit c74bd6a

Please sign in to comment.