From d6a720d6bcaabebf7836d1cd6a0fd2a8b55dcdc6 Mon Sep 17 00:00:00 2001 From: Mateusz Tracz Date: Thu, 12 Dec 2024 12:34:48 +0000 Subject: [PATCH] customer bill writer also to consume topics (#726) --- dev-aws/kafka-shared-msk/account-identity/account.tf | 2 ++ prod-aws/kafka-shared-msk/account-identity/account.tf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dev-aws/kafka-shared-msk/account-identity/account.tf b/dev-aws/kafka-shared-msk/account-identity/account.tf index 3b318383..8c9d7071 100644 --- a/dev-aws/kafka-shared-msk/account-identity/account.tf +++ b/dev-aws/kafka-shared-msk/account-identity/account.tf @@ -204,6 +204,8 @@ module "account_identity_account_api_v2" { module "account_identity_account_api_v2_customer_bill_writer" { source = "../../../modules/tls-app" + consume_topics = [kafka_topic.account_identity_account_events_v2.name] + consume_groups = ["account-identity.account-api-v2-customer-bill-writer"] produce_topics = [kafka_topic.account_identity_account_bill_writes_public.name] cert_common_name = "account-platform/account_api_v2_customer_bill_writer" } diff --git a/prod-aws/kafka-shared-msk/account-identity/account.tf b/prod-aws/kafka-shared-msk/account-identity/account.tf index d6c61752..70d3d932 100644 --- a/prod-aws/kafka-shared-msk/account-identity/account.tf +++ b/prod-aws/kafka-shared-msk/account-identity/account.tf @@ -204,6 +204,8 @@ module "account_identity_account_api_v2" { module "account_identity_account_api_v2_customer_bill_writer" { source = "../../../modules/tls-app" + consume_topics = [kafka_topic.account_identity_account_events_v2.name] + consume_groups = ["account-identity.account-api-v2-customer-bill-writer"] produce_topics = [kafka_topic.account_identity_account_bill_writes_public.name] cert_common_name = "account-platform/account_api_v2_customer_bill_writer" }