Initial Commit

This commit is contained in:
2024-06-22 16:04:18 +02:00
commit 829aec9157
8 changed files with 318 additions and 0 deletions

19
cluster/terraform/main.tf Normal file
View 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
}