devshawn / kafka-gitops

🚀Manage Apache Kafka topics and generate ACLs through a desired state file.

Home Page:https://devshawn.github.io/kafka-gitops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation around usage

gurpiarbassi opened this issue · comments

I feel the documentation is a little light around usage of kafka-gitops.
Can someone help answer the following questions?

  1. Is it possible to increase the number of partitions on an existing topic? I tried it and it detected no changes.

  2. Is it possible to decrease the number of partitions safely? what would happen if the topic contained records?

  3. Is it possible to rename a topic? What is the default behaviour here? Seems like a dangerous operation since it deletes the old topic and creates the new one.

So regarding your points:

  1. I don't believe kafka-gitops natively supports increasing partitions counts via changing the value within the application. Changing the partition count of a topic is a one-way road (i.e. you can only increase the partition count of a topic).
  2. As said above, in Kafka you can only ever increase the number of partitions.
  3. In Kafka, you can't change the name of a topic. Once a topic is made, it's a done deal.

@gurpiarbassi , on master you can increase partitions and manage replicas.

Best,
Jerome

Any idea when the next version will be released so we can have the ability to change partitions and replication?