AMQ Streams - Intermittently it is observed that topics are not recreated.
Issue
- We are facing an issue regarding Kafka Topic creation. In detail we creating an Topic, deleting it and trying to create excact the same topic as we deleted before.
- In topic operator logs we see
oc logs my-cluster-entity-operator-869d5bd6-jd22j -c topic-operator
[2020-08-06 07:04:54,166] ERROR <opicOperator:1374> [oop-thread-0] Error reconciling KafkaTopic kafka-cluster-prd/some-topic
io.strimzi.operator.topic.ReplicationFactorChangeException: Changing 'spec.replicas' is not supported. This KafkaTopic's 'spec.replicas' should be reverted to 1 and then the replication should be changed directly in Kafka.
at io.strimzi.operator.topic.TopicOperator.update3Way(TopicOperator.java:699) ~[io.strimzi.topic-operator-0.18.0.redhat-00003.jar:0.18.0.redhat-00003]
at io.strimzi.operator.topic.TopicOperator.reconcile(TopicOperator.java:596) ~[io.strimzi.topic-operator-0.18.0.redhat-00003.jar:0.18.0.redhat-00003]
at io.strimzi.operator.topic.TopicOperator.lambda$getKafkaAndReconcile$36(TopicOperator.java:1369) ~[io.strimzi.topic-operator-0.18.0.redhat-00003.jar:0.18.0.redhat-00003]
at io.vertx.core.Future.lambda$compose$3(Future.java:360) ~[io.vertx.vertx-core-3.8.5.redhat-00005.jar:3.8.5.redhat-00005]
at io.vertx.core.impl.FutureImpl.dispatch(FutureImpl.java:107) ~[io.vertx.vertx-core-3.8.5.redhat-00005.jar:3.8.5.redhat-00005]
at io.vertx.core.impl.FutureImpl.tryComplete(FutureImpl.java:152) ~[io.vertx.vertx-core-3.8.5.redhat-00005.jar:3.8.5.redhat-00005]
Environment
- Red Hat AMQ Streams
- 1.5.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.