How to use KRaft? #7672
-
I'm wondering how to create topics when using the KRaft mode? I've watched the strimzi vlog on the subject, which doesn't help very much. It uses auto-creation of topics to get its job done (and it shows an error message despite the fact that it works). I really want to use the crds to create my topics, because I want to control the partitions, replicas, and compacted status. How do I do that without the topic operator? Or, do I have to do it programmatically for now? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
You can do it programatically using the Kafka Admin API or the Kafka CLI tools which are based on it (such as |
Beta Was this translation helpful? Give feedback.
-
Hello. Starting from a scenario in which we are already using a previous version of strimzi (0.27.0), what would be the strimzi roadmap or plan to upgrade to the kraft version starting from an existing cluster? |
Beta Was this translation helpful? Give feedback.
-
I mean if there is going to be a plan to upgrade previous versions of strimzi in a production environment to new versions that include kraft and how this upgrade should be done. |
Beta Was this translation helpful? Give feedback.
You can do it programatically using the Kafka Admin API or the Kafka CLI tools which are based on it (such as
kafka-topic.sh
). The Topic Operator is unfortunately not supported in KRaft mode at this point.