How do i update kafka config under spec.kafka.config #4581
Unanswered
superfly-git
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You just edit the Kafka custom resource to update them. Either using |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can i update an existing cluster configuration properties that are specified under spec.kafka.config .
For example i would like to update settings related to replication such as which now have value 1 specified in them.
default.replication.factor: 2
offsets.topic.replication.factor: 2
transaction.state.log.min.isr: 2
transaction.state.log.replication.factor: 2
From the kafka docs i can see that these values are read-only https://kafka.apache.org/documentation/#brokerconfigs_default.replication.factor
Does that mean i will need to destroy and recreate the cluster from scratch. One thing to be noted is that i use ephemeral storage for both the zookeeper and the braker nodes so any recreation of the cluster will require recreation of the topics as well.
Beta Was this translation helpful? Give feedback.
All reactions