-
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
Added kafka topics for cards v2 architecture #703
Conversation
Terraform run output for
✅ Run Status: Ok, Run Summary: Plan: 6 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.card_deadletter_v1_internal will be created
+ resource "kafka_topic" "card_deadletter_v1_internal" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card-deadletter.v1.internal"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_deadletter_v1_internal_3ds will be created
+ resource "kafka_topic" "card_deadletter_v1_internal_3ds" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card-deadletter.v1.internal.3ds"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_deadletter_v1_internal_payment_methods will be created
+ resource "kafka_topic" "card_deadletter_v1_internal_payment_methods" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card-deadletter.v1.internal.payment-methods"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_v1_internal will be created
+ resource "kafka_topic" "card_v1_internal" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card.v1.internal"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_v1_internal_3ds will be created
+ resource "kafka_topic" "card_v1_internal_3ds" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card.v1.internal.3ds"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_v1_internal_payment_methods will be created
+ resource "kafka_topic" "card_v1_internal_payment_methods" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card.v1.internal.payment-methods"
+ partitions = 5
+ replication_factor = 3
}
Plan: 6 to add, 0 to change, 0 to destroy.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these v1 or v2 topics?
Using v1 flag for the new v2 topics could make it a bit confusing
|
Its more related to the proto I guess than to the architecture version |
Proto for the events on the topic is going to be v1, since these events do not exist yet |
Terraform run output for
✅ Run Status: Ok, Run Summary: Apply complete! Resources: 6 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.card_deadletter_v1_internal will be created
+ resource "kafka_topic" "card_deadletter_v1_internal" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card-deadletter.v1.internal"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_deadletter_v1_internal_3ds will be created
+ resource "kafka_topic" "card_deadletter_v1_internal_3ds" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card-deadletter.v1.internal.3ds"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_deadletter_v1_internal_payment_methods will be created
+ resource "kafka_topic" "card_deadletter_v1_internal_payment_methods" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card-deadletter.v1.internal.payment-methods"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_v1_internal will be created
+ resource "kafka_topic" "card_v1_internal" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card.v1.internal"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_v1_internal_3ds will be created
+ resource "kafka_topic" "card_v1_internal_3ds" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card.v1.internal.3ds"
+ partitions = 5
+ replication_factor = 3
}
# kafka_topic.card_v1_internal_payment_methods will be created
+ resource "kafka_topic" "card_v1_internal_payment_methods" {
+ config = {
+ "cleanup.policy" = "delete"
+ "compression.type" = "zstd"
+ "local.retention.ms" = "172800000"
+ "remote.storage.enable" = "true"
+ "retention.bytes" = "-1"
+ "retention.ms" = "2592000000"
}
+ id = (known after apply)
+ name = "payment-platform.card.v1.internal.payment-methods"
+ partitions = 5
+ replication_factor = 3
}
Plan: 6 to add, 0 to change, 0 to destroy.
kafka_topic.card_deadletter_v1_internal_3ds: Creating...
kafka_topic.card_v1_internal: Creating...
kafka_topic.card_v1_internal_3ds: Creating...
kafka_topic.card_deadletter_v1_internal_payment_methods: Creating...
kafka_topic.card_v1_internal_payment_methods: Creating...
kafka_topic.card_deadletter_v1_internal: Creating...
kafka_topic.card_deadletter_v1_internal_3ds: Creation complete after 1s [id=payment-platform.card-deadletter.v1.internal.3ds]
kafka_topic.card_v1_internal: Creation complete after 1s [id=payment-platform.card.v1.internal]
kafka_topic.card_v1_internal_3ds: Creation complete after 1s [id=payment-platform.card.v1.internal.3ds]
kafka_topic.card_deadletter_v1_internal_payment_methods: Creation complete after 2s [id=payment-platform.card-deadletter.v1.internal.payment-methods]
kafka_topic.card_deadletter_v1_internal: Creation complete after 2s [id=payment-platform.card-deadletter.v1.internal]
kafka_topic.card_v1_internal_payment_methods: Creation complete after 2s [id=payment-platform.card.v1.internal.payment-methods]
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: 6 added, 0 changed, 0 destroyed.
|
No description provided.