devshawn / kafka-gitops

🚀Manage Apache Kafka topics and generate ACLs through a desired state file.
https://devshawn.github.io/kafka-gitops
Apache License 2.0
320 stars 71 forks source link

Documentation around usage #83

Open gurpiarbassi opened 2 years ago

gurpiarbassi commented 2 years ago

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.

fireydagostino commented 2 years ago

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.
jrevillard commented 2 years ago

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

Best, Jerome

MichaelBeausoleil commented 2 years ago

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