-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Is Kafka with KRaft supported? #290
Comments
Hi @A1EF yes, Kraft should be supported. it looks like your cluster doesn't not have enough memory ? |
Thank you for answer! It's test single node kafka without any data. Total 2GB RAM and default heap size (1GB). And I can't create even simpe topic with 1 partition and 1 replication factor. Anyway, I increased total RAM to 8GB and heap to 4 and didn't help either. Is it not anought for this task? |
I can't speak for your setup, but I am unable to replicate. I have confirmed that the following KRaft setup works.
terraform {
required_providers {
kafka = {
source = "Mongey/kafka"
}
}
}
provider "kafka" {
bootstrap_servers = ["localhost:9092"]
tls_enabled = false
}
resource "kafka_topic" "syslog" {
name = "syslog"
replication_factor = 1
partitions = 4
config = {
"segment.ms" = "4000"
"retention.ms" = "86400000"
}
}
|
@mileswilson thanks you very much! It was my fault. I just added |
I have a single node with KRaft instead ZooKeeper and I can't to create this simple example topic.
My
tf
file:terraform plan
show no errors:But when I try to apply it just stuck:
I see in kafka log:
The text was updated successfully, but these errors were encountered: