Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
njlr opened this issue Apr 21, 2023 · 2 comments
Open

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

njlr opened this issue Apr 21, 2023 · 2 comments
Labels
hacktoberfest https://hacktoberfest.com/

Comments

@njlr
Copy link

njlr commented Apr 21, 2023

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

To Reproduce

  • Create a topic with some replication factor
  • Apply (succeed)
  • Change the replication factor
  • Apply
  • Execution will succeed, but the replication factor is not changed

Expected behavior

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

Runtime environment

  • Jikkou: 0.16.0 (Docker)
  • Docker version: 20.10.21 baeda1f
  • Kafka Cluster Version: 3.3.2 (Amazon MSK)
@njlr njlr changed the title Changing the replciation factor does no result in an altered topic Changing the replication factor does no result in an altered topic Apr 21, 2023
@fhussonnois
Copy link
Member

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

@Rediska47
Copy link

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

@fhussonnois fhussonnois added the hacktoberfest https://hacktoberfest.com/ label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest https://hacktoberfest.com/
Projects
None yet
Development

No branches or pull requests

3 participants