Initial Commit
This commit is contained in:
19
cluster/terraform/main.tf
Normal file
19
cluster/terraform/main.tf
Normal file
@@ -0,0 +1,19 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
kafka = {
|
||||
source = "Mongey/kafka"
|
||||
version = "0.7.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
provider "kafka" {
|
||||
bootstrap_servers = ["localhost:19092", "localhost:29092", "localhost:39092"]
|
||||
tls_enabled = false
|
||||
}
|
||||
|
||||
resource "kafka_topic" "logs" {
|
||||
name = "flowdata"
|
||||
replication_factor = 3
|
||||
partitions = 10
|
||||
}
|
||||
Reference in New Issue
Block a user