streamthoughts / jikkou

The Open source Resource as Code framework for Apache Kafka. Jikkou helps you implement GitOps for Kafka at scale!
https://www.jikkou.io/
Apache License 2.0
211 stars 21 forks source link

Changing the replication factor does no result in an altered topic #170

Open njlr opened 1 year ago

njlr commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce

Expected behavior

The replication factor should be changed or an error should be returned if the change is impossible

Runtime environment

fhussonnois commented 1 year ago

Hi @njlr, this feature is currently not supported yet.

Rediska47 commented 1 year ago

I have the same problem and just want to add an example of apply log: TASK [NONE] Unchanged topic 'my-first-topic' (partitions=6, replicas=2, configs=[cleanup.policy=compact]) - OK { "status" : "OK", "changed" : false, "failed" : false, "end" : 1695387876733, "data" : { "name" : "my-first-topic", "partitions" : { "after" : 6, "before" : 6, "changeType" : "NONE" }, "replicas" : { "after" : 2, "before" : 1, "changeType" : "UPDATE" }, "configs" : { "cleanup.policy" : { "after" : "compact", "before" : "compact", "changeType" : "NONE" } }, "changeType" : "NONE" } } EXECUTION in 40ms ok : 1, created : 0, altered : 0, deleted : 0 failed : 0

There are different replicas in "before" and "after" but no changes applied. It was run in docker image. Jikkou version "0.27.0" 2023-09-06 JVM: 17.0.8 (Oracle Corporation Substrate VM 17.0.8+9-LTS) Docker version 19.03.1, build 74b1e89