-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: DENA-424 - add config for kafka connect #741
Conversation
Terraform run output for
✅ Run Status: Ok, Run Summary: Plan: 7 to add, 0 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# kafka_topic.connect_configs will be created
+ resource "kafka_topic" "connect_configs" {
+ config = {
+ "cleanup.policy" = "compact"
+ "compression.type" = "zstd"
}
+ id = (known after apply)
+ name = "dev-enablement.connect-configs"
+ partitions = 1
+ replication_factor = 3
}
# kafka_topic.connect_offsets will be created
+ resource "kafka_topic" "connect_offsets" {
+ config = {
+ "cleanup.policy" = "compact"
+ "compression.type" = "zstd"
}
+ id = (known after apply)
+ name = "dev-enablement.connect-offsets"
+ partitions = 25
+ replication_factor = 3
}
# kafka_topic.connect_status will be created
+ resource "kafka_topic" "connect_status" {
+ config = {
+ "cleanup.policy" = "compact"
+ "compression.type" = "zstd"
}
+ id = (known after apply)
+ name = "dev-enablement.connect-status"
+ partitions = 5
+ replication_factor = 3
}
# module.kafka_connect_full_internal_topics.kafka_acl.group_acl["dev-enablement.kafka-connect-group"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.kafka-connect-group"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-configs"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.connect-configs"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-offsets"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.connect-offsets"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-status"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.connect-status"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 7 to add, 0 to change, 0 to destroy.
|
Terraform run output for
✅ Run Status: Ok, Run Summary: Plan: 2 to add, 0 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.kafka_connect_read_legacy_account_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.kafka-connect-group"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.kafka_connect_read_legacy_account_events.kafka_acl.topic_acl["account-identity.legacy.account.events"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "account-identity.legacy.account.events"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 2 to add, 0 to change, 0 to destroy.
|
Terraform run output for
✅ Run Status: Ok, Run Summary: Plan: 2 to add, 0 to change, 0 to destroy.Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.kafka_connect_read_service_status_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.kafka-connect-group"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.kafka_connect_read_service_status_events.kafka_acl.topic_acl["customer-proposition.service-status.events.v3"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "customer-proposition.service-status.events.v3"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 2 to add, 0 to change, 0 to destroy.
|
Terraform run output for
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 7 added, 0 changed, 0 destroyedTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# kafka_topic.connect_configs will be created
+ resource "kafka_topic" "connect_configs" {
+ config = {
+ "cleanup.policy" = "compact"
+ "compression.type" = "zstd"
}
+ id = (known after apply)
+ name = "dev-enablement.connect-configs"
+ partitions = 1
+ replication_factor = 3
}
# kafka_topic.connect_offsets will be created
+ resource "kafka_topic" "connect_offsets" {
+ config = {
+ "cleanup.policy" = "compact"
+ "compression.type" = "zstd"
}
+ id = (known after apply)
+ name = "dev-enablement.connect-offsets"
+ partitions = 25
+ replication_factor = 3
}
# kafka_topic.connect_status will be created
+ resource "kafka_topic" "connect_status" {
+ config = {
+ "cleanup.policy" = "compact"
+ "compression.type" = "zstd"
}
+ id = (known after apply)
+ name = "dev-enablement.connect-status"
+ partitions = 5
+ replication_factor = 3
}
# module.kafka_connect_full_internal_topics.kafka_acl.group_acl["dev-enablement.kafka-connect-group"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.kafka-connect-group"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-configs"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.connect-configs"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-offsets"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.connect-offsets"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
# module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-status"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.connect-status"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 7 to add, 0 to change, 0 to destroy.
module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-offsets"]: Creating...
module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-status"]: Creating...
kafka_topic.connect_offsets: Creating...
kafka_topic.connect_status: Creating...
kafka_topic.connect_configs: Creating...
module.kafka_connect_full_internal_topics.kafka_acl.group_acl["dev-enablement.kafka-connect-group"]: Creating...
module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-configs"]: Creating...
module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-status"]: Creation complete after 0s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Topic|dev-enablement.connect-status|Literal]
module.kafka_connect_full_internal_topics.kafka_acl.group_acl["dev-enablement.kafka-connect-group"]: Creation complete after 0s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Group|dev-enablement.kafka-connect-group|Literal]
module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-configs"]: Creation complete after 0s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Topic|dev-enablement.connect-configs|Literal]
module.kafka_connect_full_internal_topics.kafka_acl.topic_acl["dev-enablement.connect-offsets"]: Creation complete after 0s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Topic|dev-enablement.connect-offsets|Literal]
kafka_topic.connect_status: Creation complete after 1s [id=dev-enablement.connect-status]
kafka_topic.connect_offsets: Creation complete after 1s [id=dev-enablement.connect-offsets]
kafka_topic.connect_configs: Creation complete after 1s [id=dev-enablement.connect-configs]
Warning: Argument is deprecated
with provider["registry.terraform.io/mongey/kafka"],
on __env.tf line 12, in provider "kafka":
12: provider "kafka" {
This parameter is now deprecated and will be removed in a later release,
please use `client_key` instead.
(and one more similar warning elsewhere)
Apply complete! Resources: 7 added, 0 changed, 0 destroyed.
|
Terraform run output for
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 2 added, 0 changed, 0 destroyedTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.kafka_connect_read_service_status_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.kafka-connect-group"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.kafka_connect_read_service_status_events.kafka_acl.topic_acl["customer-proposition.service-status.events.v3"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "customer-proposition.service-status.events.v3"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 2 to add, 0 to change, 0 to destroy.
module.kafka_connect_read_service_status_events.kafka_acl.topic_acl["customer-proposition.service-status.events.v3"]: Creating...
module.kafka_connect_read_service_status_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"]: Creating...
module.kafka_connect_read_service_status_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"]: Creation complete after 1s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Group|dev-enablement.kafka-connect-group|Literal]
module.kafka_connect_read_service_status_events.kafka_acl.topic_acl["customer-proposition.service-status.events.v3"]: Creation complete after 1s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Topic|customer-proposition.service-status.events.v3|Literal]
Warning: Argument is deprecated
with provider["registry.terraform.io/mongey/kafka"],
on __env.tf line 12, in provider "kafka":
12: provider "kafka" {
This parameter is now deprecated and will be removed in a later release,
please use `client_cert` instead.
(and one more similar warning elsewhere)
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
|
Terraform run output for
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 2 added, 0 changed, 0 destroyedTerraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.kafka_connect_read_legacy_account_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"] will be created
+ resource "kafka_acl" "group_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "dev-enablement.kafka-connect-group"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Group"
}
# module.kafka_connect_read_legacy_account_events.kafka_acl.topic_acl["account-identity.legacy.account.events"] will be created
+ resource "kafka_acl" "topic_acl" {
+ acl_host = "*"
+ acl_operation = "Read"
+ acl_permission_type = "Allow"
+ acl_principal = "User:CN=dev-enablement/kafka-connect"
+ id = (known after apply)
+ resource_name = "account-identity.legacy.account.events"
+ resource_pattern_type_filter = "Literal"
+ resource_type = "Topic"
}
Plan: 2 to add, 0 to change, 0 to destroy.
module.kafka_connect_read_legacy_account_events.kafka_acl.topic_acl["account-identity.legacy.account.events"]: Creating...
module.kafka_connect_read_legacy_account_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"]: Creating...
module.kafka_connect_read_legacy_account_events.kafka_acl.topic_acl["account-identity.legacy.account.events"]: Creation complete after 0s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Topic|account-identity.legacy.account.events|Literal]
module.kafka_connect_read_legacy_account_events.kafka_acl.group_acl["dev-enablement.kafka-connect-group"]: Creation complete after 0s [id=User:CN=dev-enablement/kafka-connect|*|Read|Allow|Group|dev-enablement.kafka-connect-group|Literal]
Warning: Argument is deprecated
with provider["registry.terraform.io/mongey/kafka"],
on __env.tf line 12, in provider "kafka":
12: provider "kafka" {
This parameter is now deprecated and will be removed in a later release,
please use `client_key` instead.
(and one more similar warning elsewhere)
Apply complete! Resources: 2 added, 0 changed, 0 destroyed.
|
Using kafka connect to consume from particular topics
customer-proposition.service-status.events.v3
- for account to service(s) mappingaccount-identity.legacy.account.events
- for denormalising the account model